{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "8.18.3"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "05719ca3d5852acdeb6714de2e8e769c9a5d2c11"
            },
            {
              "fixed": "3664cfc5dc2c5661288f5bf5a85ccc51c64c1626"
            }
          ],
          "repo": "https://github.com/libvips/libvips",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-7p29-wg2h-36q4"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-680"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/70xxx/CVE-2026-70651.json"
  },
  "details": "libvips is a fast image processing library with low memory needs. Prior to version 8.18.3, libvips built without libtiff support but with ImageMagick support can overflow the combined frame height while loading a crafted multi-page TIFF through VipsForeignLoadMagick. The vulnerable calculations in libvips/foreign/magick6load.c and libvips/foreign/magick7load.c multiply the per-page Ysize by n_frames without a checked bound, which can cause a heap buffer over-read and process crash. Most package-manager builds include libtiff and do not use this affected fallback path. This issue is fixed in version 8.18.3.",
  "id": "CVE-2026-70651",
  "modified": "2026-09-20T11:30:42.825814679Z",
  "published": "2026-08-20T21:05:38.765Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/libvips/libvips/releases/tag/v8.18.3"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/70xxx/CVE-2026-70651.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/libvips/libvips/security/advisories/GHSA-7p29-wg2h-36q4"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-70651"
    },
    {
      "type": "FIX",
      "url": "https://github.com/libvips/libvips/commit/05719ca3d5852acdeb6714de2e8e769c9a5d2c11"
    },
    {
      "type": "FIX",
      "url": "https://github.com/libvips/libvips/pull/5040"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "libvips: Possible integer overflow when reading multi-page TIFF images via ImageMagick"
}