# CVE-2026-76077: ASN1SCC: Stack buffer overflow and out-of-bounds read in XER tokenizer NT()

- Severity: High 8.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.48%, higher than 43% of CVEs (2026-12-01)
- Published: 2026-11-05T16:49:58.765Z
- Modified: 2026-11-12T20:07:11.090Z
- Weaknesses: CWE-120, CWE-125, CWE-787
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

ASN1SCC is an open source ASN.1 compiler for embedded systems. Prior to 4.7.0.1, the XER tokenizer NT() in asn1crt/asn1crt_encoding_xer.c, which is reached by all XER decode paths, copies tag characters into a fixed char Value[100] field without a length bound and reads input and lookahead bytes without checking the buffer count. A crafted XER message with an overlong tag can overwrite the tokenizer's stack frame, while a truncated tag or unterminated processing-instruction or comment sequence can read beyond the input and may cause a CPU spin. The flaws can disclose adjacent memory, corrupt stack data, crash or hang the decoder, and potentially permit code execution. This issue is fixed in version 4.7.0.1.

(As written by CVE List.)

## Affected

- esa asn1scc: < 4.7.0.1

## References

- <https://github.com/esa/asn1scc/security/advisories/GHSA-38q3-fg5h-wwf9>
- <https://github.com/esa/asn1scc/commit/fe6ab763bc60d8a2def4104c15414809b45fffd9>
- <https://github.com/esa/asn1scc/releases/tag/4.7.0.1>

## Sources

- CVE List: [CVE-2026-76077](https://www.cve.org/CVERecord?id=CVE-2026-76077), CVE Terms of Use, modified 2026-11-09
- NVD: [CVE-2026-76077](https://nvd.nist.gov/vuln/detail/CVE-2026-76077), Public domain, modified 2026-11-12

---

Page: https://cve.day/CVE-2026-76077 · Whole record: https://cve.day/CVE-2026-76077.json · Rebuilt by cve.day 2026-11-25T22:59:49.138Z
