← Back to search

CVE-2026-55246

7.8 HIGHpublic exploit available

Published 2026-10-15 · Updated 2026-10-16

AI risk analysis

Summary
A heap-based buffer overflow in bincookie's file parser allows an attacker to read and write beyond allocated memory by supplying a malicious .binarycookies file that tricks the parser into trusting unvalidated file-controlled fields (num_pages, page_sizes, cookie_offsets) as loop bounds and offsets.
Exploitability
Exploitation requires local access and user interaction to open a crafted file, with no privilege escalation needed beyond what the application already has.
Blast radius
Successful exploitation could lead to application crashes, data corruption, or potentially remote code execution depending on heap layout and application context.
Detection
No reliable host or network indicator is derivable from the published description.
Prioritized remediation
Upgrade to bincookie version 0.1.9 or later, which fixes the out-of-bounds reads and writes by validating file-controlled fields before use.
heap-overflowout-of-bounds-readout-of-bounds-writeparser-vulnerabilitybinary-format

Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.

NVD 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 vector

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Weaknesses

CWE-122, CWE-787

Public exploit & PoC references

References

Data: NVD (public domain). Analysis: local $0 model. Defensive use only.