CVE-2026-55246

Source
https://cve.org/CVERecord?id=CVE-2026-55246
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-55246.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-55246
Aliases
  • GHSA-22pc-xxw4-q849
Published
2026-10-15T17:06:59Z
Modified
2026-10-16T02:47:51Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
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.

Database specific
{
    "cna_assigner":  "GitHub_M",
    "cwe_ids":  [
        "CWE-122",
        "CWE-787"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/55xxx/CVE-2026-55246.json"
}
References

Affected packages

Git / github.com/tatsh/bincookie

Affected ranges

Type
GIT
Repo
https://github.com/tatsh/bincookie
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
Show details
{
    "extracted_events":  [
        {
            "introduced":  "0"
        },
        {
            "fixed":  "0.1.9"
        }
    ],
    "source":  "AFFECTED_FIELD"
}

Affected versions

v0.*
v0.0.1
v0.1.0
v0.1.1
v0.1.2
v0.1.3
v0.1.4
v0.1.5
v0.1.6
v0.1.8

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-55246.json"