CVE-2026-76077
Unbounded XER tag copy in ASN1SCC before 4.7.0.1
- CVSS 3.1
- 8.1 high
- EPSS
- —
- Published
- ·
- Modified
ASN1SCC's XER tokenizer copies tag characters into a fixed 100-byte buffer and reads input without a length check. Every XER decode path reaches it. A crafted message with an overlong tag can overwrite the tokenizer stack frame; a truncated tag or unterminated comment or processing instruction can read past the input and may spin the CPU. An attacker can disclose adjacent memory, corrupt stack data, crash or hang the decoder, and potentially run code. Versions before 4.7.0.1 are affected.
What to do: Upgrade ASN1SCC to 4.7.0.1, which fixes the XER tokenizer bounds checks.
| Product | Affected | Fixed in |
|---|---|---|
| ASN1SCC | prior to 4.7.0.1 | 4.7.0.1 |
Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.
Description · NVD
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.
- Weakness
- CWE-120, CWE-125, CWE-787
- Vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
In the news
0 storiesNo ingested article mentions this CVE yet.