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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.56% (percentile 40, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2026-10-30T18:56:59.029Z
- **Modified:** 2026-10-30T23:17:12.577Z

## Who should check

- Anyone running mouse07410 asn1c \< 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.

## Affected and fixed versions

- mouse07410 asn1c: \< 1.2.5 (cvelist)

## Mitigation

- Upgrade asn1c to 1.2.5 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-62298. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-62298.md
Affected: mouse07410 asn1c < 1.2.5
Fixed in: mouse07410 asn1c 1.2.5

Steps:
1. Search this machine and project for mouse07410 asn1c: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-62298 being exploited?

There is no confirmed exploitation: CVE-2026-62298 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.56% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-62298?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-62298?

mouse07410 asn1c \< 1.2.5.

### Is there a fix for CVE-2026-62298?

Yes. Fixed in mouse07410 asn1c 1.2.5. Upgrade asn1c to 1.2.5 or later.

### How do I check if I'm affected by CVE-2026-62298?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

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

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-62298>

HTML: <https://flawdb.com/CVE-2026-62298> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-62298>
