Skip to main content

CVE-2026-112021: Heap-based Buffer Overflow in grunfink snac2

0
High
Published: 10/18/2026 (10/18/2026, 12:30:28 UTC)
Source: CVE Database V5
Vendor/Project: grunfink
Product: snac2

Description

snac2 versions before 2.93 contain a heap-based buffer overflow vulnerability in the _xs_json_load_lexer() function. This flaw allows unauthenticated remote attackers to corrupt heap memory by sending specially crafted JSON strings with a \u0000 escape sequence. Exploitation involves sending a crafted application/activity+json POST request to activitypub_post_handler(), which processes the input before signature verification, leading to heap overflow and server crashes.

CVSS v4.0

Score 8.7high

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
None
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

grunfink

snac2

Affected versions
>=0 <2.93
GitHub Actionsmore threats →ai
grunfink/snac2
pkg:github/grunfink/snac2
Affected versions
>=0 <2.93

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/18/2026, 12:03:13 UTC

Technical Analysis

CVE-2026-112021 is a heap-based buffer overflow vulnerability in snac2 prior to version 2.93. The vulnerability exists in the _xs_json_load_lexer() function, which improperly handles JSON strings containing a \u0000 escape sequence. An unauthenticated remote attacker can exploit this by sending a single crafted POST request with application/activity+json content to the activitypub_post_handler() endpoint. This endpoint parses the input before performing signature checks, allowing the attacker to overflow heap allocations, corrupt heap memory, and cause the server to crash. The CVSS 4.0 score is 8.7, indicating high severity with network attack vector, no privileges or user interaction required, and high impact on availability.

Potential Impact

Successful exploitation results in heap memory corruption and server crashes, causing denial of service. The vulnerability can be triggered remotely without authentication or user interaction, making it a significant risk for service availability.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict access to the affected endpoint and monitor for suspicious POST requests containing JSON with \u0000 escape sequences. Avoid processing untrusted JSON inputs before signature verification.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
VulnCheck
Date Reserved
2026-10-18T01:24:56.329Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6ad4b23c2cdf04f65664e4c5

Added to database: 10/18/2026, 11:49:16 UTC

Last enriched: 10/18/2026, 12:03:13 UTC

Last updated: 10/18/2026, 19:55:33 UTC

Views: 13

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses