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

DevFeed: [CVE-2026-76077 - ASN1SCC: Stack buffer overflow and out-of-bounds read in XER tokenizer NT()](<https://devfeed.tech/articles/cve-2026-76077-asn1scc-stack-buffer-overflow-and-out-of-bounds-read-in-xer-tokenizer-nt-119395.md>)

Original publisher: [Read original article](<https://cvefeed.io/vuln/detail/CVE-2026-76077>)

Author: CVEFEED.io; github.com

Published: 2026-11-05T17:18:20Z

Content type: news

Language: en

Sources: [Latest High/Critical Vulnerabilitiy Feed](<https://devfeed.tech/sources/latest-high-critical-vulnerabilitiy-feed.md>)

Topics: [Memory Safety](<https://devfeed.tech/topics/memory-safety.md>)

Tags: [buffer](<https://devfeed.tech/tags/buffer.md>), [buffer-overflow](<https://devfeed.tech/tags/buffer-overflow.md>), [code-execution](<https://devfeed.tech/tags/code-execution.md>), [comment](<https://devfeed.tech/tags/comment.md>), [compiler](<https://devfeed.tech/tags/compiler.md>), [cpu](<https://devfeed.tech/tags/cpu.md>), [crash](<https://devfeed.tech/tags/crash.md>), [cve](<https://devfeed.tech/tags/cve.md>), [cve-2026-76077](<https://devfeed.tech/tags/cve-2026-76077.md>), [decode](<https://devfeed.tech/tags/decode.md>), [decoder](<https://devfeed.tech/tags/decoder.md>), [embedded-systems](<https://devfeed.tech/tags/embedded-systems.md>), [input](<https://devfeed.tech/tags/input.md>), [lookahead](<https://devfeed.tech/tags/lookahead.md>), [memory](<https://devfeed.tech/tags/memory.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [stack](<https://devfeed.tech/tags/stack.md>), [tag](<https://devfeed.tech/tags/tag.md>)

## AI overview

Before version 4.7.0.1, ASN1SCC's XER tokenizer NT() copies tag characters into a fixed 100-character stack buffer without a length check and reads input and lookahead bytes without checking the available buffer length. Crafted input with an overlong tag can overwrite stack data; truncated tags or unterminated processing instructions or comments can trigger out-of-bounds reads and may cause a CPU spin. The flaws may disclose adjacent memory, corrupt stack data, crash or hang the decoder, and potentially enable code execution. The issue is fixed in version 4.7.0.1.

## Source excerpt

CVE ID :CVE-2026-76077 Published : Nov. 5, 2026, 5:18 p.m. | 1 hour, 45 minutes ago 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. Severity: 8.1 | HIGH Visit the link for more details, such as CVSS details, affected products, timeline, and more...