What’s Vulnerable › Vulnerabilities

CVE-2025-6021: Libxml2: integer overflow in xmlbuildqname() leads to stack buffer overflow in libxml2

Description

A flaw was found in libxml2's xmlBuildQName function, where integer overflows in buffer size calculations can lead to a stack-based buffer overflow. This issue can result in memory corruption or a denial of service when processing crafted input.

Affected products

How to fix

Upgrade to a fixed version: xmlsoft libxml2 2.14.4. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-6021 or the next vulnerability affects your stack