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?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « 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- 2025-12-0319:15CVE publishedNVD
Versions per branch
NVD · OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 3.14 | ≥ 3.14.0, < 3.14.2 | 3.14.2 | NVD · OSV |
| 3.13 | < 3.13.11 | 3.13.11 | NVD |
| 3.13 | ≥ 3.13.0, < 3.13.11 | 3.13.11 | OSV |
| 3.12 | ≥ 3.12.0, < 3.12.13 | 3.12.13 | OSV |
| 3.11 | ≥ 3.11.0, < 3.11.15 | 3.11.15 | OSV |
| 3.10 | < 3.10.20 | 3.10.20 | OSV |
| 3.15 | = 3.15.0 | no fix published | NVD |
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
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
Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update
Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update
Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update
Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update
Red Hat Security Advisory: Red Hat Update Infrastructure 5.1 security update
26 more advisories
Fix
- Update Python to 3.14.2 · 3.13.11 · 3.12.13 · 3.11.15 · 3.10.20
- 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/
- 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.
- 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
- 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.
- 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
- github.comPatch
- github.comPatch
- github.comPatch
- github.comPatch
- github.comPatch
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- PoC-in-GitHubno public repository identifiedread 2026-11-18
- Metasploit modules
- none listed Metasploit Framework
Sources
- CISA-ADPSSVC decisionnone2025-12-03
- CNACVSS 4.06.3known since 2026-10-23
- NVDCVSS 3.15.3read 2026-10-23
- CISA-ADPweakness (CWE)CWE-4072025-12-03
- FIRST EPSSEPSS score0.9 %2026-11-17
- OSVaffected packages—
- GitHub Advisoriesadvisory—
Identifiers
- AZL-109680same flawAzure Linux · MIT
- AZL-71441same flawAzure Linux · MIT
- AZL-71450same flawAzure Linux · MIT
- BIT-libpython-2025-12084same flawBitnami · Apache-2.0
- BIT-python-2025-12084same flawBitnami · Apache-2.0
- BIT-python-min-2025-12084same flawBitnami · Apache-2.0
- CGA-35rw-6q53-x7m2same flawChainguard · CC-BY-NC-ND-4.0
- CGA-44jj-4ww9-w2xcsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-4f2f-r7v3-fmvhsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-6pfm-fhm5-rm34same flawChainguard · CC-BY-NC-ND-4.0
- CGA-8vrx-7vq2-g26hsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-cfp2-57xj-7fv3same flawChainguard · CC-BY-NC-ND-4.0
- CGA-fcj3-hhw7-mmpcsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-j3jm-6r2q-m77vsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-q68h-jjfq-h3vqsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-q848-2r9r-7887same flawChainguard · CC-BY-NC-ND-4.0
- CGA-qvfv-fqfx-2rqpsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-xp24-h4x4-pc5wsame flawChainguard · CC-BY-NC-ND-4.0
- EUVD-2025-201088same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-hfqx-732w-xrrwsame flawGitHub Advisory Database · CC-BY-4.0
- MINI-57x9-p8jq-xcx4same flawMinimOS · LicenseRef-unstated
- MINI-5qjv-vqrg-x74xsame flawMinimOS · LicenseRef-unstated
- MINI-6688-3m9r-jjgwsame flawMinimOS · LicenseRef-unstated
- MINI-7635-9xr6-f493same flawMinimOS · LicenseRef-unstated
- MINI-8q2j-7gwq-mvv8same flawMinimOS · LicenseRef-unstated
- PSF-2025-16same flawPython Software Foundation · CC-BY-4.0
- ALSA-2026:0123advisory covering several CVEsAlmaLinux · MIT
- ALSA-2026:1374advisory covering several CVEsAlmaLinux · MIT
- ALSA-2026:1408advisory covering several CVEsAlmaLinux · MIT
- ALSA-2026:1410advisory covering several CVEsAlmaLinux · MIT
- ALSA-2026:1478advisory covering several CVEsAlmaLinux · MIT
- ALSA-2026:1631advisory covering several CVEsAlmaLinux · MIT
- ALSA-2026:1828advisory covering several CVEsAlmaLinux · MIT
- DLA-4445-1advisory covering several CVEsDebian · LicenseRef-unstated
- DLA-4455-1advisory covering several CVEsDebian · LicenseRef-unstated
- MGASA-2025-0324advisory covering several CVEsMageia · LicenseRef-unstated
- OESA-2026-1052advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2026-1053advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2026-1054advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2026-1055advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2026-1056advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2026-1057advisory covering several CVEsopenEuler · LicenseRef-unstated
- openSUSE-SU-2025:15839-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2025:15840-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2025:15846-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2025:15849-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2025:15850-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2025:15851-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2026:10011-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2026:20081-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
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?
Is CVE-2025-12084 actively exploited?
What is the CVSS score for CVE-2025-12084?
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
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-hfqx-732w-xrrw
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0