{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "6.2.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "292d3a898d4ab0f3facdfd7c695f15e5ba638190"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "e1e579831465b98a2e0e0b3835556a3bd1c2f97a"
            },
            {
              "fixed": "292d3a898d4ab0f3facdfd7c695f15e5ba638190"
            }
          ],
          "repo": "https://github.com/cykooz/fast_image_resize",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-190"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139878.json"
  },
  "details": "Cykooz fast_image_resize before 6.2.0 contains an integer overflow vulnerability in check_crop_box() that allows attackers to bypass crop box validation via unchecked u32 additions that wrap in release builds. Attackers supplying crop coordinates with very large width or height can cause iter_rows and iter_rows_mut to read or write outside the image buffer, causing memory corruption or crashes.",
  "id": "CVE-2026-139878",
  "modified": "2026-11-30T18:46:11.180020851Z",
  "published": "2026-11-30T16:20:41.369Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139878.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/Cykooz/fast_image_resize"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/Cykooz/fast_image_resize/blob/v6.1.0/src/images/typed_cropped_image.rs#L157-L167"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/Cykooz/fast_image_resize/blob/v6.1.0/src/images/typed_cropped_image.rs#L7-L24"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/Cykooz/fast_image_resize/blob/v6.2.0/CHANGELOG.md"
    },
    {
      "type": "FIX",
      "url": "https://github.com/Cykooz/fast_image_resize/commit/292d3a898d4ab0f3facdfd7c695f15e5ba638190"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-139878"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/fast-image-resize-before-6.2.0-integer-overflow-via-check-crop-box"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "fast_image_resize before 6.2.0 Integer Overflow via check_crop_box()"
}