Skip to content
Medium 6.9

PyYAML through 6.0.4 CPU Denial of Service via Sexagesimal Integer Construction

CVE-2026-142207 First seen on SecPulse

Affected packages

PackageAffected → Fixed
PyYAMLPyYAML
≤ 6.0.4→ Not listed

This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.

Original description The description as published by the source.

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.

Source: CVE.org (CVE Program・cvelistV5) NVD

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details