Skip to main content
No exploitation reportedFix available

CVE-2025-12084

No exploitation reported by the sources we read.

  • Published2025-12-03
  • Fixed in3.14.2 · 3.13.11 · 3.12.13 · 3.11.15 · 3.10.20
  • WeaknessCWE-407

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

When building nested elements using xml.dom.minidom methods such as appendChild() that have a dependency on _clear_id_cache() the algorithm is quadratic. Availability can be impacted when building excessively nested documents.

Timeline

dates in UTC
  1. 2025-12-0319:15CVE publishedNVD

Versions per branch

NVD · OSV
Python
BranchAffectedFixed in
3.14≥ 3.14.0, < 3.14.23.14.2
3.13< 3.13.113.13.11
3.13≥ 3.13.0, < 3.13.113.13.11
3.12≥ 3.12.0, < 3.12.133.12.13
3.11≥ 3.11.0, < 3.11.153.11.15
3.10< 3.10.203.10.20
3.15= 3.15.0no fix published

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As PSF, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • Python Software Foundation CPythonother versions: not affected

    https://github.com/python/cpython

    Affected
    • < 3.10.20fixed in 3.10.20python
    • ≥ 3.11.0, < 3.11.15fixed in 3.11.15python
    • ≥ 3.12.0, < 3.12.13fixed in 3.12.13python
    • ≥ 3.13.0, < 3.13.11fixed in 3.13.11python
    • ≥ 3.14.0, < 3.14.2fixed in 3.14.2python
    • ≥ 3.15.0a1, < 3.15.0a3fixed in 3.15.0a3python

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2026-03-03

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • jythonUbuntu:18.04:LTSall versions · no fixed version listed
  • jythonUbuntu:16.04:LTSall versions · no fixed version listed
  • jythonDebian:14all versions · fixed in 2.7.4-1
  • platform-pythonTuxCare:CentOS:8.5all versions · fixed in 3.6.8-42.el8.tuxcare.els16and 7 other packages
  • platform-pythonTuxCare:CentOS:8.4all versions · fixed in 3.6.8-40.el8_4.tuxcare.els16and 7 other packages
  • platform-pythonRed Hat:rhel_tus:8.8::appstreamall versions · fixed in 0:3.6.8-51.el8_8.12and 7 other packages
  • platform-pythonRed Hat:rhel_tus:8.6::appstreamall versions · fixed in 0:3.6.8-47.el8_6.10and 7 other packages
  • platform-pythonRed Hat:rhel_eus_long_life:8.4::appstreamall versions · fixed in 0:3.6.8-39.el8_4.8and 7 other packages

205 more package ranges on OSV.dev

Vendor advisories

  • CVE-2025-12084 Red Hat Product Security1,377 products fixed · 76 known affected

    cpython: python: cpython: Quadratic algorithm in xml.dom.minidom leads to denial of service

    python as a component of Red Hat Enterprise Linux 6 · python-devel as a component of Red Hat Enterprise Linux 6 · python-libs as a component of Red Hat Enterprise Linux 6 · +73 more

  • RHSA-2026:8824 Red Hat Product Security15 products fixed

    Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update

  • RHSA-2026:8822 Red Hat Product Security15 products fixed

    Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update

  • RHSA-2026:7661 Red Hat Product Security31 products fixed

    Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update

  • RHSA-2026:7443 Red Hat Product Security19 products fixed

    Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update

  • RHSA-2026:4943 Red Hat Product Security3 products fixed

    Red Hat Security Advisory: Red Hat Update Infrastructure 5.1 security update

26 more advisories

Full record on NVD

Fix

  1. Update Python to 3.14.2 · 3.13.11 · 3.12.13 · 3.11.15 · 3.10.20
  2. Vendor fix Red Hat Product Security RHSA-2026:8824 · 15 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://images.redhat.com/
  3. Vendor fix Red Hat Product Security RHSA-2026:4943 · 3 productsThe container images provided by this release, apart from the installer, should be deployed using rhui-installer utility. See the official documentation for more details.
  4. Vendor fix Red Hat Product Security RHSA-2026:2713 · 64 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
  5. Vendor fix Red Hat Product Security RHSA-2026:1736 · 4 productsThe containers required to run Discovery can be installed through discovery-installer RPM. See the official documentation for more details.
  6. Workaround from the vendor Red Hat Product Security RHSA-2026:8824 · 15 productsMitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
CVSS 4.0 vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Published
2025-12-03
Last Modified
2026-06-17
NVD status
Modified
GitHub Advisory
GHSA-hfqx-732w-xrrw

Frequently asked questions

What is CVE-2025-12084?

When building nested elements using xml.dom.minidom methods such as appendChild() that have a dependency on _clear_id_cache() the algorithm is quadratic. Availability can be impacted when building excessively nested documents.

Is CVE-2025-12084 actively exploited?

Active exploitation of CVE-2025-12084 has not been confirmed. Its EPSS score was 0.9% on 2026-11-17, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2025-12084?

CVE-2025-12084 has a CVSS v3 base score of 5.3 (MEDIUM severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L.

Running Python? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record