8.2high
mouse07410/asn1c: 1-byte Heap Out-of-Bounds Read in `INTEGER_decode_oer` via Malformed OER Payload
- Severity
- 8.2high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.20% (higher than 9% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
Description
mouse07410/asn1c is an ASN.1 compiler. In 1.4 and earlier, a memory safety vulnerability was identified in the OER decoding skeleton files generated by asn1c (specifically INTEGER_oer.c). When parsing a maliciously crafted, zero-length OER payload for a variable-length, non-negative INTEGER type, the decoder fails to validate the required bytes before extracting the Most Significant Bit (MSB). This forces a precise 1-byte Heap Out-of-Bounds (OOB) Read. Because asn1c generated code is primarily deployed to parse untrusted network inputs (such as V2X network protocols, 5G telecom headers, or X.509 certificates), when the decoder processes untrusted network-originated input, a remote attacker can exploit this to cause a Denial of Service (DoS) or trigger incorrect integer interpretation in downstream applications (e.g., protocol state poisoning or logic bypass).
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| mouse07410 asn1c | <= 1.4 | CVE List |
Classification
What each source says
CVE List
mouse07410/asn1c is an ASN.1 compiler. In 1.4 and earlier, a memory safety vulnerability was identified in the OER decoding skeleton files generated by asn1c (specifically INTEGER_oer.c). When parsing a maliciously crafted, zero-length OER payload for a variable-length, non-negative INTEGER type, the decoder fails to validate the required bytes before extracting the Most Significant Bit (MSB). This forces a precise 1-byte Heap Out-of-Bounds (OOB) Read. Because asn1c generated code is primarily deployed to parse untrusted network inputs (such as V2X network protocols, 5G telecom headers, or X.509 certificates), when the decoder processes untrusted network-originated input, a remote attacker can exploit this to cause a Denial of Service (DoS) or trigger incorrect integer interpretation in downstream applications (e.g., protocol state poisoning or logic bypass).
NVD (es)
mouse07410/asn1c es un compilador ASN.1. En 1.4 y versiones anteriores, se identificó una vulnerabilidad de seguridad de memoria en los archivos esqueleto de decodificación OER generados por asn1c (específicamente INTEGER_oer.c). Al analizar una carga útil OER de longitud cero, creada maliciosamente, para un tipo INTEGER de longitud variable y no negativo, el decodificador no valida los bytes requeridos antes de extraer el Bit Más Significativo (MSB). Esto fuerza una lectura fuera de límites de la pila (OOB) de 1 byte precisa. Debido a que el código generado por asn1c se implementa principalmente para analizar entradas de red no confiables (como protocolos de red V2X, encabezados de telecomunicaciones 5G o certificados X.509), cuando el decodificador procesa entradas originadas en la red no confiables, un atacante remoto puede explotar esto para causar una Denegación de Servicio (DoS) o desencadenar una interpretación incorrecta de enteros en aplicaciones posteriores (p. ej., envenenamiento de estado de protocolo o bypass de lógica).
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-45615 changed 2026-05-29 | CVE Terms of Use |
| NVD | CVE-2026-45615 changed 2026-07-21 | Public domain |