CVE-2025-6021 HIGH

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

Vendor Red Hat
Product Red Hat JBoss Core Services 2.4.62.SP2
Weakness CWE-787
Published June 12, 2025
Last update May 12, 2026

CVSS base score

7.5/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Confidentiality None
Integrity None

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

June 12, 2025 CVE published
May 12, 2026 Record updated