PatchSiren cyber security CVE debrief
CVE-2026-112021 grunfink CVE debrief
CVE-2026-112021 is a heap-based buffer overflow vulnerability in the _xs_json_load_lexer() function of snac2 before version 2.93. The vulnerability allows unauthenticated remote attackers to corrupt heap memory by sending JSON strings containing a escape. This can be exploited by sending a single crafted application/activity+json POST to the activitypub_post_handler(), which parses it before signature checks, leading to a heap overflow and potential server crash.
- Vendor
- grunfink
- Product
- snac2
- CVSS
- HIGH 8.7
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-10-18
- Original CVE updated
- 2026-10-18
- Advisory published
- 2026-10-18
- Advisory updated
- 2026-10-18
Who should care
Defenders and administrators of systems using snac2 before version 2.93 should assess their exposure and prioritize verifying the snac2 version and applying the patch to prevent potential heap corruption and server crashes.
Why it matters
CVE-2026-112021 is a heap-based buffer overflow vulnerability in snac2 before version 2.93 that allows unauthenticated remote attackers to corrupt heap memory. Defenders should prioritize verifying the snac2 version and applying the patch to prevent potential heap corruption and server crashes. The vulnerability can be exploited by sending a single crafted application/activity+json POST to the activitypub_post_handler().
- Potential server crashes due to heap corruption.
- Possible denial-of-service (DoS) attacks.
- Need for verification of snac2 version and patch application.
- Potential for remote code execution requires further verification.
Technical summary
The _xs_json_load_lexer() function in snac2 before version 2.93 contains a heap-based buffer overflow vulnerability. This can be exploited by sending a single crafted application/activity+json POST to the activitypub_post_handler(), which parses it before signature checks, leading to a heap overflow and potential server crash. The vulnerability allows unauthenticated remote attackers to corrupt heap memory by sending JSON strings containing a escape. Attackers can send a single crafted application/activity+json POST to activitypub_post_handler()
Defensive priority
Defenders should prioritize verifying the snac2 version and applying the patch to prevent potential heap corruption and server crashes.
Recommended defensive actions
- Verify the snac2 version and apply the patch to prevent potential heap corruption and server crashes.
- Review and update the activitypub_post_handler() function to handle JSON strings securely.
- Monitor server logs for potential crashes or errors related to the vulnerability.
- Perform a thorough review of the system configuration and network exposure.
- Check for any existing mitigations or compensating controls.
- Review asset inventory for affected systems and prioritize patching.
- Track changes to the snac2 version and patch status.
Evidence notes
The CVE record and NVD entry provide details on the vulnerability, but the scope of affected versions and potential impact require further verification from official sources. The vulnerability allows unauthenticated remote attackers to corrupt heap memory by sending JSON strings containing a escape. This can be exploited by sending a single crafted application/activity+json POST to the activitypub_post_handler(), which parses it before signature checks, leading to a heap overflow and potential server crash. Defenders should verify sn
Sources and references
Verified primary and authoritative sources
-
CVE-2026-112021 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-112021
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-112021 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-112021
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Source reference
Unverified legacy reference
URL: https://codeberg.org/grunfink/snac2
-
Source reference
Unverified legacy reference
URL: https://codeberg.org/grunfink/snac2/commit/ec2c5c2046e0381bc942ec5d0d05ec861fe377e7
-
Source reference
Unverified legacy reference
URL: https://codeberg.org/grunfink/snac2/releases/tag/2.93
-
Source reference
Unverified legacy reference
URL: https://codeberg.org/grunfink/snac2/src/tag/2.92/xs_json.h
-
Source reference
Unverified legacy reference
URL: https://gist.github.com/nullenvk/2bf288e2d34cb3d4b7143e61dbf7d90b
-
Source reference
Unverified legacy reference
URL: https://nullenvk.pl/posts/02-snac2-json
-
Source reference
Unverified legacy reference
URL: https://www.vulncheck.com/advisories/snac2-before-2.93-heap-based-buffer-overflow-via-json-parser-xs-json-load-lexer
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.