PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-70654 libvips CVE debrief

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.

Vendor
libvips
Product
Unknown
CVSS
MEDIUM 5.8
CISA KEV
Not listed in stored evidence
Original CVE published
2026-08-20
Original CVE updated
2026-09-18
Advisory published
2026-08-20
Advisory updated
2026-09-18

Who should care

Defenders responsible for image processing applications using libvips should assess exposure and prioritize verification. This includes operators, platform administrators, vulnerability management teams, and security teams who need to verify if applications using libvips are processing untrusted images and assess exposure to custom libvips sources.

Why it matters

Defenders should care about CVE-2026-70654 because it can cause memory corruption or a process crash in libvips when processing untrusted images with custom sources, potentially leading to denial of service or arbitrary code execution, and requires verification of exposure and prioritization of updates.

  • Memory corruption or process crash when processing untrusted images
  • Potential for denial of service or arbitrary code execution
  • Need to verify if applications are using custom libvips sources
  • Prioritize updating libvips to version 8.18.3 or later

Technical summary

The libvips library has a vulnerability that can cause memory corruption or a process crash when processing untrusted uncompressed PPM images with custom sources. This issue is due to a max/min error in vips_source_read_to_memory in libvips/iofuncs/source.c, which allows up to 4032 bytes to be written beyond the allocated heap buffer. The vulnerability is fixed in version 8.18.3 and affects applications that define unusual custom libvips sources and use them to process untrusted images. Defenders should prioritize verifying if applications using libvips are processing untrusted images and assess exposure to custom libvips sources.

Defensive priority

Defenders should prioritize verifying if applications using libvips are processing untrusted images and assess exposure to custom libvips sources.

Recommended defensive actions

  • Verify if applications using libvips are processing untrusted images
  • Assess exposure to custom libvips sources
  • Update libvips to version 8.18.3 or later
  • Review compensating controls for exposed systems while remediation is scheduled and verified
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up

Evidence notes

The CVE record and NVD entry provide details on the vulnerability, its impact, and the fixed version. The vulnerability affects applications that define unusual custom libvips sources and use them to process untrusted uncompressed PPM images. Defenders should verify if applications using libvips are processing untrusted images and assess exposure to custom libvips sources. The fixed version is 8.18.3.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-70654 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-70654

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-70654 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-70654

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.