Home › Vulnerabilities › esa
ASN1SCC XER decoders exposed to two critical memory-corruption flaws before 4.7.0.1
Two critical flaws in ASN1SCC before 4.7.0.1 affect decoders generated with the -XER option, where crafted XER input can overflow memory during decoding. The records say affected decoders stay vulnerable until they are regenerated with a fixed version and rebuilt.
What to look into
- 2 vulnerabilities in esa asn1scc: 2 critical (CVSS up to 9.2).
- None of them is known to be exploited yet.
- Start with CVE-2026-144500 (9.2 critical): ASN1SCC XER Runtime Buffer Overflow (CVE-2026-144500) in XerDecodePrimitiveElement() Before 4.7.0.1. An attacker without an account can exploit this over the network, without any user action, but only under specific conditions.
- 2 of 2 can be attacked over the network without logging in, 2 of them without anyone clicking anything.
- Kinds of flaws: Buffer Copy without Checking Size of Input ('Classic Buffer Overflow'); Out-of-bounds Write.
Key points
- Two CRITICAL (CVSS 9.2) flaws in ASN1SCC before 4.7.0.1 affect XER decoders
- CVE-2026-144500: unbounded copy into fixed stack buffers in XerDecodePrimitiveElement()
- CVE-2026-144499: SEQUENCE OF decoding writes past the array before the SIZE check runs
- Affected decoders stay vulnerable until regenerated with a fixed version and rebuilt
Two memory-safety flaws in XER decoding
The batch contains two NVD records published on 2026-12-04, both rated CRITICAL with a CVSS score of 9.2. Both concern the XER runtime and generated decoders in ASN1SCC, and both fall into the same class of problem: input handling that does not enforce a bound on memory writes.
CVE-2026-144500 is a buffer overflow in XerDecodePrimitiveElement(), in asn1crt/asn1crtencodingxer.c. According to the record, the function copies an XML element's text into the caller's buffer until the next '<' with no length limit. INTEGER, REAL, BOOLEAN, ENUMERATED, NULL, OCTET STRING, BIT STRING and OBJECT IDENTIFIER values pass through fixed stack buffers of 256 to 2048 bytes, and character strings are written directly into the decoded value. The record says overlong content could crash the decoder or potentially execute code.
Out-of-bounds write in SEQUENCE OF decoding
CVE-2026-144499 sits in the SequenceOfdecode template in StgC/xerc.stg, which generates XER decoders for SEQUENCE OF types. The generated loop stores each element at arr[i] until the closing tag, and only after the loop ends does it compare the element count with the type's maximum size. Input with more elements than the SIZE constraint allows can therefore write past the end of a fixed-size array, according to the record, corrupting adjacent memory and possibly leading to a crash or code execution.
Who is affected
Both flaws apply to applications that use decoders generated with -XER by an affected version, which the records place before 4.7.0.1. The records state that such decoders remain vulnerable until they are regenerated with a fixed version and rebuilt, so the fix is not complete until the generated code is rebuilt. The sources do not say whether exploitation has been observed, and they give no workaround or detection guidance.
What to do
- Move to ASN1SCC 4.7.0.1 or later, since the records place the affected range before that version
- Regenerate every decoder built with -XER using the fixed version, then rebuild the applications that use them
- Treat XER input to affected applications as untrusted until the rebuilt decoders are deployed, as no workaround is given in the records
The 2 vulnerabilities
- CVE-2026-144500 9.2 ASN1SCC XER Runtime Buffer Overflow (CVE-2026-144500) in XerDecodePrimitiveElement() Before 4.7.0.1
- CVE-2026-144499 9.2 ASN1SCC before 4.7.0.1 contains an out-of-bounds write vulnerability in the SequenceOfdecode template in StgC/xerc.stg, which generates XER decoders for SEQUENCE OF types that store each decoded element at arr[i] in a loop running until th…
Frequently asked questions
How many esa asn1scc vulnerabilities were published on December 4, 2026?
2 vulnerabilities: 2 critical, with CVSS scores up to 9.2.
Are any of them being exploited?
None of them is in CISA's Known Exploited Vulnerabilities catalog yet.
Which one should be fixed first?
CVE-2026-144500 (CVSS 9.2): ASN1SCC XER Runtime Buffer Overflow (CVE-2026-144500) in XerDecodePrimitiveElement() Before 4.7.0.1.