AZL-117649: CVE-2026-142207 affecting package PyYAML 6.0.1-1

Published Dec 2, 2026
·
Updated

PyYAML through 6.0.4 contains a denial of service vulnerability in SafeConstructor.constructyamlint() 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 safeload, SafeLoader, CSafeLoader or FullLoader, causing quadratic-time construction that blocks the parsing thread.

Affected Software

1 affected component
azure-linux/pyyaml<=6.0.1-1

Event History

Dec 2, 2026
Advisory Published
via OSV·05:17 PM
Data Sourced
via OSV·05:17 PM
DescriptionAffected Software

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

Which application paths are exposed to this denial of service?

Any application that parses attacker-controlled YAML using safe_load, SafeLoader, CSafeLoader, or FullLoader is exposed. The issue blocks the thread performing YAML parsing, so services that process uploaded, submitted, or remotely supplied YAML are the relevant attack surface.

2

What does an attacker need to send to trigger the problem?

The attacker needs to provide a YAML document containing a base-60 integer scalar with many colon-separated groups. No unsafe loader is required; the affected safe-loading APIs are included.

3

How can I determine whether my application may be affected?

Review code paths that accept YAML from remote or untrusted sources and identify use of safe_load, SafeLoader, CSafeLoader, or FullLoader. PyYAML through 6.0.4 is described as affected.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203