CVE-2026-70652

libvips: Possible heap-based buffer read overflow when resizing and re-encoding a JPEG with gain map

LOW
2
CVSS Score
Published: August 20, 2026 at 09:04 PM UTC
Updated: October 26, 2026 at 10:10 AM UTC
1 product affected across 1 vendorLibvips

Using libvips by libvips?

Get instant alerts when new vulnerabilities affect libvips - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
LOW2
Exploit prediction
EPSS 0.1%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 8.18.3
Affected range stops below 8.18.3, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

2LOWGitHub_M
Vector?

Quick Info

StatusDEFERRED
CWE
CWE-126

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card