freenode

← CVE tracker

CVE-2026-144500

ASN1SCC before 4.7.0.1 Buffer Overflow via Oversized XER Element Content

Severity
critical CVSS 9.2 (v4.0)
Affects
asn1scc · esa
Weakness
CWE-120: Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')
Published
3 December 2026 by AISLE
ASN1SCC before 4.7.0.1 contains a buffer overflow vulnerability in Xer_DecodePrimitiveElement() in asn1crt/asn1crt_encoding_xer.c, the XER runtime that the compiler emits alongside generated C decoders, which copies the text content of an XML element into the caller's buffer until the next '<' without any length limit. The runtime decodes INTEGER, REAL, BOOLEAN, ENUMERATED, NULL, OCTET STRING, BIT STRING and OBJECT IDENTIFIER values through fixed stack buffers of 256 to 2048 bytes, and character strings directly into the decoded value. Attackers who supply crafted XER input to an application using decoders generated with -XER by an affected version can overflow these buffers with overlong element content, crashing the decoder or potentially executing code. Decoders generated by affected versions remain vulnerable until they are regenerated with a fixed version and rebuilt.

Our coverage

We have not written about this one. Know why it matters? Send a tip.