Wiz Agents & Workflows are here

CVE-2025-12863
Linux Debian vulnerability analysis and mitigation

Overview

A use-after-free vulnerability was discovered in the xmlSetTreeDoc() function of the libxml2 XML parsing library. The vulnerability (CVE-2025-12863) was disclosed on November 7, 2025. The flaw affects the namespace handling logic when XML nodes are moved between documents. This vulnerability impacts applications using the libxml2 library for XML processing (NVD, Red Hat).

Technical details

The vulnerability occurs in the xmlSetTreeDoc() function when XML nodes with namespaces are moved between documents using xmlAddChild() or xmlReplaceNode(). The internal function xmlNodeSetDoc() updates the node's document pointer but fails to properly handle namespace references, causing a namespace pointer to remain linked to freed memory when the original document is destroyed. The vulnerability has been assigned a CVSS v3.1 base score of 7.5 (High) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, indicating it is network-accessible with low attack complexity and requires no privileges or user interaction (Snyk).

Impact

When exploited, the vulnerability can lead to a use-after-free condition during subsequent operations that access the namespace, such as serialization via xmlDocDumpMemory(). This can result in application crashes and denial of service conditions. The vulnerability primarily affects the availability of the system, with no direct impact on confidentiality or integrity (NVD, Red Hat Bugzilla).

Mitigation and workarounds

A fix has been released for some versions of libxml2. However, for CentOS 7, there is currently no fixed version available. Users are advised to monitor vendor notifications for security updates and patch availability (Snyk).

Additional resources


SourceThis report was generated using AI

Related Linux Debian vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-33986HIGH7.5
  • WolfiWolfi
  • freerdp-devel
NoYesMar 30, 2026
CVE-2026-33987HIGH7.1
  • WolfiWolfi
  • freerdp2
NoYesMar 30, 2026
CVE-2026-33995MEDIUM5.3
  • WolfiWolfi
  • libwinpr
NoYesMar 30, 2026
CVE-2026-34881MEDIUM5
  • Linux DebianLinux Debian
  • glance
NoYesMar 31, 2026
CVE-2026-33691N/AN/A
  • Linux DebianLinux Debian
  • modsecurity-crs
NoNoMar 31, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management