{"id":"CVE-2026-76077","state":"PUBLISHED","title":"ASN1SCC: Stack buffer overflow and out-of-bounds read in XER tokenizer NT()","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.","publishedAt":"2026-11-05T16:49:58.765Z","updatedAt":"2026-11-09T16:50:34.415Z","severity":{"score":8.1,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["esa asn1scc"],"affected":[{"vendor":"esa","product":"asn1scc","versions":[{"version":"< 4.7.0.1","status":"affected"}]}],"references":["https://github.com/esa/asn1scc/security/advisories/GHSA-38q3-fg5h-wwf9","https://github.com/esa/asn1scc/commit/fe6ab763bc60d8a2def4104c15414809b45fffd9","https://github.com/esa/asn1scc/releases/tag/4.7.0.1"],"weaknesses":["CWE-120","CWE-125","CWE-787"],"ingestedAt":"2026-11-09T16:58:06.684Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/76xxx/CVE-2026-76077.json","commit":"4775a94e6be56e158ef9805c93ee247fc36bc33d","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-76077","state":"PUBLISHED","datePublished":"2026-11-05T16:49:58.765Z","dateUpdated":"2026-11-09T16:50:34.415Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-08-18T21:17:32.199Z"},"containers":{"cna":{"title":"ASN1SCC: Stack buffer overflow and out-of-bounds read in XER tokenizer NT()","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"esa","product":"asn1scc","versions":[{"version":"< 4.7.0.1","status":"affected"}]}],"references":[{"url":"https://github.com/esa/asn1scc/security/advisories/GHSA-38q3-fg5h-wwf9","name":"https://github.com/esa/asn1scc/security/advisories/GHSA-38q3-fg5h-wwf9","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/esa/asn1scc/commit/fe6ab763bc60d8a2def4104c15414809b45fffd9","name":"https://github.com/esa/asn1scc/commit/fe6ab763bc60d8a2def4104c15414809b45fffd9","tags":["x_refsource_MISC"]},{"url":"https://github.com/esa/asn1scc/releases/tag/4.7.0.1","name":"https://github.com/esa/asn1scc/releases/tag/4.7.0.1","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8.1,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-120","lang":"en","description":"CWE-120: Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-125","lang":"en","description":"CWE-125: Out-of-bounds Read","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-787","lang":"en","description":"CWE-787: Out-of-bounds Write","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-11-05T16:49:58.765Z"},"source":{"advisory":"GHSA-38q3-fg5h-wwf9","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-11-09T16:12:28.472137Z","id":"CVE-2026-76077","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-11-09T16:50:34.415Z"}}]}}}