Skip to content
OpenAdvisories
High · 7.5 CVE-2026-112021 EUVD-2026-103474GHSA-6hv3-2r7g-774j

snac2 before 2.93 Heap-Based Buffer Overflow via JSON Parser _xs_json_load_lexer()

Published Oct 18, 2026 · Updated Oct 19, 2026 · Assigned by 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.

Affected products

VendorProductAffectedFixed
grunfink snac2 < 2.93 2.93

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 snac2 2.93-1 —
Debian 13 snac2 No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.04 LTS snac2 No fix yet —
Ubuntu 24.04 LTS snac2 No fix yet —

References