CVE-2024-7592

CVE-2024-7592: Quadratic complexity parsing cookies with backslashes

Vendor Python Software Foundation
Product CPython
Weakness CWE-400
Published August 19, 2024
Last update November 3, 2025

CVSS base score

What the vulnerability does

01Description

There is a LOW severity vulnerability affecting CPython, specifically the 'http.cookies' standard library module. When parsing cookies that contained backslashes for quoted characters in the cookie value, the parser would use an algorithm with quadratic complexity, resulting in excess CPU resources being used while parsing the value.

Key dates

02Disclosure timeline

August 19, 2024 CVE published
November 3, 2025 Record updated