CVE-2026-112021
snac2 before 2.93 contains a heap-based buffer overflow …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- codeberg.org/grunfink/snac2
- codeberg.org/grunfink/snac2/commit/ec2c5c2046e0381bc942ec5d0d05ec861fe377e7
- codeberg.org/grunfink/snac2/releases/tag/2.93
- codeberg.org/grunfink/snac2/src/tag/2.92/xs_json.h#L283-L285
- gist.github.com/nullenvk/2bf288e2d34cb3d4b7143e61dbf7d90b
- nullenvk.pl/posts/02-snac2-json
- www.vulncheck.com/advisories/snac2-before-2.93-heap-based-buffer-overflow-via-json-parser-
- nvd.nist.gov/vuln/detail/CVE-2026-112021
- cve.org/CVERecord?id=CVE-2026-112021
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.