CVE-2026-75615

ASN1SCC: Out-of-bounds read via unvalidated character index in ASN.1 string decoders

Published Nov 5, 2026 CVSS 3.1 · 5.3 Medium EPSS < 1% KEV · Not listed
Description
ASN1SCC is an open source ASN.1 compiler for embedded systems. Prior to 4.7.0.1, the ACN runtime function Acn_Dec_String_CharIndex_private in asn1crt/asn1crt_encoding_acn.c and the generated uPER decoder InternalItem_string_with_alpha_decode in StgC/uper_c.stg do not validate a decoded character index before reading allowedCharSet. For string alphabets whose size is not a power of two, a crafted message can select an unused encoded index, read a small bounded window of adjacent static program constants, and return the byte as a successfully decoded character. The full 128-character IA5String alphabet is not affected. This issue is fixed in version 4.7.0.1.

Analysis

AI-generated

Technical impact

ASN1SCC, an ASN.1 compiler for embedded systems, contains a flaw in the ACN runtime function Acn_Dec_String_CharIndex_private and the generated uPER decoder InternalItem_string_with_alpha_decode. The flaw allows a crafted ASN.1 message to provide a character index that is not validated before accessing the allowedCharSet array. The read is bounded to a small window of adjacent static program constants, but the byte returned is treated as a valid character. This results in an out‑of‑bounds read that could leak arbitrary data from the process memory, thereby compromising confidentiality. The vulnerability maps to CWE‑125 (Out‑of‑Bounds Read) and CWE‑129 (Improper Validation of Array Index).

Affected Systems

The issue affects the esa:asn1scc compiler, specifically versions released prior to 4.7.0.1. All builds generated by the compiler that include the referenced ACN runtime function or the uPER decoder are vulnerable. The full 128‑character IA5String alphabet is not affected, but any string alphabet whose size is not a power of two is potentially impacted.

Risk and Exploitability

The CVSS score of 5.3 indicates a moderate severity. EPSS data is not available, and the vulnerability is not listed in CISA’s KEV catalog, suggesting a lower likelihood of large‑scale exploitation. The likely attack surface is a system that receives untrusted ASN.1 messages—such as network services or embedded devices that decode external data—where sending a malicious payload could trigger the out‑of‑bounds read. The attacker could obtain sensitive data stored in adjacent memory, though no code execution or denial of service is reported in the description.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to ASN1SCC 4.7.0.1 or later, which removes the index validation flaw
  • If an upgrade is not immediately possible, recompile the compiler with the validation logic enabled or patch the source to add bounds checks before accessing allowedCharSet
  • Restrict the set of allowed string alphabets to sizes that are powers of two to mitigate the risk until a patch is available

Generated by OpenCVE AI on November 5, 2026 at 19:30 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Esa
Esa asn1scc
Vendors & Products Esa
Esa asn1scc
Type Values Removed Values Added
Description ASN1SCC is an open source ASN.1 compiler for embedded systems. Prior to 4.7.0.1, the ACN runtime function Acn_Dec_String_CharIndex_private in asn1crt/asn1crt_encoding_acn.c and the generated uPER decoder InternalItem_string_with_alpha_decode in StgC/uper_c.stg do not validate a decoded character index before reading allowedCharSet. For string alphabets whose size is not a power of two, a crafted message can select an unused encoded index, read a small bounded window of adjacent static program constants, and return the byte as a successfully decoded character. The full 128-character IA5String alphabet is not affected. This issue is fixed in version 4.7.0.1.
Title ASN1SCC: Out-of-bounds read via unvalidated character index in ASN.1 string decoders
Weaknesses CWE-125
CWE-129
References
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N'}

Weaknesses
  • CWE-125

    Out-of-bounds Read

  • CWE-129

    Improper Validation of Array Index

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Nov 9, 2026, 10:21 PM
Reserved
Aug 17, 2026, 11:49 PM
Status
Deferred
Published
Nov 5, 2026, 5:18 PM
Modified
Nov 12, 2026, 10:18 PM
Severity
Moderate
Public date
Nov 5, 2026, 4:49 PM