CVE-2025-12084

Quadratic complexity in node ID cache clearing

MEDIUM
5.3
CVSS Score
Published: December 3, 2025 at 06:55 PM UTC
Updated: June 17, 2026 at 08:31 AM UTC
1 product affected across 1 vendorPython

Using CPython by Python Software Foundation?

Get instant alerts when new vulnerabilities affect CPython - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.3
Exploit prediction
EPSS 0.8%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 3.10.20v < 3.13.113.11.0 ≤ v < 3.11.153.12.0 ≤ v < 3.12.133.13.0 ≤ v < 3.13.113.14.0 ≤ v < 3.14.23.15.0a1 ≤ v < 3.15.0a33.11.03.12.03.13.03.14.03.15.0 alpha13.15.0 alpha23.15.0a1
Affected range stops below 3.10.20, so it looks safe — our inference, not a vendor statement
Affected range stops below 3.11.15, so it looks safe — our inference, not a vendor statement
Affected range stops below 3.12.13, so it looks safe — our inference, not a vendor statement
Affected range stops below 3.13.11, so it looks safe — our inference, not a vendor statement
Affected range stops below 3.14.2, so it looks safe — our inference, not a vendor statement
Affected range stops below 3.15.0a3, so it looks safe — our inference, not a vendor statement

SSVC — Action Prioritization

SSVCNo known exploitAutomatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
LOW
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-407

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card