PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-55246 Tatsh CVE debrief

A heap buffer overflow vulnerability exists in the bincookie library, specifically in the `bincookie_init_file()` function. This function allocates a buffer based on the actual length of a `.binarycookies` file but uses the file-controlled `num_pages` field as the loop bound for byte-swapping `page_sizes` entries. This can lead to the loop reading and writing beyond the heap allocation. Additionally, unvalidated `page_sizes` and `cookie_offsets` can cause further out-of-bounds accesses during page and cookie iteration. Applications that parse an attacker-supplied `.binarycookies` file may crash or experience heap corruption, potentially allowing for code execution.

Vendor
Tatsh
Product
bincookie
CVSS
HIGH 7.8
CISA KEV
Not listed in stored evidence
Original CVE published
2026-10-15
Original CVE updated
2026-10-15
Advisory published
2026-10-15
Advisory updated
2026-10-15

Who should care

Defenders responsible for systems that use the bincookie library, particularly those that parse .binarycookies files from untrusted sources, should be aware of this vulnerability and take steps to mitigate it.

Why it matters

This vulnerability is significant because it can lead to potential code execution, denial of service, and data tampering in systems that use the bincookie library and parse .binarycookies files from untrusted sources. Defenders should prioritize verification of .binarycookies file integrity and upgrading to bincookie version 0.1.9 or later.

  • Potential for code execution through heap corruption
  • Denial of service through application crashes
  • Data tampering through out-of-bounds writes

Technical summary

The bincookie library, specifically version prior to 0.1.9, is vulnerable to a heap buffer overflow attack due to the lack of validation of the `num_pages` field in `.binarycookies` files. This can lead to out-of-bounds reads and writes, potentially allowing for code execution. The vulnerability exists in the `bincookie_init_file()` function, which allocates a buffer based on the actual length of a `.binarycookies` file but uses the file-controlled `num_pages` field as the loop bound for byte-swapping `page_sizes` entries. Applications that parse an attacker-supplied `.binarycookies` file may crash or experience heap corruption, potentially allowing for code execution. Defenders should prioritize verifying the

Defensive priority

Defenders should prioritize verifying the integrity of .binarycookies files and upgrading to bincookie version 0.1.9 or later. They should also implement input validation and bounds checking when parsing .binarycookies files to prevent potential heap buffer overflows.

Recommended defensive actions

  • Verify the integrity of .binarycookies files before parsing
  • Upgrade to bincookie version 0.1.9 or later
  • Implement input validation and bounds checking when parsing .binarycookies files
  • Review compensating controls for exposed systems while remediation is scheduled and verified
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up

Evidence notes

The CVE record and source item provide details about the vulnerability, including its description, affected versions, and references to additional information. However, the corpus does not provide explicit information about exploitation or victim impact.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-55246 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-55246

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-55246 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-55246

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • bincookie: Heap buffer overflow via unvalidated `num_pages` when parsing a `.binarycookies` file

    Unverified legacy reference

    URL: https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/55xxx/CVE-2026-55246.json

    cve_program_cvelist_v5

  • Source reference

    Unverified legacy reference

    URL: https://github.com/Tatsh/bincookie/security/advisories/GHSA-22pc-xxw4-q849

    Supplemental source - x_refsource_CONFIRM

  • Source reference

    Unverified legacy reference

    URL: https://github.com/Tatsh/bincookie/commit/bc1433c1ee4d0284750ff85c8437f1b8df91ab3b

    Supplemental source - x_refsource_MISC

  • Source reference

    Unverified legacy reference

    URL: https://github.com/Tatsh/bincookie/releases/tag/v0.1.9

    Supplemental source - x_refsource_MISC

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.