CVE-2026-70654
published medium CVSS 4.0 · 5.8libvips: A well-crafted PPM image processed via a custom source could lead to possible heap buffer write overflow
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| libvips | — | libvips< 8.18.3 | Affected | Not stated | GitHub_M |
| Debian | trixie | vips | Advisory build | 8.16.1-1+deb13u2 | DSA-6552-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libvips-develaarch64 | Advisory build | 8.18.7-1.1 | OPENSUSE-SU-2026:12266-1 |
| Ubuntu | focal | gir1.2-vips-8.0 | Advisory build | 8.9.1-2ubuntu0.1~esm2 | USN-8994-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libvips-develppc64le | Advisory build | 8.18.7-1.1 | OPENSUSE-SU-2026:12266-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libvips-devels390x | Advisory build | 8.18.7-1.1 | OPENSUSE-SU-2026:12266-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libvips-develx86_64 | Advisory build | 8.18.7-1.1 | OPENSUSE-SU-2026:12266-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libvips42aarch64 | Advisory build | 8.18.7-1.1 | OPENSUSE-SU-2026:12266-1 |
Show 38 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | libvips42ppc64le | Advisory build | 8.18.7-1.1 | OPENSUSE-SU-2026:12266-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libvips42s390x | Advisory build | 8.18.7-1.1 | OPENSUSE-SU-2026:12266-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libvips42x86_64 | Advisory build | 8.18.7-1.1 | OPENSUSE-SU-2026:12266-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | typelib-1_0-Vips-8.0aarch64 | Advisory build | 8.18.7-1.1 | OPENSUSE-SU-2026:12266-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | typelib-1_0-Vips-8.0ppc64le | Advisory build | 8.18.7-1.1 | OPENSUSE-SU-2026:12266-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | typelib-1_0-Vips-8.0s390x | Advisory build | 8.18.7-1.1 | OPENSUSE-SU-2026:12266-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | typelib-1_0-Vips-8.0x86_64 | Advisory build | 8.18.7-1.1 | OPENSUSE-SU-2026:12266-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | vips-bash-completionaarch64 | Advisory build | 8.18.7-1.1 | OPENSUSE-SU-2026:12266-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | vips-bash-completionppc64le | Advisory build | 8.18.7-1.1 | OPENSUSE-SU-2026:12266-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | vips-bash-completions390x | Advisory build | 8.18.7-1.1 | OPENSUSE-SU-2026:12266-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | vips-bash-completionx86_64 | Advisory build | 8.18.7-1.1 | OPENSUSE-SU-2026:12266-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | vips-docaarch64 | Advisory build | 8.18.7-1.1 | OPENSUSE-SU-2026:12266-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | vips-docppc64le | Advisory build | 8.18.7-1.1 | OPENSUSE-SU-2026:12266-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | vips-docs390x | Advisory build | 8.18.7-1.1 | OPENSUSE-SU-2026:12266-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | vips-docx86_64 | Advisory build | 8.18.7-1.1 | OPENSUSE-SU-2026:12266-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | vips-modules-8.0aarch64 | Advisory build | 8.18.7-1.1 | OPENSUSE-SU-2026:12266-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | vips-modules-8.0ppc64le | Advisory build | 8.18.7-1.1 | OPENSUSE-SU-2026:12266-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | vips-modules-8.0s390x | Advisory build | 8.18.7-1.1 | OPENSUSE-SU-2026:12266-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | vips-modules-8.0x86_64 | Advisory build | 8.18.7-1.1 | OPENSUSE-SU-2026:12266-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | vips-toolsaarch64 | Advisory build | 8.18.7-1.1 | OPENSUSE-SU-2026:12266-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | vips-toolsppc64le | Advisory build | 8.18.7-1.1 | OPENSUSE-SU-2026:12266-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | vips-toolss390x | Advisory build | 8.18.7-1.1 | OPENSUSE-SU-2026:12266-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | vips-toolsx86_64 | Advisory build | 8.18.7-1.1 | OPENSUSE-SU-2026:12266-1 |
| Ubuntu | focal | libvips-tools | Advisory build | 8.9.1-2ubuntu0.1~esm2 | USN-8994-1 |
| Ubuntu | focal | libvips42 | Advisory build | 8.9.1-2ubuntu0.1~esm2 | USN-8994-1 |
| Ubuntu | focal | vips | Advisory build | 8.9.1-2ubuntu0.1~esm2 | USN-8994-1 |
| Ubuntu | jammy | gir1.2-vips-8.0 | Advisory build | 8.12.1-1ubuntu0.1~esm3 | USN-8994-1 |
| Ubuntu | jammy | libvips-tools | Advisory build | 8.12.1-1ubuntu0.1~esm3 | USN-8994-1 |
| Ubuntu | jammy | libvips42 | Advisory build | 8.12.1-1ubuntu0.1~esm3 | USN-8994-1 |
| Ubuntu | jammy | vips | Advisory build | 8.12.1-1ubuntu0.1~esm3 | USN-8994-1 |
| Ubuntu | noble | gir1.2-vips-8.0 | Advisory build | 8.15.1-1.1ubuntu0.1~esm2 | USN-8994-1 |
| Ubuntu | noble | libvips-tools | Advisory build | 8.15.1-1.1ubuntu0.1~esm2 | USN-8994-1 |
| Ubuntu | noble | libvips42t64 | Advisory build | 8.15.1-1.1ubuntu0.1~esm2 | USN-8994-1 |
| Ubuntu | noble | vips | Advisory build | 8.15.1-1.1ubuntu0.1~esm2 | USN-8994-1 |
| Ubuntu | resolute | gir1.2-vips-8.0 | Advisory build | 8.18.0-1ubuntu0.1~esm2 | USN-8994-1 |
| Ubuntu | resolute | libvips-tools | Advisory build | 8.18.0-1ubuntu0.1~esm2 | USN-8994-1 |
| Ubuntu | resolute | libvips42t64 | Advisory build | 8.18.0-1ubuntu0.1~esm2 | USN-8994-1 |
| Ubuntu | resolute | vips | Advisory build | 8.18.0-1ubuntu0.1~esm2 | USN-8994-1 |
Description
libvips is a fast image processing library with low memory needs. Prior to version 8.18.3, applications that define unusual custom libvips sources and use them to process untrusted uncompressed PPM images can trigger a max/min error in vips_source_read_to_memory in libvips/iofuncs/source.c. The function uses VIPS_MAX instead of VIPS_MIN when selecting the remaining read size, allowing up to 4032 bytes to be written beyond the allocated heap buffer and causing memory corruption or a process crash. This issue is fixed in version 8.18.3.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.8 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| libvips | libvips | < 8.18.3 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-122 CWE-122: Heap-based Buffer Overflow
References
4Provider assertions
2GitHub_M · cna
libvips: A well-crafted PPM image processed via a custom source could lead to possible heap buffer write overflow
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- b509ef59b670eb3b090c6785250e2192a4981a0b232404f788a850cd795225a7
- Ingested
- 23 Sep 2026, 09:29:10 UTC
- Source record
- Official CVE record