Improper resource allocation In libxml2
Description
Uncontrolled recursion in XPath evaluation in libxml2 up to and including version 2.9.14 allows a local attacker to cause a stack overflow via crafted expressions. XPath processing functions xmlXPathRunEval, xmlXPathCtxtCompile, and xmlXPathEvalExpr were resetting recursion depth to zero before making potentially recursive calls. When such functions were called recursively this could allow for uncontrolled recursion and lead to a stack overflow. These functions now preserve recursion depth across recursive calls, allowing recursion depth to be controlled.
Mitigation
Update Impact
Minimal update. May introduce new vulnerabilities or breaking changes.
Ecosystem | Package | Affected version | Patched versions |
|---|---|---|---|
debian 11 | 2.9.10+dfsg-6.7+deb11u9 | ||
debian 12 | 2.9.14+dfsg-1.3~deb12u5 | ||
debian 13 | 2.12.7+dfsg+really2.9.14-2.1+deb13u2 | ||
debian 14 | 2.14.5+dfsg-0.1 | ||
rpm rhel7 | - | - | |
rpm rhel6 | - | - | |
rpm rhel8 | 0:2.9.7-21.el8_10.4 | ||
rpm rhel9 | 0:2.9.13-14.el9_7 | ||
rpm rhel9.4 | 0:2.9.13-13.el9_4 | ||
rpm rhel9.6 | 0:2.9.13-12.el9_6.1 |
1-10 of 11
10
Aliases