Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-70654— libvips: A well-crafted PPM image processed via a custom source could lead to possible heap buffer write overflow

Quick assessment

Affected
libvips libvips
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

libvips是libvips团队开源的一款图像处理库。 libvips 8.18.3之前版本存在缓冲区错误漏洞,该漏洞源于在vips_source_read_to_memory函数中使用VIPS_MAX而非VIPS_MIN选择剩余读取大小,导致最多4032字节被写入分配的堆缓冲区之外,造成内存损坏或进程崩溃。

CVSS 5.8 · Medium EPSS 0.14% · P3

Possible ATT&CK Techniques 1 AI

T1203 · Exploitation for Client Execution

Affected Version Matrix 1

VendorProduct Version RangeStatus
libvips libvips < 8.18.3 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-70654

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
libvips: A well-crafted PPM image processed via a custom source could lead to possible heap buffer write overflow
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
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
Source: CVE Program / CVE List V5
Vulnerability Type
堆缓冲区溢出
Source: CVE Program / CVE List V5
Vulnerability Title
libvips 缓冲区错误漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
libvips是libvips团队开源的一款图像处理库。 libvips 8.18.3之前版本存在缓冲区错误漏洞,该漏洞源于在vips_source_read_to_memory函数中使用VIPS_MAX而非VIPS_MIN选择剩余读取大小,导致最多4032字节被写入分配的堆缓冲区之外,造成内存损坏或进程崩溃。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
libvips libvips < 8.18.3 -

II. Public POCs for CVE-2026-70654

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-70654

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-70654 (2)

Vendor Advisories for CVE-2026-70654 (1)

Vendor Pages for CVE-2026-70654 (1)

Same Patch Batch · libvips · 2026-08-20 · 5 CVEs total

CVE-2026-69242 8.4 HIGH libvips: Integer overflow leading to heap buffer overflow leading to possible attacker-con
CVE-2026-70651 6.9 MEDIUM libvips: Possible integer overflow when reading multi-page TIFF images via ImageMagick
CVE-2026-70653 4.8 MEDIUM libvips: Possible heap-based buffer read overflow when decoding a well-crafted RLE Radianc
CVE-2026-70652 2.0 LOW libvips: Possible heap-based buffer read overflow when resizing and re-encoding a JPEG wit

IV. Related Vulnerabilities

V. Comments for CVE-2026-70654

No comments yet


Leave a comment