Vulnerability 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 Score
HIGH
Related Weaknesses (CWE)
References
- https://github.com/Tatsh/bincookie/commit/bc1433c1ee4d0284750ff85c8437f1b8df91ab
- https://github.com/Tatsh/bincookie/releases/tag/v0.1.9
- https://github.com/Tatsh/bincookie/security/advisories/GHSA-22pc-xxw4-q849
- https://github.com/Tatsh/bincookie/security/advisories/GHSA-22pc-xxw4-q849
FAQ
What is CVE-2026-55246?
CVE-2026-55246 is a vulnerability with a CVSS score of 7.8 (HIGH). 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_...
How severe is CVE-2026-55246?
CVE-2026-55246 has been rated HIGH with a CVSS base score of 7.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-55246?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.