CVE Catalog

CVE-2026-55246

HighCVSS 7.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.22%

12th percentile - higher than 12% of all known CVEs

Summary

The bincookie library (a header-only binarycookies parser) prior to version 0.1.9 contains a heap buffer overflow in bincookie_init_file(). The function allocates a buffer based on the actual .binarycookies file length but uses the file-controlled num_pages field as the loop bound for byte-swapping page_sizes entries, allowing reads and writes beyond the heap allocation. Related unvalidated page sizes and cookie_offsets can drive additional out-of-bounds accesses.

Risk Assessment

Applications that parse attacker-supplied binarycookies files may crash or suffer heap corruption that can potentially enable code execution in the context of the current process.

Recommendation

Update bincookie to version 0.1.9 or later. Until patched, avoid parsing untrusted binarycookies files.

Related vulnerabilities

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS