Description
mouse07410/asn1c is an ASN.1 compiler. Prior to 1.2.5, `OPEN TYPE` decoding can dereference an unallocated member pointer and crash the consuming program. `OPEN_TYPE_aper_get` in `OPEN_TYPE_aper.c`, `OPEN_TYPE_ber_get` in `OPEN_TYPE_ber.c`, `OPEN_TYPE_oer_get` in `OPEN_TYPE_oer.c`, and `OPEN_TYPE_uper_get` in `OPEN_TYPE_uper.c` share the pattern: a conditional null check on `*memb_ptr2` resets presence only when the member exists, but execution then unconditionally computes an inner value from that pointer and a member offset. If the `OPEN TYPE` member has not been allocated, the null-pointer arithmetic and subsequent read cause a segmentation fault. The advisory demonstrates UPER and APER crashes for `E2connectionUpdateAcknowledge`, notes that `E2AP` uses APER, and provides a BER reproducer; OER is also explicitly identified as affected. This issue is fixed in version 1.2.5.
Published: 2026-10-30
Score: 0 Low
EPSS: n/a
KEV: No
Impact: Denial of Service (Crash)
Action: Immediate Patch
AI Analysis

Impact

The flaw lies in the open‑type decoding routines of the asn1c compiler. Before version 1.2.5 the code performs a conditional null check on a member pointer but then unconditionally dereferences that pointer to calculate an offset. When the pointer is not initialized, the decoder performs null‑pointer arithmetic and a subsequent memory read, triggering a segmentation fault. This fault results in a crash of any program that uses the generated ASN.1 definitions, effectively denying service to that component.

Affected Systems

The vulnerability affects the open‑source ASN.1 compiler released by mouse07410. Any build of asn1c earlier than release 1.2.5 is susceptible. Systems that link against modules compiled with these earlier versions, or that parse ASN.1 data containing open types—such as E2AP, which uses APER encoding—are directly impacted. Upstream references note that BER and OER encodings are also affected.

Risk and Exploitability

No EPSS score and no KEV entry are available, so the probability of exploitation is unknown. The attack surface requires an attacker to supply crafted ASN.1 data that exercises the open‑type decode path, which the affected code handles in a deterministic and local manner. Although the flaw does not allow arbitrary code execution or data disclosure, the resulting crash can interrupt critical services, posing a moderate operational risk.

Generated by OpenCVE AI on October 30, 2026 at 21:06 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the asn1c compiler to version 1.2.5 or later, which removes the unsafe dereference in all open‑type decoding paths.
  • Recompile all ASN.1 modules in affected applications with the updated compiler to ensure that the defect is no longer present in the generated code.
  • Validate incoming ASN.1 payloads against the schema and implement bounds checks in the consuming application to guard against malformed data and to detect unexpected crashes early.

Generated by OpenCVE AI on October 30, 2026 at 21:06 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 30 Oct 2026 19:15:00 +0000

Type Values Removed Values Added
Description mouse07410/asn1c is an ASN.1 compiler. Prior to 1.2.5, `OPEN TYPE` decoding can dereference an unallocated member pointer and crash the consuming program. `OPEN_TYPE_aper_get` in `OPEN_TYPE_aper.c`, `OPEN_TYPE_ber_get` in `OPEN_TYPE_ber.c`, `OPEN_TYPE_oer_get` in `OPEN_TYPE_oer.c`, and `OPEN_TYPE_uper_get` in `OPEN_TYPE_uper.c` share the pattern: a conditional null check on `*memb_ptr2` resets presence only when the member exists, but execution then unconditionally computes an inner value from that pointer and a member offset. If the `OPEN TYPE` member has not been allocated, the null-pointer arithmetic and subsequent read cause a segmentation fault. The advisory demonstrates UPER and APER crashes for `E2connectionUpdateAcknowledge`, notes that `E2AP` uses APER, and provides a BER reproducer; OER is also explicitly identified as affected. This issue is fixed in version 1.2.5.
Title asn1c: ASAN crash with decode of open types
Weaknesses CWE-476
References
Metrics cvssV4_0

{'score': 0, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:N/SI:N/SA:N'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-10-30T22:15:29.845Z

Reserved: 2026-07-13T18:37:08.488Z

Link: CVE-2026-62298

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-10-30T19:18:33.027

Modified: 2026-10-30T19:39:14.897

Link: CVE-2026-62298

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-30T21:15:07Z

Weaknesses