CVE-2026-55246
published high CVSS 3.1 · 7.8bincookie: Heap buffer overflow via unvalidated `num_pages` when parsing a `.binarycookies` file
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Tatsh | — | bincookie< 0.1.9 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Tatsh | bincookie | < 0.1.9 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-122 CWE-122: Heap-based Buffer Overflow
- CWE-787 CWE-787: Out-of-bounds Write
References
3Provider assertions
2GitHub_M · cna
bincookie: Heap buffer overflow via unvalidated `num_pages` when parsing a `.binarycookies` file
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- f0a77f5db9527a9dde320203a7c9798a800387a9b04dc72be17d202b3febd7da
- Ingested
- 15 Oct 2026, 20:29:31 UTC
- Source record
- Official CVE record