CVE-2026-76077
Deferred Deferred - Pending Action

Stack-Based Buffer Overflow in ASN1SCC XER Tokenizer

Vulnerability report for CVE-2026-76077, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-05

Last updated on: 2026-11-12

Assigner: GitHub, Inc.

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-05
Last Modified
2026-11-12
Generated
2026-11-13
AI Q&A
2026-11-05
EPSS Evaluated
2026-11-12
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
esa asn1scc < 4.7.0.1

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-787 The product writes data past the end, or before the beginning, of the intended buffer.
CWE-120 The product copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer.
CWE-125 The product reads data past the end, or before the beginning, of the intended buffer.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is a stack buffer overflow and out-of-bounds read flaw in the ASN1SCC library before version 4.7.0.1. It occurs in the XER tokenizer NT() function, which processes XML Encoding Rules (XER) messages. The function copies tag characters into a fixed 100-byte buffer without length checks, allowing stack overflows for tags longer than 100 characters. It also reads input without verifying buffer boundaries, causing out-of-bounds reads for truncated or malformed payloads. This can lead to memory corruption, crashes, hangs, or potential code execution.

Detection Guidance

To detect this vulnerability, check the version of ASN1SCC installed on your system. If it is below 4.7.0.1, the system is vulnerable. Use commands like 'asn1scc --version' or inspect package managers for installed versions. Monitor network traffic for malformed XER messages with unusually long tags or truncated sequences.

Impact Analysis

This vulnerability can impact you by allowing remote attackers to corrupt stack memory, read sensitive data, or execute arbitrary code on systems using vulnerable versions of ASN1SCC. It may cause crashes, system hangs, or memory leaks, particularly affecting embedded devices. Since NT() is used in all XER decode operations, any application processing XER messages could be affected.

Compliance Impact

This vulnerability could impact compliance with GDPR and HIPAA by enabling unauthorized memory disclosure, data corruption, or code execution. A successful exploit may lead to unauthorized access to sensitive data processed by the ASN1SCC library, violating confidentiality requirements in both regulations. Additionally, system crashes or hangs could disrupt availability, a key concern for HIPAA's operational safeguards.

Mitigation Strategies

Immediately upgrade ASN1SCC to version 4.7.0.1 or later. Apply patches from the official release. If upgrading is not possible, restrict network access to systems using ASN1SCC to reduce exposure. Review and validate all XER input processing to ensure proper bounds checking.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-76077. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...