CVE-2025-6021

HIGH7.5EPSS 2.1%

Libxml2: integer overflow in xmlbuildqname() leads to stack buffer overflow in libxml2

Published: 6/12/2025Modified: 12/3/2025
Also known as:ALPINE-CVE-2025-6021

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 packages (5)

CVSS scores

SourceVersionSeverityVector
osvCVSS 3.1HIGH7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References (31)