CVE-2025-9714

Publication date 4 September 2025

Last updated 12 September 2025


Ubuntu priority

Cvss 3 Severity Score

6.2 · Medium

Score breakdown

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.

Status

Package Ubuntu Release Status
libxml2 25.04 plucky
Fixed 2.12.7+dfsg+really2.9.14-0.4ubuntu0.3
24.04 LTS noble
Fixed 2.9.14+dfsg-1.3ubuntu3.5
22.04 LTS jammy
Fixed 2.9.13+dfsg-1ubuntu0.9
20.04 LTS focal
Fixed 2.9.10+dfsg-5ubuntu0.20.04.10+esm2
18.04 LTS bionic
Fixed 2.9.4+dfsg1-6.1ubuntu1.9+esm5
16.04 LTS xenial
Fixed 2.9.3+dfsg1-1ubuntu0.7+esm10
14.04 LTS trusty
Fixed 2.9.1+dfsg1-3ubuntu4.13+esm9

Get expanded security coverage with Ubuntu Pro

Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.

Get Ubuntu Pro 30-day free trial

Severity score breakdown

Parameter Value
Base score 6.2 · Medium
Attack vector Local
Attack complexity Low
Privileges required None
User interaction None
Scope Unchanged
Confidentiality None
Integrity impact None
Availability impact High
Vector CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References

Related Ubuntu Security Notices (USN)

    • USN-7743-1
    • libxml2 vulnerability
    • 10 September 2025

Other references