| Name | CVE-2026-70652 |
| Description | libvips is a fast image processing library with low memory needs. Prior to version 8.18.3, libvips built with libultrahdr support can incorrectly size an output buffer in libvips/foreign/uhdrsave.c within vips_foreign_save_uhdr_set_raw_hdr when a pipeline enlarges an incoming JPEG to a very large output before encoding a gain map through VipsForeignSaveUhdr. The undersized allocation can cause a heap buffer over-read that may disclose adjacent data or crash the process. This issue is fixed in version 8.18.3. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| vips (PTS) | bookworm | 8.14.1-3+deb12u3 | fixed |
| bookworm (security) | 8.14.1-3+deb12u2 | fixed | |
| trixie | 8.16.1-1+deb13u1 | fixed | |
| trixie (security) | 8.16.1-1+deb13u2 | fixed | |
| forky, sid | 8.18.7-1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| vips | source | bookworm | (not affected) | |||
| vips | source | trixie | (not affected) | |||
| vips | source | (unstable) | 8.18.3-1 |
[trixie] - vips <not-affected> (Vulnerable code not present)
[bookworm] - vips <not-affected> (Vulnerable code not present)
https://github.com/libvips/libvips/security/advisories/GHSA-h27h-jf9v-m8rg
https://github.com/libvips/libvips/pull/5039
Fixed by: https://github.com/libvips/libvips/commit/cff17794f0698a4f47c74bb31c9700b2c83252a8 (v8.18.3-rc1)
Introduced by: https://github.com/libvips/libvips/commit/db44003db1b8462ae1f6e790da4b59fce3b11c2a (v8.18.0-rc1)