{"id":"CVE-2026-33328","summary":"Possible integer overflow on 32-bit systems when reading GIF images","details":"libvips is a fast image processing library with low memory needs. On 32-bit systems in versions before and including 8.18.0, the `gifload` operation could incorrectly determine dimensions leading to an integer overflow. This has been patched in version 8.18.1.","aliases":["GHSA-r98w-4fp7-m9c7"],"modified":"2026-07-23T08:25:11.274830Z","published":"2026-07-20T16:22:22.378Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-190"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/33xxx/CVE-2026-33328.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/33xxx/CVE-2026-33328.json"},{"type":"ADVISORY","url":"https://github.com/libvips/libvips/security/advisories/GHSA-r98w-4fp7-m9c7"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-33328"},{"type":"FIX","url":"https://github.com/libvips/libvips/commit/9b633e45abfcf1fc4c84847007c81805193c0969"},{"type":"FIX","url":"https://github.com/libvips/libvips/pull/4935"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/libvips/libvips","events":[{"introduced":"0"},{"fixed":"9b633e45abfcf1fc4c84847007c81805193c0969"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"last_affected":"8.18.0"}],"source":["AFFECTED_FIELD","REFERENCES"]}}],"versions":["v8.18.0","v8.18.0-rc3","v8.18.0-rc2","v8.18.0-rc1","v8.18.0-alpha2","v8.18.0-alpha1","v8.17.0-rc1","v8.17.0","v8.17.0-test4","v8.17.0-test3","v8.17.0-test2","v8.17.0-test1","v8.16.0","v8.16.0-rc2","v8.16.0-rc1","v8.15.0","v8.15.0-rc2","v8.14.0","v8.14.0-rc1","v8.13.0","v8.13.0-rc2","v8.13.0-rc1","v8.13.0-pre1","v8.12.0","v8.12.0-rc1","v8.11.0","v8.11","v8.11.0-rc1","v8.10.6-beta2","v8.10.0","v8.10.0-rc2","v8.10.0-rc1","v8.10.0-beta2","v8.10.0-beta1","v8.9.0","v8.9.0-rc4","v8.9.0-rc3","v8.9.0-rc2","v8.9.0-rc1","v8.9.0-beta2","v8.9.0-beta1","v8.9.0-alpha1","v8.8.0-rc3","v8.8.0","v8.8.0-rc2","v8.8.0-rc1","v8.7.0","v8.7.0-rc3","v8.7.0-rc2","v8.7.0-rc1","v8.7.0-alpha2","v8.6.0","v8.6.0-beta2","v8.6.0-beta1","v8.6.0-alpha2","v8.6.0-alpha1","v8.5.3","v8.5.2","v8.5.1","v8.3.0","v8.2.2","v8.1","v8.0-beta","v7.28.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-33328.json","vanir_signatures_modified":"2026-07-23T08:25:11Z","vanir_signatures":[{"source":"https://github.com/libvips/libvips/commit/9b633e45abfcf1fc4c84847007c81805193c0969","target":{"file":"libvips/foreign/nsgifload.c"},"deprecated":false,"digest":{"line_hashes":["128319102195692645417502852218788172572","280198527585656289028533088095758631634","264368488197591930568994124049979519952","22457934656645698976790397585362726717","87045383624196863387879228160688093369","177906024140106992990409708852350263092","178572187685197770091206256011275006615"],"threshold":0.9},"id":"CVE-2026-33328-6fc9efa8","signature_type":"Line","signature_version":"v1"},{"digest":{"function_hash":"21668448105709728108813725880325192660","length":261},"id":"CVE-2026-33328-777a2a3e","signature_type":"Function","signature_version":"v1","source":"https://github.com/libvips/libvips/commit/9b633e45abfcf1fc4c84847007c81805193c0969","target":{"file":"libvips/foreign/nsgifload.c","function":"vips_foreign_load_nsgif_bitmap_create"},"deprecated":false}]}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}]}