CVE-2026-70654
MEDIUM 5.8 ALL-YEARSlibvips 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.
No known exploitation, public exploit, or elevated probability at this time. Track for changes.
Exploitation likelihood
0.1%chance of exploitation in 30 days · 1st percentile
Impact if exploited
5.8CVSS 4.0 · MEDIUM · CNA
- ConfidentialityNone
- IntegrityLow
- AvailabilityHigh
What an attacker needs
- ⚠Access: Requires local access to the host
- ⚠Privileges: Requires a low-privilege account
- ✓User interaction: No user interaction needed
- ⚠Complexity: Needs a race window or specific setup
- ⚠Requirements: Specific conditions must be present
✓ lowers the bar for an attacker · ⚠ raises it
Proof of concept
No public PoC is currently catalogued.
Search for new PoCs
Search GitHub now — results may be empty or unverified.
Tracked sources are checked weekly for the full archive, including PoCs published after the original disclosure. A later release appears after a tracked source lists it and a refresh succeeds.
Weakness (CWE)
- CWE-122: : Heap-based Buffer Overflow
CVSS vector
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
References and research data (JSON)
Vendor product assessments
All currently supported Red Hat products · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
Red Hat · CVE-2026-70654 · Updated 2026-08-31T06:59:31+00:00
All CVSS metrics
- MEDIUM 5.8 v4.0 · CNA Primary
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 - MEDIUM 5.8 v4.0 · NVD Secondary
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
References
Advisories
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-70654.json Red Hat · CVE-2026-70654 · Updated 2026-08-31T06:59:31+00:00
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-63656 EUVD · EUVD-2026-63656
Technical & other
- https://github.com/libvips/libvips/security/advisories/GHSA-rjmm-3qch-m9rg CVE record · GitHub_M · Updated 2026-08-20T21:07:25.540Z
NVD · CVE-2026-70654 · Updated 2026-09-18T20:09:01.757
Red Hat · CVE-2026-70654 · Updated 2026-08-31T06:59:31+00:00 - https://github.com/libvips/libvips/pull/5038 CVE record · GitHub_M · Updated 2026-08-20T21:07:25.540Z
NVD · CVE-2026-70654 · Updated 2026-09-18T20:09:01.757
Red Hat · CVE-2026-70654 · Updated 2026-08-31T06:59:31+00:00 - https://github.com/libvips/libvips/commit/80e021c6cdda0f80b756c2109d99839c94c03258 CVE record · GitHub_M · Updated 2026-08-20T21:07:25.540Z
NVD · CVE-2026-70654 · Updated 2026-09-18T20:09:01.757
Red Hat · CVE-2026-70654 · Updated 2026-08-31T06:59:31+00:00 - https://github.com/libvips/libvips/releases/tag/v8.18.3 CVE record · GitHub_M · Updated 2026-08-20T21:07:25.540Z
NVD · CVE-2026-70654 · Updated 2026-09-18T20:09:01.757
Red Hat · CVE-2026-70654 · Updated 2026-08-31T06:59:31+00:00 - https://access.redhat.com/security/cve/CVE-2026-70654 Red Hat · CVE-2026-70654 · Updated 2026-08-31T06:59:31+00:00
- https://www.cve.org/CVERecord?id=CVE-2026-70654 Red Hat · CVE-2026-70654 · Updated 2026-08-31T06:59:31+00:00
- https://nvd.nist.gov/vuln/detail/CVE-2026-70654 Red Hat · CVE-2026-70654 · Updated 2026-08-31T06:59:31+00:00
Sources: NVD · CVE.org · All sources and attribution · EPSS