Back to CVE records
Low 2.0Published Aug 20, 2026

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.

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

Affected products
libvips libvips
libvips:libvips (from the name)
before 8.18.3
CNA record

References

  • x-refsource-confirm
  • x-refsource-misc
  • x-refsource-misc
  • x-refsource-misc

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.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.