CVE-2026-144500 PUBLISHED

ASN1SCC before 4.7.0.1 Buffer Overflow via Oversized XER Element Content

Assigner: AISLE
Reserved: 03.12.2026 Published: 03.12.2026 Updated: 03.12.2026

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.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
CVSS Score: 9.2

Product Status

Vendor esa
Product asn1scc
Versions Default: unaffected
  • affected from 0 to 4.7.0.1 (excl.)

Credits

  • Stanislav Fort (AISLE Research) finder

References

Problem Types

  • Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') CWE