CVE-2026-70652libvips: Possible heap-based buffer read overflow when resizing and re-encoding a JPEG with gain map
Updated under an hour ago ()
Does this affect you?
It affects libvips. Add what you run to find out whether that includes you.
No exploitation reported and no EPSS estimate yet.
Do this next
Free account, 1 product
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.
- CVSS
- 2.0 LOW (v4.0, CNA)CVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:N/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N
- Weakness (CWE)
- CWE-126
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- Not loaded for this CVE
- Assigned by
- GitHub_M
- NVD analysis
- Deferred
- Record last updated
- Aug 21, 2026
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
libvips libvips libvips:libvips (from the name) | before 8.18.3 | CNA record |
References
- https://github.com/libvips/libvips/security/advisories/GHSA-h27h-jf9v-m8rgx-refsource-confirm
- https://github.com/libvips/libvips/pull/5039x-refsource-misc
- https://github.com/libvips/libvips/commit/cff17794f0698a4f47c74bb31c9700b2c83252a8x-refsource-misc
- https://github.com/libvips/libvips/releases/tag/v8.18.3x-refsource-misc
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.