CVE-2026-142207

Source
https://cve.org/CVERecord?id=CVE-2026-142207
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142207.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-142207
Published
2026-12-02T16:50:41Z
Modified
2026-12-02T23:45:30Z
Severity
  • 6.9 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N CVSS Calculator
Summary
PyYAML through 6.0.4 CPU Denial of Service via Sexagesimal Integer Construction
Details

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.

Database specific
{
    "cna_assigner":  "VulnCheck",
    "cwe_ids":  [
        "CWE-407"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142207.json"
}
References

Affected packages

Git / github.com/yaml/pyyaml

Affected ranges

Type
GIT
Repo
https://github.com/yaml/pyyaml
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last Affected
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "0"
                },
                {
                    "last_affected":  "6.0.4"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandardRange"
        }
    ]
}

Affected versions

3.*
3.12
4.*
4.1
4.1-retracted
5.*
5.1
5.1.1
5.1.2
5.2
5.2b1
5.3
5.3.1
5.3b1
5.4
5.4.1
6.*
6.0
6.0.1
6.0.2
6.0.2rc1
6.0.3
6.0.4
6.0b1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142207.json"