{"id":"CVE-2026-35591","state":"PUBLISHED","title":"Possible heap-based buffer overflow when decoding TIFF image containing well-crafted tile","description":"libvips is a fast image processing library with low memory needs. The `tiffload` operation in libvips versions before and including 8.18.1 could incorrectly determine the number of channels in a JPEG or JPEG2000-encoded tile within a TIFF image, leading to a possible buffer overflow. This has been patched in version 8.18.2.","publishedAt":"2026-07-20T16:24:50.831Z","updatedAt":"2026-07-20T17:44:01.158Z","severity":{"score":7,"label":"High","version":"4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:H/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.1","status":"affected"}]}],"references":["https://github.com/libvips/libvips/security/advisories/GHSA-523x-vhfw-6r76","https://github.com/libvips/libvips/pull/4973","https://github.com/libvips/libvips/commit/df044e409a0db77c980fa1a9f86a13fbfb2dc8fe"],"weaknesses":["CWE-122"],"ingestedAt":"2026-10-29T20:11:40.391Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/35xxx/CVE-2026-35591.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-35591","state":"PUBLISHED","datePublished":"2026-07-20T16:24:50.831Z","dateUpdated":"2026-07-20T17:44:01.158Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-04-03T21:25:12.161Z"},"containers":{"cna":{"title":"Possible heap-based buffer overflow when decoding TIFF image containing well-crafted tile","descriptions":[{"lang":"en","value":"libvips is a fast image processing library with low memory needs. The `tiffload` operation in libvips versions before and including 8.18.1 could incorrectly determine the number of channels in a JPEG or JPEG2000-encoded tile within a TIFF image, leading to a possible buffer overflow. This has been patched in version 8.18.2."}],"affected":[{"vendor":"libvips","product":"libvips","versions":[{"version":"<= 8.18.1","status":"affected"}]}],"references":[{"url":"https://github.com/libvips/libvips/security/advisories/GHSA-523x-vhfw-6r76","name":"https://github.com/libvips/libvips/security/advisories/GHSA-523x-vhfw-6r76","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/libvips/libvips/pull/4973","name":"https://github.com/libvips/libvips/pull/4973","tags":["x_refsource_MISC"]},{"url":"https://github.com/libvips/libvips/commit/df044e409a0db77c980fa1a9f86a13fbfb2dc8fe","name":"https://github.com/libvips/libvips/commit/df044e409a0db77c980fa1a9f86a13fbfb2dc8fe","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"LOCAL","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"LOW","userInteraction":"NONE","vulnConfidentialityImpact":"LOW","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":7,"baseSeverity":"HIGH","vectorString":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:H/VA:H/SC:N/SI:N/SA:N","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-122","lang":"en","description":"CWE-122: Heap-based Buffer Overflow","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-07-20T16:24:50.831Z"},"source":{"advisory":"GHSA-523x-vhfw-6r76","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-07-20T17:43:47.828970Z","id":"CVE-2026-35591","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-07-20T17:44:01.158Z"}}]}}}