{"schema":"threatline.record/2","record":{"id":"CVE-2026-55246","aliases":["GHSA-22pc-xxw4-q849"],"summary":"bincookie: Heap buffer overflow via unvalidated `num_pages` when parsing a `.binarycookies` file","details":"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.","categories":["Unclassified"],"product":"bincookie","vendor":"Tatsh","ecosystem":null,"affected_ranges":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-55246","source_modified_at":"2026-10-15T18:27:40.897Z","fetched_at":"2026-10-23T18:48:36.087640Z","product":"bincookie","vendor":"Tatsh","versions":[{"version":"< 0.1.9","status":"affected"}],"defaultStatus":null},{"source":"GitHub Advisory Database","source_url":"https://github.com/Tatsh/bincookie/security/advisories/GHSA-22pc-xxw4-q849","source_modified_at":"2026-06-16T21:58:38Z","fetched_at":"2026-10-23T18:48:36.087640Z","package":{"ecosystem":"c library header","name":"bincookie"},"range":"<= 0.1.8"}],"fixed_versions":[{"source":"GitHub Advisory Database","source_url":"https://github.com/Tatsh/bincookie/security/advisories/GHSA-22pc-xxw4-q849","source_modified_at":"2026-06-16T21:58:38Z","fetched_at":"2026-10-23T18:48:36.087640Z","package":{"ecosystem":"c library header","name":"bincookie"},"version":"0.1.9"}],"cvss":7.8,"severity":"High","kev":{"listed":false},"epss":{"probability":0.00222,"percentile":0.12076,"score_date":"2026-10-23"},"published_at":"2026-10-15T17:06:59.783Z","modified_at":"2026-10-15T18:27:40.897Z","provenance":[{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-55246","fetched_at":"2026-10-23T18:48:36.087640Z","source_modified_at":"2026-10-15T18:27:40.897Z"},{"source":"GitHub Advisory Database","url":"https://github.com/Tatsh/bincookie/security/advisories/GHSA-22pc-xxw4-q849","fetched_at":"2026-10-23T18:48:36.087640Z","source_modified_at":"2026-06-16T21:58:38Z"},{"source":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-55246","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-23"}],"sources":["CVE List","GitHub Advisory Database","EPSS"],"references":[{"source":"CVE List","url":"https://github.com/Tatsh/bincookie/security/advisories/GHSA-22pc-xxw4-q849","tags":["exploit"]},{"source":"CVE List","url":"https://github.com/Tatsh/bincookie/commit/bc1433c1ee4d0284750ff85c8437f1b8df91ab3b","tags":["x_refsource_MISC"]},{"source":"CVE List","url":"https://github.com/Tatsh/bincookie/releases/tag/v0.1.9","tags":["x_refsource_MISC"]}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","cvss_source":"CVE List","ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"total","assessed_at":"2026-10-15T18:27:22.750510Z"},"classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":null,"confidence":"unknown","reviewed":false},"change_timestamp":"2026-10-15T18:27:40.897Z","content_hash":"1361b786e35b2a27589281b524947cbdc3c4512534342ba7c585885cca235e76"}}
