CVE-2025-6021
Libxml2: integer overflow in xmlbuildqname() leads to stack buffer overflow in libxml2
7.5
HIGH
CVSS 3.1
EPSS 2.1%
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.
How to fix CVE-2025-6021
To remediate CVE-2025-6021, upgrade the affected package to a fixed version below.
- —upgrade to 2.13.9-r0 or later
- —upgrade to 1.8.0 or later
- —upgrade to 1.8.0 or later
- —upgrade to 1.8.0 or later
- —upgrade to 2.9.10+dfsg-6.7+deb11u8 or later
Is CVE-2025-6021 being exploited?
Low — EPSS is 2.1%, meaning exploitation activity has not been observed at scale.
Affected packages (5)
- from 0, < 2.13.9-r0
- from 0, < 1.8.0, >= 1.9.0, < 8.0.481
- from 0, < 1.8.0, >= 1.9.0, < 8.0.481
- from 0, < 1.8.0, >= 1.9.0, < 8.0.481
- from 0, < 2.9.10+dfsg-6.7+deb11u8
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |