P3 · MediumCVSS 5.3EPSS 0.9%
PyYAML through 6.0.4 CPU Denial of Service via Sexagesimal Integer Construction
- CVE-2026-142207
- GHSA-q489-h3j7-j39m
- EUVD-2026-141623
Description
PyYAML through 6.0.4 contains a denial of service vulnerability in SafeConstructor.construct_yaml_int() that allows remote attackers to exhaust CPU by supplying unbounded base-60 integer scalars. Attackers can submit a YAML document with a scalar containing many colon-separated groups to safe_load, SafeLoader, CSafeLoader or FullLoader, causing quadratic-time construction that blocks the parsing thread.
Text from the CVE.org record.
Recommendation
No source states a fixed version. Check the vendor advisory.
Affected
PyYAML
Affected versions Fixed in up to 6.0.4 none stated
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.