CVE-2026-112021
published high CVSS 4.0 · 8.7snac2 before 2.93 Heap-Based Buffer Overflow via JSON Parser _xs_json_load_lexer()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| grunfink | — | snac20 to < 2.93 · Other versions: unaffected | Affected | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.7 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.5 | high | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| grunfink | snac2 | 0 to < 2.93 (affected · custom)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-122 Heap-based Buffer Overflow
References
7- https://codeberg.org/grunfink/snac2
- https://codeberg.org/grunfink/snac2/commit/ec2c5c2046e0381bc942ec5d0d05ec861fe377e7
- https://codeberg.org/grunfink/snac2/releases/tag/2.93
- https://codeberg.org/grunfink/snac2/src/tag/2.92/xs_json.h#L283-L285
- https://gist.github.com/nullenvk/2bf288e2d34cb3d4b7143e61dbf7d90b
- https://nullenvk.pl/posts/02-snac2-json
- VulnCheck Advisory: snac2 before 2.93 Heap-Based Buffer Overflow via JSON Parser _xs_json_load_lexer() https://www.vulncheck.com/advisories/snac2-before-2.93-heap-based-buffer-overflow-via-json-parser-xs-json-load-lexer
Provider assertions
2VulnCheck · cna
snac2 before 2.93 Heap-Based Buffer Overflow via JSON Parser _xs_json_load_lexer()
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 9f0ea64fde656874463e4f04755c9c5dfed18eae8a82d2f1f6eb8da79e36a584
- Ingested
- 19 Oct 2026, 16:10:35 UTC
- Source record
- Official CVE record