Skip to main content

ASN1SCC EUVDEUVD-2026-117601

| CVE-2026-76077 HIGH
Classic Buffer Overflow (CWE-120)
2026-11-05 GitHub_M
8.1
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Deliver crafted XER message to decoder
  2. Delivery
    NT() tokenizer reached by XER decode path
  3. Exploit
    Overlong tag overflows char Value[100] on stack
  4. Execution
    Saved return address / adjacent stack corrupted
  5. Impact
    Memory disclosure, hang, crash, or potential code execution

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Buffer copy size validation
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The target application must parse attacker-supplied XER-encoded ASN.1 messages using asn1scc-generated runtime code prior to 4.7.0.1; because NT() is the single tokenizer used by every XER decode path, no XER type is safe and no special feature toggle is needed beyond using XER decoding. Concrete triggers are an XML tag name of 100+ characters (stack overflow write past char Value[100]) or a truncated/unterminated tag, '<?' processing instruction, or '<!--' comment (out-of-bounds read / CPU spin). No authentication or user interaction is required (PR:N/UI:N). LIMITING FACTORS: reliable code execution - as opposed to crash, hang, or single-byte memory leak - is constrained by stack canaries (the advisory describes only a 'controlled crash' where canaries are present and 'potential' code execution), and only deployments that actually use the XER encoding and feed it untrusted input are exposed.

Impact

Signals are mixed and point to a serious-but-not-emergency priority. The CVSS 3.1 vector (AV:N/AC:H/PR:N/UI:N, C:H/I:H/A:H = 8.1 High) describes a remote, unauthenticated flaw with no user interaction but high attack complexity, which matches the evidence: triggering a memory disclosure, crash or CPU spin is trivial, but the headline code-execution outcome requires overwriting the saved return address with an overlong tag and is explicitly described as only 'potential' and as a 'controlled crash where stack canaries are present', justifying AC:H. The vuln.today decision label is 'this_week' (not act_now/emergency). This is NOT in CISA KEV and no EPSS score was provided, so widespread or active exploitation cannot be asserted - exploitation status is 'no public exploit identified at time of analysis', though a PRIVATE proof-of-concept (ASan traces for both the stack overflow write and the truncated-payload OOB read) was shared with and confirmed by the maintainers. The real-world risk is tempered by the specialized deployment context (ASN.1/XER decoders in embedded and space systems) rather than a ubiquitous internet service: conflating the confirmed, maintainer-verified bug with 'weaponized' exploitation would overstate it. Net: a genuine, fully-confirmed vulnerability reachable from every XER decode path, worth prompt patching, but current public signals indicate no evidence of in-the-wild use, and EPSS/KEV data is MISSING rather than low.

Exploit ScenarioDerived

An attacker who can submit an XER-encoded ASN.1 message to a system built with vulnerable asn1scc-generated decoders sends a crafted message whose XML tag name exceeds 100 characters, overflowing the fixed char Value[100] buffer in NT() and corrupting the tokenizer's stack frame (adjacent-memory disclosure, crash, or potentially code execution). Alternatively, a truncated tag such as '<foo' with no closing '>' or an unterminated '<?'/'<!--' sequence drives an out-of-bounds read and a CPU spin, hanging the decoder and causing loss of command reception on an embedded target. A private, maintainer-confirmed PoC exists but is not publicly available; high attack complexity applies mainly to achieving reliable code execution, not to the easy DoS/leak paths.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 05, 2026

A stack buffer overflow and out-of-bounds read in the XER tokenizer NT() (asn1crt/asn1crt_encoding_xer.c) of ESA's open source ASN.1 compiler asn1scc, prior to 4.7.0.1, lets a remote unauthenticated attacker who can supply XER-encoded ASN.1 messages overwrite the decoder's stack frame with an XML tag name of 100 or more characters, or read past the end of the input with a truncated tag or unterminated '<?' or '<!--' sequence. Because NT() is the single tokenizer behind every XER decode path, any generated decoder that parses XER is exposed and no special feature toggle is required; outcomes range from adjacent-memory disclosure, stack corruption, crash and CPU spin (loss of command reception on embedded targets) to potential code execution, though the advisory describes only a controlled crash where stack canaries are present. No public exploit or working PoC is identified at time of analysis - a private proof-of-concept was shared with the maintainers, who confirmed the issue - and the vendor fix in 4.7.0.1 is available and was verified by the reporters.

RemediationAI

Upgrade asn1scc to 4.7.0.1 (https://github.com/esa/asn1scc/releases/tag/4.7.0.1), which contains commit fe6ab763bc60d8a2def4104c15414809b45fffd9 with the bounded write loop and the currentByte < count boundary checks throughout NT(); per the vendor advisory this patches the issue and was confirmed valid by the reporters. Because the flaw ships inside generated code, updating the compiler alone is not sufficient - downstream projects must regenerate their ASN.1 decoders with 4.7.0.1 or drop in the patched asn1crt/asn1crt_encoding_xer.c (and the other asn1crt files touched by the same commit) and rebuild, otherwise the vulnerable NT() remains in the deployed binary. Where updating is not immediately possible, the exposure is limited to deployments that actually decode XER from untrusted sources, so restricting untrusted input to non-XER encodings (or removing XER decode paths from the build) eliminates reachability of NT(), at the cost of changing the accepted wire format; building with stack canaries does not prevent the overflow but, per the advisory, reduces the 100+ character tag case to a controlled crash rather than return-address overwrite, and input length limiting reduces but does not remove the out-of-bounds read and CPU-spin cases. The advisory notes that no XER type is safe without the fix, so these measures are stopgaps rather than a substitute for upgrading and regenerating.

Affected VersionsENISA

asn1scc < 4.7.0.1

Affected Packages

euvd asn1scc fix: 4.7.0.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

ASN.1 XER (XML Encoding Rules) messages are decoded by the asn1crt C runtime that asn1scc generates for embedded targets, and NT() in asn1crt/asn1crt_encoding_xer.c is the only tokenizer used by all of those decode paths. The root cause class is CWE-120 (classic buffer overflow), with the advisory additionally classifying the write as CWE-787 (out-of-bounds write) and the reads as CWE-125 (out-of-bounds read): token characters are copied into a fixed 'char Value[100]' field with no length check, so a tag name of 100 or more characters writes past the end of the local token and over the stack frame of NT(); separately, reads of buf[currentByte] and 2/4-byte lookaheads are performed without verifying currentByte < count, so a truncated payload such as '<foo' with no closing '>' reads beyond the input, and unterminated '<?' or '<!--' sequences make the scanner advance without any boundary condition, producing an out-of-bounds read and a CPU spin. The fix commit fe6ab763bc60d8a2def4104c15414809b45fffd9 adds a 'written < sizeof(ret.Value) - 1' bound to the copy loop and pervasive currentByte < count checks before whitespace skipping and the processing-instruction and comment scans, and it also hardens unrelated UPER/ACN integer and char-index decoding paths. The CVSS vector (AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H) reflects network reachability with no privileges or user interaction, with AC:H capturing that reliable code execution is constrained by stack canaries and by whether the deployment feeds untrusted input to XER decoding.

Know when Asn1Scc gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 8.1 HIGH
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 8.1 HIGH

Remote untrusted XER input with no auth or interaction (AV:N/PR:N/UI:N); AC:H because reliable code execution must defeat stack canaries, while full C/I/A impact reflects disclosure, stack corruption, and hang/crash.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Red Hat 8.1 HIGH

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
Patch available
Nov 05, 2026 - 18:17 EUVD
CVE Published
Nov 05, 2026 - 16:49 cve.org
HIGH 8.1

DescriptionCVE.org

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.

Technical POC Analysis

The CVE is filed as CWE-120 (buffer copy without checking size of input); the advisory decomposes it into two independent defects in the same function, CWE-787 (out-of-bounds write) and CWE-125 (out-…

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

A high-severity memory-safety flaw in ESA's open-source asn1scc ASN.1 compiler (versions prior to 4.7.0.1) exposes any system that uses generated decoders to process XER-encoded messages to remote, unauthenticated attack. Because the vulnerable tokenizer underlies every XER decode path with no feature toggle required, affected products span embedded and ground-segment systems where crashes, memory disclosure, or potential code execution could degrade command reception and service availability. Leadership should care because exploitation requires only the ability to submit a malformed XER message, and no vendor patch is currently available.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: restrict or filter ingress of XER-encoded ASN.1 input and enforce strict message and XML tag-length limits at the perimeter; disable XER decoding in favor of fixed encodings (DER/PER) where the protocol allows; build decoders with stack canaries to convert corruption into a controlled crash; monitor for abnormal restarts or CPU spin on embedded targets; track the asn1scc 4.7.0.1 release and recompile affected decoders as soon as available.

Threat Intelligence Overview

EPSS Score
0.4%
Top 67% exploitable
Prevalence
Low
ESA ASN.1 compiler for embedded/space systems; niche, industry-specific footprint
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

40
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +40
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy