What’s Vulnerable › Vulnerabilities

CVE-2026-112021: 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.

Affected products

How to fix

Upgrade to a fixed version: grunfink snac2 2.93. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-112021 or the next vulnerability affects your stack