# CVE-2026-35591: Possible heap-based buffer overflow when decoding TIFF image containing well-crafted tile

- Severity: High 7.0 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 9% of CVEs (2026-12-01)
- Published: 2026-07-20T16:24:50.831Z
- Modified: 2026-08-19T19:10:32.480Z
- Weaknesses: CWE-122
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- libvips libvips: <= 8.18.1; before 8.18.2

## Every score

- GitHub_M: CVSS:4.0 7.0 High `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`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/libvips/libvips/security/advisories/GHSA-523x-vhfw-6r76> (patch, vendor-advisory)
- <https://github.com/libvips/libvips/pull/4973> (issue-tracking, patch)
- <https://github.com/libvips/libvips/commit/df044e409a0db77c980fa1a9f86a13fbfb2dc8fe> (patch)

## Sources

- CVE List: [CVE-2026-35591](https://www.cve.org/CVERecord?id=CVE-2026-35591), CVE Terms of Use, modified 2026-07-20
- NVD: [CVE-2026-35591](https://nvd.nist.gov/vuln/detail/CVE-2026-35591), Public domain, modified 2026-08-19

---

Page: https://cve.day/CVE-2026-35591 · Whole record: https://cve.day/CVE-2026-35591.json · Rebuilt by cve.day 2026-11-25T22:59:29.248Z
