Buffer Overflow Detected in libxml2 Impacting Red Hat Programs
CVE-2025-6021

7.5HIGH

What is CVE-2025-6021?

A vulnerability exists in the xmlBuildQName function of libxml2, where improper calculations of buffer sizes due to integer overflows can result in a stack-based buffer overflow. Attackers can exploit this flaw by supplying specially crafted input, ultimately leading to memory corruption or causing a denial of service in applications using vulnerable versions of libxml2.

References

CVSS V3.1

Score:
7.5
Severity:
HIGH
Confidentiality:
None
Integrity:
None
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

Red Hat would like to thank Ahmed Lekssays for reporting this issue.
.
CVE-2025-6021 : Buffer Overflow Detected in libxml2 Impacting Red Hat Programs