Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessDeliver crafted XER message to decoder
-
DeliveryNT() tokenizer reached by XER decode path
-
ExploitOverlong tag overflows char Value[100] on stack
-
ExecutionSaved return address / adjacent stack corrupted
-
ImpactMemory 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
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.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.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
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.
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
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.
Out-of-bounds write in uPER/ACN decoders generated by the ESA ASN1SCC compiler before 4.7.0.1 lets a remote attacker cor
Out-of-bounds read in ASN1SCC-generated string decoders before 4.7.0.1 allows remote attackers to recover a small, bound
EUVD-2026-117601
NVD
CVE.org
EPSS
GitHub
Exploit-DB