CVE-2026-144500: ASN1SCC before 4.7.0.1 Buffer Overflow via Oversized XER Element Content

Published Dec 3, 2026
·
Updated

ASN1SCC before 4.7.0.1 contains a buffer overflow vulnerability in XerDecodePrimitiveElement() in asn1crt/asn1crtencodingxer.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.

Affected Software

1 affected component
European Space Agency ASN1SCC<4.7.0.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade ASN1SCC to a version that resolves this vulnerability.

    Fixed in 4.7.0.1
  2. Operational

    Regenerate decoders with the fixed ASN1SCC version and rebuild them; decoders generated by affected versions remain vulnerable until then.

Event History

Dec 3, 2026
CVE Published
via MITRE·11:33 PM
Data Sourced
via MITRE·11:33 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which applications are exposed to this issue?

Applications that accept attacker-controlled XER input and use C decoders generated with the -XER option by ASN1SCC versions before 4.7.0.1 are exposed. The affected XER runtime is emitted alongside generated decoders, so the application's embedded generated code is the relevant component.

2

What does an attacker need to exploit it?

An attacker needs to supply crafted XER/XML input to a vulnerable decoder. The element content must exceed the capacity of the buffer used by the decoded type before the decoder reaches the next '<' character.

3

Are existing builds fixed by upgrading ASN1SCC alone?

No. Decoders generated by affected versions remain vulnerable after the compiler is upgraded; they must be regenerated using a fixed version and the application must be rebuilt.

4

How can I determine whether a deployed application is affected?

Identify whether the application includes ASN1SCC-generated C decoders with XER support and accepts XER input. If those decoders were generated by a version before 4.7.0.1, they remain affected unless they have been regenerated and rebuilt with a fixed version.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203