CVE-2022-27779

medium
Published — · Modified —
CVSS v3
CVSS v2
VIR risk
5.5

Description

libcurl wrongly allows cookies to be set for Top Level Domains (TLDs) if thehost name is provided with a trailing dot.curl can be told to receive and send cookies. curl's "cookie engine" can bebuilt with or without [Public Suffix List](https://publicsuffix.org/)awareness. If PSL support not provided, a more rudimentary check exists to atleast prevent cookies from being set on TLDs. This check was broken if thehost name in the URL uses a trailing dot.This can allow arbitrary sites to set cookies that then would get sent to adifferent and unrelated site or domain.

Predictions

Exploit likelihood
20%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

vendor Authored 2026-05-27

Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2022-27779.html

vendor Authored 2026-05-27

Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2022-27779

OS impact

OSVersionStatusFixed in
arch archfixed7.83.1-1
debian debianbookwormfixed7.83.1-1
debian debianbullseyefixed0
debian debianforkyfixed7.83.1-1
debian debiansidfixed7.83.1-1
debian debiantrixiefixed7.83.1-1
suse slesaffected

References

Verify integrity in audit chain (admin only). AS-IS.