External risk intelligence

ASN1SCC Out-of-Bounds Write in SequenceOf Decode

CVE advisorySeverity: CRITICAL (CVSS 9.2)

CVE-2026-144499

ASN1SCC is a code generation tool used to create XER decoders for ASN.1 data. While the generated decoders might process network-received data, the vulnerability exists within the generated source code rather than a specific internet-facing appliance or service. Exposure depends entirely on how a developer integrates the generated code into their specific application, making internet reachability possible but not guaranteed.

Out-of-bounds Write

Halo Surface Signal: 3 out of 5 — possibly public-facing.

External exposure likelihood

Horizon Alert

Summary of the vulnerability and why it matters

A vulnerability in ASN1SCC, a tool for generating code to decode ASN.1 data, could allow an attacker to corrupt memory or execute code by providing specially crafted input. This issue affects applications that use decoders generated by affected versions of ASN1SCC, and the vulnerability will persist until these decoders are regenerated with a fixed version and the application is rebuilt.

  • Code generation tool can be tricked.
  • Matters if your applications process external data.
  • Confirm exposure and regenerate code if affected.

Attack Path

How an attacker could exploit the issue

An attacker could target applications that use code generated by affected versions of ASN1SCC to parse ASN.1 data in the XML Encoding Rules (XER) format. By crafting an XER input with an excessive number of elements, an attacker could trigger an out-of-bounds write in the generated decoder. This memory corruption could lead to application crashes or potentially allow the attacker to execute arbitrary code.

  • Requires crafted XER input.
  • Vulnerable decoder processes malformed data.
  • Memory corruption or code execution.

Live Threat

Current exploitation, exposure, and threat context

When supported by the advisory, applications using decoders generated by affected versions of ASN1SCC could experience memory corruption or crashes when processing crafted XER input. This could lead to the execution of arbitrary code if an attacker supplies more elements than the SIZE constraint allows.

  • Adjacent memory corruption.
  • Crafted XER input provided.
  • Potential code execution.

Operational Fix

Recommended remediation, mitigation, and detection steps

The application owners and development teams responsible for applications that use XER decoders generated by ASN1SCC are likely to be responsible for addressing this vulnerability. The first practical step is to identify all instances where ASN1SCC-generated decoders are used, confirm if these applications process untrusted XER input, and then plan for regeneration and rebuilding of affected components.

  • Application owners must address.
  • Verify all XER decoder usage.
  • Regenerate and rebuild affected code.

Supplementary metadata

Validate whether this threat affects your internet-facing exposure.

Halo Threat Intelligence helps prioritize remediation with Halo Surface Signal and H/A/L/O context. Start exposure validation with a free external attack surface trial.

Frequently asked questions

What is ASN1SCC?

ASN1SCC is a specialized compiler for the ASN.1 data definition language. It is commonly used in high-integrity systems to automatically generate efficient C or Ada code capable of encoding and decoding data formats like XER. Developers rely on it to ensure their applications can correctly handle structured messages.

What does this CVE mean for my software?

This vulnerability is an out-of-bounds write, classified as CWE-787. It occurs because the generated decoder logic fails to verify if the number of elements in an XER input exceeds the predefined array size until after processing is finished. This flaw allows processed data to overflow its memory boundary, potentially corrupting adjacent data or impacting the execution flow of your program.

How is this vulnerability triggered?

An attacker triggers this by providing malformed XER input that contains more elements than the allowed SIZE constraint. If your application uses a decoder generated by an older version of ASN1SCC, it will attempt to write these excess elements into memory locations outside the intended array. Decoders that do not process XER, or that use correctly sized buffers within safe coding practices, are not affected by this specific template error.

Is my application at risk?

According to Halo Surface Signal, risk depends on how your application utilizes the generated code. Because the vulnerability lies within the source code created by the tool, simply using ASN1SCC does not automatically make you vulnerable. You are primarily at risk if your application uses a generated XER decoder to process untrusted, internet-facing data where an attacker can supply the crafted input.

How do I fix this issue?

The fix requires a two-step process because the vulnerability is embedded in the compiled code itself. First, update to a fixed version of the ASN1SCC tool. Second, you must regenerate the affected decoder source code using that newer version and then fully rebuild your final application to ensure the patched logic is implemented.

References