CVE-2026-142207
PyYAML through 6.0.4 CPU Denial of Service via Sexagesimal Integer Construction
- Severity
- medium CVSS 6.9 (v4.0)
- Affects
- PyYAML
- Weakness
- CWE-407: Inefficient Algorithmic Complexity
- Published
- 2 December 2026 by VulnCheck
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.
Our coverage
We have not written about this one. Know why it matters? Send a tip.