NetSight
high7.8

CVE-2026-55246

bincookie is a header-only binarycookies parser.

Impact

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.

Affected products

ProductAffected versions
Bincookie Is A Header-Only Binarycookies Parser.
before 0.1.9

Versions were read from the advisory text. No structured product data has been published for this record yet.

Weakness classification

References