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.