{"id":"CVE-2026-112021","state":"PUBLISHED","title":"snac2 before 2.93 Heap-Based Buffer Overflow via JSON Parser _xs_json_load_lexer()","description":"snac2 before 2.93 contains a heap-based buffer overflow vulnerability in _xs_json_load_lexer() that allows unauthenticated remote attackers to corrupt heap memory by sending JSON strings containing a \\u0000 escape. Attackers can send a single crafted application/activity+json POST to activitypub_post_handler(), which parses it before signature checks, overflowing heap allocations and crashing the server.","publishedAt":"2026-10-18T11:38:40.652Z","updatedAt":"2026-10-19T16:05:15.544Z","severity":{"score":8.7,"label":"High","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","source":"VulnCheck"},"assigner":"VulnCheck","products":["grunfink snac2"],"affected":[{"vendor":"grunfink","product":"snac2","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"2.93","versionType":"custom"}],"repo":"https://codeberg.org/grunfink/snac2"}],"references":["https://nullenvk.pl/posts/02-snac2-json","https://gist.github.com/nullenvk/2bf288e2d34cb3d4b7143e61dbf7d90b","https://codeberg.org/grunfink/snac2/src/tag/2.92/xs_json.h#L283-L285","https://codeberg.org/grunfink/snac2/commit/ec2c5c2046e0381bc942ec5d0d05ec861fe377e7","https://codeberg.org/grunfink/snac2/releases/tag/2.93","https://codeberg.org/grunfink/snac2","https://www.vulncheck.com/advisories/snac2-before-2.93-heap-based-buffer-overflow-via-json-parser-xs-json-load-lexer"],"weaknesses":["CWE-122"],"ingestedAt":"2026-10-29T20:10:43.281Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/112xxx/CVE-2026-112021.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-112021","state":"PUBLISHED","datePublished":"2026-10-18T11:38:40.652Z","dateUpdated":"2026-10-19T16:05:15.544Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-10-18T01:24:56.329Z"},"containers":{"cna":{"title":"snac2 before 2.93 Heap-Based Buffer Overflow via JSON Parser _xs_json_load_lexer()","descriptions":[{"lang":"en","value":"snac2 before 2.93 contains a heap-based buffer overflow vulnerability in _xs_json_load_lexer() that allows unauthenticated remote attackers to corrupt heap memory by sending JSON strings containing a \\u0000 escape. Attackers can send a single crafted application/activity+json POST to activitypub_post_handler(), which parses it before signature checks, overflowing heap allocations and crashing the server."}],"affected":[{"vendor":"grunfink","product":"snac2","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"2.93","versionType":"custom"}],"repo":"https://codeberg.org/grunfink/snac2"}],"references":[{"url":"https://nullenvk.pl/posts/02-snac2-json","tags":["technical-description"]},{"url":"https://gist.github.com/nullenvk/2bf288e2d34cb3d4b7143e61dbf7d90b","tags":["exploit"]},{"url":"https://codeberg.org/grunfink/snac2/src/tag/2.92/xs_json.h#L283-L285","tags":["technical-description"]},{"url":"https://codeberg.org/grunfink/snac2/commit/ec2c5c2046e0381bc942ec5d0d05ec861fe377e7","tags":["patch"]},{"url":"https://codeberg.org/grunfink/snac2/releases/tag/2.93","tags":["release-notes"]},{"url":"https://codeberg.org/grunfink/snac2","tags":["product"]},{"url":"https://www.vulncheck.com/advisories/snac2-before-2.93-heap-based-buffer-overflow-via-json-parser-xs-json-load-lexer","name":"VulnCheck Advisory: snac2 before 2.93 Heap-Based Buffer Overflow via JSON Parser _xs_json_load_lexer()","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":8.7,"baseSeverity":"HIGH"}},{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-122","lang":"en","description":"Heap-based Buffer Overflow","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-10-18T11:38:40.652Z"},"datePublic":"2026-07-08T00:00:00.000Z","credits":[{"lang":"en","value":"nullenvk","type":"finder"}],"x_generator":{"engine":"vulncheck-endgame"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-10-19T16:04:19.806894Z","id":"CVE-2026-112021","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-19T16:05:15.544Z"}}]}}}