All advisories

Security advisoryCVE-2026-123202

libnxml before 0.18.6 Stack-based Buffer Overflow via long multi-byte XML name

Published:

Severity
High8.7
Vulnerability type
Stack-based Buffer Overflow (CWE-121)
Fixed in
libnxml 0.18.6
Credit
Discovered by Deus Rex Research
Published

CVSS 4.0 vector8.7 High

CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

CVSS 3.1 vector7.5 High

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

Description

libnxml before 0.18.6 contains a stack-based buffer overflow vulnerability in src/nxml_parser.c that allows remote attackers to write past a 1024-byte stack buffer via long XML names. Attackers can supply XML or RSS feeds with a 1022-character element, attribute, DOCTYPE or entity name ending in a multi-byte UTF-8 character to crash parsing applications.

Affected versions

libnxml< 0.18.6

Remediation

Fixed in libnxml 0.18.6. View the upstream fix (opens in a new tab)

References

Advisories may be reused freely, without charge or registration.

To report a vulnerability in Deus Rex, contact disclosure@cyrex.tech.