Skip to content
OpenAdvisories
Medium · 6.9 CVE-2026-142207 EUVD-2026-141623GHSA-q489-h3j7-j39m

PyYAML through 6.0.4 contains a denial of service vulnerability in SafeConstructor.construct_yaml_int() that allows remote attackers to exh…

Published Dec 2, 2026 · Assigned by VulnCheck

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.

Affected products

VendorProductAffectedFixed
Red Hat PyYAML 0 ≤6.0.4 —

References