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.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-120",
"CWE-125",
"CWE-787"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/76xxx/CVE-2026-76077.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "4.7.0.1"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "fe6ab763bc60d8a2def4104c15414809b45fffd9"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "4.7.0.1",
"range": [
{
"fixed": "8437befc92eb04f20a47c38f4ac4742c0ff1617c"
}
],
"source": "REFERENCES_TAG"
}
]
}