{
  "id": "CVE-2026-55246",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-55246",
  "published_at": "2026-10-15T17:06:59.783Z",
  "title": "bincookie: Heap buffer overflow via unvalidated `num_pages` when parsing a `.binarycookies` file",
  "vendor": "Tatsh",
  "product": "bincookie",
  "cvss": {
    "score": 7.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-122",
  "cvss_by_source": {
    "cna": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Tatsh",
        "product": "bincookie",
        "ranges": [
          "\u003c 0.1.9"
        ],
        "fixed_in": [
          "0.1.9"
        ]
      }
    ],
    "upgrade": [
      "Upgrade bincookie to 0.1.9 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/Tatsh/bincookie/security/advisories/GHSA-22pc-xxw4-q849"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/Tatsh/bincookie/commit/bc1433c1ee4d0284750ff85c8437f1b8df91ab3b"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/Tatsh/bincookie/releases/tag/v0.1.9"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
