Ubuntu CVE Tracker
UBUNTU-CVE-2025-12084
Details
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 packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:Pro:14.04:LTS | python2.7 | All versions before 2.7.6-8ubuntu0.6+esm29 (fixed in 2.7.6-8ubuntu0.6+esm29) |
| Ubuntu:Pro:14.04:LTS | python3.4 | All versions before 3.4.3-1ubuntu1~14.04.7+esm19 (fixed in 3.4.3-1ubuntu1~14.04.7+esm19) |
| Ubuntu:Pro:14.04:LTS | python3.5 | All versions before 3.5.2-2ubuntu0~16.04.4~14.04.1+esm9 (fixed in 3.5.2-2ubuntu0~16.04.4~14.04.1+esm9) |
| Ubuntu:Pro:16.04:LTS | python2.7 | All versions before 2.7.12-1ubuntu0~16.04.18+esm19 (fixed in 2.7.12-1ubuntu0~16.04.18+esm19) |
| Ubuntu:Pro:16.04:LTS | python3.5 | All versions before 3.5.2-2ubuntu0~16.04.13+esm21 (fixed in 3.5.2-2ubuntu0~16.04.13+esm21) |
| Ubuntu:16.04:LTS | jython | All versions, no fix listed |
| Ubuntu:Pro:18.04:LTS | python2.7 | All versions before 2.7.17-1~18.04ubuntu1.13+esm14 (fixed in 2.7.17-1~18.04ubuntu1.13+esm14) |
| Ubuntu:Pro:18.04:LTS | python3.6 | All versions before 3.6.9-1~18.04ubuntu1.13+esm8 (fixed in 3.6.9-1~18.04ubuntu1.13+esm8) |
| Ubuntu:18.04:LTS | jython | All versions, no fix listed |
| Ubuntu:Pro:18.04:LTS | python3.7 | All versions before 3.7.5-2ubuntu1~18.04.2+esm9 (fixed in 3.7.5-2ubuntu1~18.04.2+esm9) |
| Ubuntu:Pro:18.04:LTS | python3.8 | All versions before 3.8.0-3ubuntu1~18.04.2+esm9 (fixed in 3.8.0-3ubuntu1~18.04.2+esm9) |
| Ubuntu:Pro:20.04:LTS | python3.8 | All versions before 3.8.10-0ubuntu1~20.04.18+esm5 (fixed in 3.8.10-0ubuntu1~20.04.18+esm5) |
| Ubuntu:20.04:LTS | jython | All versions, no fix listed |
| Ubuntu:20.04:LTS | pypy3 | All versions, no fix listed |
| Ubuntu:Pro:20.04:LTS | python3.9 | All versions before 3.9.5-3ubuntu0~20.04.1+esm9 (fixed in 3.9.5-3ubuntu0~20.04.1+esm9) |
| Ubuntu:22.04:LTS | jython | All versions, no fix listed |
| Ubuntu:22.04:LTS | pypy3 | All versions, no fix listed |
| Ubuntu:22.04:LTS | python3.10 | All versions before 3.10.12-1~22.04.14 (fixed in 3.10.12-1~22.04.14) |
| Ubuntu:Pro:22.04:LTS | python2.7 | All versions before 2.7.18-13ubuntu1.5+esm8 (fixed in 2.7.18-13ubuntu1.5+esm8) |
| Ubuntu:Pro:22.04:LTS | python3.11 | All versions before 3.11.0~rc1-1~22.04.1~esm8 (fixed in 3.11.0~rc1-1~22.04.1~esm8) |
| Ubuntu:24.04:LTS | jython | All versions, no fix listed |
| Ubuntu:24.04:LTS | pypy3 | All versions, no fix listed |
| Ubuntu:24.04:LTS | python3.12 | All versions before 3.12.3-1ubuntu0.11 (fixed in 3.12.3-1ubuntu0.11) |
| Ubuntu:25.10 | jython | All versions, no fix listed |
| Ubuntu:25.10 | pypy3 | All versions, no fix listed |
| Ubuntu:25.10 | python3.13 | All versions before 3.13.7-1ubuntu0.3 (fixed in 3.13.7-1ubuntu0.3) |
| Ubuntu:25.10 | python3.14 | All versions before 3.14.0-1ubuntu0.2 (fixed in 3.14.0-1ubuntu0.2) |
| Ubuntu:26.10 | jython | All versions, no fix listed |
| Ubuntu:26.10 | pypy3 | All versions, no fix listed |
| Ubuntu:26.04:LTS | jython | All versions, no fix listed |
| Ubuntu:26.04:LTS | pypy3 | All versions, no fix listed |