Summary
CVE-2026-112021 is a heap-based buffer overflow (CWE-122) in snac2, the ActivityPub server. An unauthenticated remote attacker can corrupt heap memory and crash the server with a single crafted request. The CVE record rates it 8.7 (High) under CVSS v4.0.
Technical details
- Root cause: heap-based buffer overflow in the JSON parser function
_xs_json_load_lexer(), triggered when parsing JSON strings that contain a\u0000escape. - Trigger conditions: a crafted POST request to the ActivityPub handler. The handler parses the JSON before signature validation, so no valid signature or account is needed.
- Attack vector: network, unauthenticated, no user interaction.
- Impact: heap memory corruption that causes the server to crash (denial of service). The CVSS vector rates confidentiality and integrity impact as none and availability impact as high.
- A public proof-of-concept and a technical write-up are referenced in the CVE record.
Affected software
- snac2 versions through 2.92 (all versions before 2.93)
Severity
- CVSS v4.0: 8.7 (High),
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 - CVSS v3.1: 7.5 (High),
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H. The record does not give a v3.1 score of 8.7. The 8.7 figure comes from the v4.0 vector.
Mitigation and recommended actions
- Immediate: upgrade snac2 to version 2.93 or later, which contains the fix.
- If you cannot patch immediately, the sources reviewed do not describe a workaround. Limit exposure of the instance where possible until you can upgrade.
- Because a public proof-of-concept exists, prioritize internet-facing instances.

