CVE-2026-55246

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.
Configurations

No configuration.

History

15 Oct 2026, 19:17

Type Values Removed Values Added
References () https://github.com/Tatsh/bincookie/security/advisories/GHSA-22pc-xxw4-q849 - () https://github.com/Tatsh/bincookie/security/advisories/GHSA-22pc-xxw4-q849 -

15 Oct 2026, 18:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-10-15 18:17

Updated : 2026-10-16 20:04


NVD link : CVE-2026-55246

Mitre link : CVE-2026-55246

CVE.ORG link : CVE-2026-55246


JSON object : View

Products Affected

No product.

CWE
CWE-122

Heap-based Buffer Overflow

CWE-787

Out-of-bounds Write