Advisory

UBUNTU-CVE-2025-9714

Also known as: CVE-2025-9714

Summary

The record has no summary.

Details

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.

Severity

Medium Basis: CVSS v3 score 6.2, vector CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Dates

Published
2025-09-04 00:00 UTC
Modified
2026-04-22 16:16 UTC

Affected packages and fixes

libxml2

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 2.9.13+dfsg-1ubuntu0.9 (ecosystem)

Fixed versions

2.9.13+dfsg-1ubuntu0.9

Fix

  • Fixed version 2.9.13+dfsg-1ubuntu0.9
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

libxml2

Debian packages (deb) · Ubuntu 24.04

Affected

  • introduced 0, fixed 2.9.14+dfsg-1.3ubuntu3.5 (ecosystem)

Fixed versions

2.9.14+dfsg-1.3ubuntu3.5

Fix

  • Fixed version 2.9.14+dfsg-1.3ubuntu3.5
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences