A plain-language summary of this CVE is being written; the description below is the NVD's own text.
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.
Affected products
The NVD has not attached product data to this record yet; the description names what is affected.
Weakness type
References
- github.com /Tatsh/bincookie/commit/bc1433c1ee4d0284750ff85c8437f1b8df9…
- github.com /Tatsh/bincookie/releases/tag/v0.1.9
- github.com /Tatsh/bincookie/security/advisories/GHSA-22pc-xxw4-q849
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning