CVE-2025-12863

Published: November 8, 2025Last modified: November 16, 2025

Description

A flaw was found in the xmlSetTreeDoc() function of the libxml2 XML parsing library. This function is responsible for updating document pointers when XML nodes are moved between documents. Due to improper handling of namespace references, a namespace pointer may remain linked to a freed memory region when the original document is destroyed. As a result, subsequent operations that access the namespace can lead to a use-after-free condition, causing an application crash.

Severity score breakdown

ParameterValue
Base score7.5
Attack VectorNETWORK
Attack complexityLOW
Privileges requiredNONE
User interactionNONE
ScopeUNCHANGED
ConfidentialityNONE
Integrity impactNONE
Availability impactHIGH
VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Status

ProductReleasePackageStatus
Alpaquita Linux23 LTSlibxml2Vulnerable (2.10.3-r2)
25 LTSlibxml2Vulnerable (2.13.8-r0)
Streamlibxml2Vulnerable (2.10.3-r2)
Hardened Containers23 LTSlibxml2Vulnerable (2.10.3-r2)
Streamlibxml2Vulnerable (2.10.3-r2)

References

ON THIS PAGE