← CVE index
Vulnerability record/PUBLISHED/Published Jun 12, 2025 12:49:16 UTC

CVE-2025-6021

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.

Base score7.5/ 10
SeverityHighCVSS 3.1

Exploitability / impact

CVSS metric breakdown

Vector-derived attributes
Base severityHigh
Attack vectorNetworkAV
Attack complexityLowAC
Privileges requiredNonePR
User interactionNoneUI
ScopeUnchangedS
Confidentiality impactNoneC
Integrity impactNoneI
Availability impactHighA
CVSS vector stringCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

CVSS communicates standardized severity and impact characteristics. It does not establish whether a system is exploitable in your specific environment.

Record context

CVE Numbering Authorityredhat
Last updatedNov 5, 2026 16:32:27 UTC
PublishedJun 12, 2025 12:49:16 UTC
ReservedJun 12, 2025 05:52:54 UTC

Credits

  • Red Hat would like to thank Ahmed Lekssays for reporting this issue.