Heap overflow in snac2 JSON parser lets remote attackers crash server
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-122 and the CVSS impact.
Summary
snac2 from 0 before 2.93 contains a heap-based buffer overflow in _xs_json_load_lexer() (CWE-122). A JSON string containing a \u0000 escape corrupts heap memory, so an unauthenticated remote attacker can crash the server by sending a single crafted application/activity+json POST to activitypub_post_handler(), which parses it before signature checks. A public exploit is linked in the references.
Written with Claude Haiku 5.5 from the sources below · 2026-10-28
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
Upgrade snac2 to version 2.93. The sources list no fix for other versions. CISA SSVC data lists exploitation as proof of concept, not as known exploited.
Written with Claude Haiku 5.5 from the sources below · 2026-10-28
- Fix · CNA snac2 (grunfink) Fixed in 2.93
Timeline
- 2026-10-18 Threatist record created from CVE-2026-112021
- 2026-10-18 Alias added: GHSA-6hv3-2r7g-774j
- 2026-10-19 CISA SSVC decision points changed
- 2026-10-19 Priority changed: MEDIUM → HIGH
References
Sources
- CVE-2026-112021 · CVE Program
- CVE-2026-112021 · NVD
- FIRST EPSS
- GHSA-6hv3-2r7g-774j · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences