All reports
Low

curl: Incorrect handling of control code characters in cookies

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2022-35252

Probability of exploitation in the next 30 days: 4.10%

FIRST EPSS · 2026-11-22

Description

When curl is used to retrieve and parse cookies from a HTTP(S) server, itaccepts cookies using control codes that when later are sent back to a HTTPserver might make the server return 400 responses. Effectively allowing a"sister site" to deny service to all siblings.

A vulnerability found in curl. This security flaw happens when curl is used to retrieve and parse cookies from an HTTP(S) server, where it accepts cookies using control codes (byte values below 32), and also when cookies that contain such control codes are later sent back to an HTTP(S) server, possibly causing the server to return a 400 response. This issue effectively allows a "sister site" to deny service to siblings and cause a denial of service attack.