PT-2026-65499 · Python+9 · Cpython+19
CVSS v4.0
2.0
Low
| Vector | AV:N/AC:H/AT:P/PR:H/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N |
Name of the Vulnerable Software and Affected Versions
The product name cannot be determined (affected versions not specified)
Description
Certain functions exhibit quadratic time complexity, denoted as
O(n^2), when processing XML documents containing numerous siblings with the same tag. This occurs specifically when using XPath index predicates such as [1], [last()], or [last()-N]. The affected functions include Element.findall() and fully-consumed Element.iterfind(). Additionally, Element.find() is impacted when the first match is located near the end of the sibling list, such as when using [last()] or [last()-N], although .//item[1] short-circuits after the first match.Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Cpython
Docbook5-Style-Xsl
Libpython
Pypy3
Python
Python-Min
Python2.7
Python3
Python 3.10
Python 3.11
Python 3.12
Python3.13
Python3.14
Python3.4
Python3.5
Python 3.6
Python 3.7
Python 3.8
Python 3.9
Python315