{"id":"CVE-2026-55246","revision":"7201360d47d145d889858c4f9a3bfe13","records":[{"revision":"7201360d47d145d889858c4f9a3bfe13","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-55246","aliases":[],"title":"bincookie: Heap buffer overflow via unvalidated `num_pages` when parsing a `.binarycookies` file","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.","state":0,"publishedAt":"2026-10-15T17:06:59.783+00:00","modifiedAt":"2026-10-15T18:27:40.897+00:00","affected":[{"ecosystem":"Vendor product","name":"bincookie","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"Tatsh\",\n                    \"product\": \"bincookie\",\n                    \"versions\": [\n                        {\n                            \"version\": \"< 0.1.9\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8,"severity":"HIGH"}],"references":["https://github.com/Tatsh/bincookie/security/advisories/GHSA-22pc-xxw4-q849","https://github.com/Tatsh/bincookie/commit/bc1433c1ee4d0284750ff85c8437f1b8df91ab3b","https://github.com/Tatsh/bincookie/releases/tag/v0.1.9"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-55246","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-55246","identifiers":["CVE-2026-55246"]},"retained":false,"historicalAffected":[]}],"coverage":[]}