Skip to main content

CVE-2026-55246: CWE-122: Heap-based Buffer Overflow in Tatsh bincookie

0
High
VulnerabilityCVE-2026-55246cvecve-2026-55246cwe-122cwe-787
Published: 10/15/2026 (10/15/2026, 17:06:59 UTC)
Source: CVE Database V5
Vendor/Project: Tatsh
Product: bincookie

Description

bincookie is a header-only binarycookies parser. Prior to 0.1.9, bincookie_init_file() in bincookie.h allocates a buffer using the actual .binarycookies file length but trusts the file-controlled num_pages field as the loop bound for byte-swapping page_sizes entries. A crafted file can make the loop read and write beyond the heap allocation, and related unvalidated page sizes and cookie_offsets can drive additional out-of-bounds accesses in page and cookie iteration. Applications that parse an attacker-supplied binarycookies file may crash or suffer heap corruption that can potentially enable code execution. This issue is fixed in version 0.1.9.

CVSS v3.1

Score 7.8high

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected software

Tatsh

bincookie

Affected versions
<0.1.9
GitHub Actionsmore threats →ai
tatsh/bincookie
pkg:github/tatsh/bincookie
Affected versions
<0.1.9

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/15/2026, 17:48:19 UTC

Technical Analysis

The bincookie library versions before 0.1.9 contain a heap-based buffer overflow in the bincookie_init_file() function. The function allocates a buffer based on the file length but uses the file-controlled num_pages field as the loop bound for processing page sizes. This mismatch allows reading and writing beyond the allocated heap buffer. Additionally, unvalidated page sizes and cookie offsets can cause further out-of-bounds accesses during page and cookie iteration. This vulnerability can lead to application crashes, heap corruption, and potentially arbitrary code execution when parsing attacker-supplied binarycookies files. The vulnerability is addressed in version 0.1.9.

Potential Impact

Applications using affected versions of bincookie to parse untrusted binarycookies files may crash or experience heap corruption. The heap overflow and out-of-bounds accesses can potentially be exploited to achieve arbitrary code execution. The CVSS 3.1 base score is 7.8, indicating a high severity with high impact on confidentiality, integrity, and availability. No known exploits are reported in the wild at this time.

Mitigation Recommendations

Upgrade to bincookie version 0.1.9 or later, where this vulnerability is fixed. No other mitigations are indicated or necessary once the fixed version is applied.

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
GitHub_M
Date Reserved
2026-06-16T16:44:00.624Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6ad10e922cdf04f6564bcc13

Added to database: 10/15/2026, 17:34:10 UTC

Last enriched: 10/15/2026, 17:48:19 UTC

Last updated: 10/15/2026, 19:04:20 UTC

Views: 11

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