{
  "id": "CVE-2026-70378",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-70378",
  "published_at": "2026-08-05T06:58:50.621Z",
  "title": "imagecli - Negative carve Ratio Bypasses Bounds Check and Crashes Process via Reachable Panic",
  "vendor": "theotherphil",
  "product": "imagecli",
  "cvss": {
    "score": 7.5,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/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": "imagecli's pipeline operation (Carve::apply in src/image_ops.rs) only asserts , never validating that the ratio is positive. A negative ratio (e.g. -5) causes the computed target width to saturate to 0 via Rust's defined float-to-uint cast, which is then passed to imageproc::seam_carving::shrink_width — a function that panics when given a width below 2, crashing the process.",
  "cwe": "CWE-1284",
  "cvss_by_source": {
    "cna": 7.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "theotherphil",
        "product": "imagecli",
        "ranges": [
          "\u003c= 0.2.1"
        ],
        "fixed_in": null
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
