Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify asn1c-based OER endpoint
-
DeliveryCraft zero-length INTEGER OER payload
-
ExploitDeliver malformed message over network
-
ExecutionTrigger 1-byte heap OOB read in INTEGER_oer.c
-
PersistCrash process or poison integer field
-
ImpactAchieve DoS or downstream logic bypass
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation, allowlisting
|
| Exploitation Conditions | The target application must use a decoder generated by mouse07410/asn1c version 1.4 or earlier that includes the OER skeleton INTEGER_oer.c and parses a schema containing at least one variable-length non-negative INTEGER field reachable from untrusted input; the attacker then needs only network reach to that parser and the ability to deliver a single OER-encoded message with a zero-length value field for that INTEGER. No authentication, user interaction, or special privileges are required (PR:N/UI:N), and the schema condition is satisfied by the vast majority of real-world deployments since variable-length integers are pervasive in V2X, 5G NAS/NGAP, and X.509 grammars. Exploitation is limited to products that specifically use the OER codec - applications that compiled only BER/DER/PER decoders from the same asn1c version are not exposed via this code path. |
| Impact | The CVSS 3.1 vector AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H reflects an unauthenticated network-reachable bug that is trivial to trigger (single malformed TLV), with high availability impact and a low integrity impact stemming from the documented 'incorrect integer interpretation' side effect. EPSS and KEV data were not provided in the input, so probability of exploitation in the wild and active-exploitation status cannot be quantified here. The real-world risk is amplified by deployment context: asn1c-generated decoders sit on the untrusted edge of V2X roadside units, 5G control-plane elements, and PKI parsers, where a single malformed packet can DoS infrastructure or, more concerning, cause logic bypass through misinterpreted integer fields. This is a genuine priority for any product shipping asn1c-generated OER code paths, not merely a high-CVSS paper risk. |
| Exploit ScenarioDerived | An attacker on the network sends a single crafted OER-encoded message containing a variable-length non-negative INTEGER element with a zero-byte value field to any service whose parser was generated by asn1c <= 1.4, such as a 5G NF, a V2X roadside unit, or a certificate-validating endpoint. The decoder reads one byte past the allocated heap buffer, which most commonly crashes the process for a DoS but can also yield an attacker-controlled MSB that flips sign or magnitude in downstream business logic, producing protocol state poisoning or authorization bypass. No public exploit identified at time of analysis, though the trigger is small enough to reproduce from the advisory description alone. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 29, 2026
Heap out-of-bounds read in mouse07410/asn1c versions 1.4 and earlier allows remote attackers to crash applications or corrupt integer parsing logic by sending a zero-length OER payload for a variable-length non-negative INTEGER type. The generated INTEGER_oer.c skeleton extracts the Most Significant Bit without validating input length, and because asn1c-generated parsers are commonly deployed in V2X, 5G telecom, and X.509 stacks, the impact extends into safety- and identity-critical pipelines. No public exploit identified at time of analysis, but the trivial trigger condition makes weaponization straightforward.
RemediationAI
Upgrade asn1c to a release that includes the fix referenced in GHSA-wxx8-76rw-96j2 (https://github.com/mouse07410/asn1c/security/advisories/GHSA-wxx8-76rw-96j2); upstream fix available per the advisory, but a specific released patched version was not independently confirmed from the supplied data, so consult the advisory for the exact tag. Critically, regenerate and recompile every product that uses the asn1c-emitted skeletons because the vulnerable code is copied into downstream binaries - simply updating the compiler without rebuilding consumers leaves the bug in place. As a compensating control where immediate rebuilds are not possible, add an input-length pre-check in front of the OER INTEGER decoder (reject TLVs whose value field is zero bytes) or front the parser with a schema-aware proxy that drops malformed packets; the trade-off is the added latency and the risk of rejecting unusual but legitimate encodings on the wire.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
asn1c is a widely used compiler that translates ASN.1 schemas into C decoders for binary encodings such as BER, DER, OER, and PER. The defect lives in the generated OER (Octet Encoding Rules) skeleton INTEGER_oer.c, which handles variable-length non-negative INTEGER decoding by reading the MSB of the value buffer to determine sign extension behavior. The root cause maps to CWE-20 (Improper Input Validation): the decoder dereferences the first byte of the payload without first checking that at least one byte is present, so a length-zero TLV element causes a 1-byte heap OOB read past the allocated buffer. Per CPE cpe:2.3:a:mouse07410:asn1c:*, all distributed versions of this fork up through 1.4 emit vulnerable skeleton code, meaning every application built against those skeletons inherits the flaw at runtime.
Know when Asn1C gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H
Primary rating from Vendor (GitHub_M) · only source for this CVE.
CVSS VectorVendor: GitHub_M
DescriptionCVE.org
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).
Executive ViewAI
asn1c compiler versions 1.4 and earlier contain a heap out-of-bounds read vulnerability in OER payload parsing that affects generated code deployed in vehicle-to-everything (V2X), 5G telecommunications, and X.509 certificate validation systems. While no public exploit has been identified at time of analysis, the trivial trigger mechanism (zero-length OER payload) creates significant operational risk to safety- and identity-critical infrastructure, with potential for service disruption and data validation corruption.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) implement strict input validation enforcing minimum OER payload length before processing; (2) deploy network segmentation to restrict untrusted sources from reaching affected parsers; (3) enable real-time alerting on parsing errors and unexpected application termination; (4) maintain detailed forensic logs of all OER processing for incident response.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Integer overflow in the rtxMemHeapAlloc function in asn1rt_a.lib in Objective Systems ASN1C for C/C++ before 7.0.2 allow
The asn1f_lookup_symbol_impl function in asn1fix_retrieve.c in libasn1fix.a in asn1c 0.9.28 allows remote attackers to c
EUVD-2026-33314
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB