๐Ÿ” CVE Alert

CVE-2026-55246

HIGH 7.8

bincookie: Heap buffer overflow via unvalidated `num_pages` when parsing a `.binarycookies` file

CVSS Score
7.8
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-122 CWE-787
Vendor tatsh
Product bincookie
Published Oct 15, 2026
Stay Ahead of the Next One

Get instant alerts for tatsh bincookie

Be the first to know when new high vulnerabilities affecting tatsh bincookie are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

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

Affected Versions

Tatsh / bincookie
< 0.1.9

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/Tatsh/bincookie/security/advisories/GHSA-22pc-xxw4-q849 github.com: https://github.com/Tatsh/bincookie/commit/bc1433c1ee4d0284750ff85c8437f1b8df91ab3b github.com: https://github.com/Tatsh/bincookie/releases/tag/v0.1.9