CVE-2026-76077
published high CVSS 3.1 · 8.1ASN1SCC: Stack buffer overflow and out-of-bounds read in XER tokenizer NT()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| esa | — | asn1scc< 4.7.0.1 | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.1 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| esa | asn1scc | < 4.7.0.1 (affected) | GitHub_M · cna |
Weaknesses
3- CWE-120 CWE-120: Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')
- CWE-125 CWE-125: Out-of-bounds Read
- CWE-787 CWE-787: Out-of-bounds Write
References
3Provider assertions
2GitHub_M · cna
ASN1SCC: Stack buffer overflow and out-of-bounds read in XER tokenizer NT()
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 50da4b0bba584445311099340f7acfbbe7d16eedf4cd7febb67a2ef214dce76e
- Ingested
- 09 Nov 2026, 16:57:56 UTC
- Source record
- Official CVE record