{"id":"CVE-2026-70651","state":"PUBLISHED","title":"libvips: Possible integer overflow when reading multi-page TIFF images via ImageMagick","description":"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.","publishedAt":"2026-08-20T21:05:38.765Z","updatedAt":"2026-08-25T15:25:19.181Z","severity":{"score":6.9,"label":"Medium","version":"4.0","vector":"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","source":"GitHub_M"},"assigner":"GitHub_M","products":["libvips libvips"],"affected":[{"vendor":"libvips","product":"libvips","versions":[{"version":"< 8.18.3","status":"affected"}]}],"references":["https://github.com/libvips/libvips/security/advisories/GHSA-7p29-wg2h-36q4","https://github.com/libvips/libvips/pull/5040","https://github.com/libvips/libvips/commit/05719ca3d5852acdeb6714de2e8e769c9a5d2c11","https://github.com/libvips/libvips/releases/tag/v8.18.3"],"weaknesses":["CWE-680"],"ingestedAt":"2026-10-29T20:12:49.727Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/70xxx/CVE-2026-70651.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-70651","state":"PUBLISHED","datePublished":"2026-08-20T21:05:38.765Z","dateUpdated":"2026-08-25T15:25:19.181Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-08-04T21:48:08.612Z"},"containers":{"cna":{"title":"libvips: Possible integer overflow when reading multi-page TIFF images via ImageMagick","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"libvips","product":"libvips","versions":[{"version":"< 8.18.3","status":"affected"}]}],"references":[{"url":"https://github.com/libvips/libvips/security/advisories/GHSA-7p29-wg2h-36q4","name":"https://github.com/libvips/libvips/security/advisories/GHSA-7p29-wg2h-36q4","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/libvips/libvips/pull/5040","name":"https://github.com/libvips/libvips/pull/5040","tags":["x_refsource_MISC"]},{"url":"https://github.com/libvips/libvips/commit/05719ca3d5852acdeb6714de2e8e769c9a5d2c11","name":"https://github.com/libvips/libvips/commit/05719ca3d5852acdeb6714de2e8e769c9a5d2c11","tags":["x_refsource_MISC"]},{"url":"https://github.com/libvips/libvips/releases/tag/v8.18.3","name":"https://github.com/libvips/libvips/releases/tag/v8.18.3","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"LOCAL","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"LOW","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"LOW","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":6.9,"baseSeverity":"MEDIUM","vectorString":"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","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-680","lang":"en","description":"CWE-680: Integer Overflow to Buffer Overflow","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-08-20T21:05:38.765Z"},"source":{"advisory":"GHSA-7p29-wg2h-36q4","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-08-25T15:25:00.770734Z","id":"CVE-2026-70651","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-08-25T15:25:19.181Z"}}]}}}