Skip to main content

libvips CVE-2026-70652

| EUVDEUVD-2026-63652 LOW
Buffer Over-read (CWE-126)
2026-08-20 security-advisories@github.com
2.0
CVSS 4.0 · Vendor: github

Severity by source

Vendor (github) PRIMARY
2.0 LOW
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/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
vuln.today AI
3.6 LOW

Local vector and high complexity reflect the opt-in libultrahdr build requirement and crafted-input trigger; PR:L matches the authenticated local/application user needed to submit images.

3.1 AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:L
4.0 AV:L/AC:H/AT:N/PR:L/UI:N/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Local
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
X

Lifecycle Timeline

3
Patch available
Aug 20, 2026 - 22:04 EUVD
Source Code Evidence Fetched
Aug 20, 2026 - 21:37 vuln.today
Analysis Generated
Aug 20, 2026 - 21:37 vuln.today

DescriptionCVE.org

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.

AnalysisAI

Heap buffer over-read in libvips prior to 8.18.3 allows disclosure of adjacent heap memory or process crash when processing JPEG images through the UltraHDR save pipeline. The flaw in vips_foreign_save_uhdr_set_raw_hdr stems from using raw pixel dimension arithmetic instead of the library's safe VIPS_IMAGE_N_PELS macro to size an output buffer, producing an undersized allocation when a pipeline enlarges an incoming JPEG before gain-map encoding. …

Unlock full vulnerability intelligence

  • Risk assessment & exploitation conditions
  • Attack chain visualization
  • Remediation with exact patch versions
  • Threat intelligence from 22 sources
  • Personal watchlist & email alerts

Free forever · No credit card required

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata

Access
technique details hidden
Delivery
technique details hidden
Exploit
technique details hidden
Execution
technique details hidden
Impact
technique details hidden

Vulnerability AssessmentAI

Exploitation Four specific conditions must all be met: (1) libvips must be compiled with libultrahdr support, which is a non-default, opt-in build configuration; (2) the application pipeline must specifically invoke the `VipsForeignSaveUhdr` save class and route through the gain-map encoding path in `vips_foreign_save_uhdr_set_raw_hdr`; (3) the input JPEG must be crafted or structured such that the pipeline enlarges it to a very large output before uhdr encoding - normal-sized inputs do not trigger the condition; (4) the attacker must have local or application-level access to submit image inputs to the processing pipeline (CVSS PR:L, AV:L). … Additional conditions and limiting factors are described in the full assessment.
Risk Assessment The CVSS 4.0 base score of 2.0 is internally consistent with the described behavior and accurately reflects the constrained real-world risk. … Full risk analysis with EPSS, KEV, and SSVC signal comparison available after sign-in.
Exploit Scenario Full exploit scenario with step-by-step reproduction available after sign-in.
Remediation Upgrade to libvips 8.18.3 or later, available at https://github.com/libvips/libvips/releases/tag/v8.18.3. … Detailed patch versions, workarounds, and compensating controls in full report.

Threat intelligence, references, and detailed analysis are available after sign-in.

Share

CVE-2026-70652 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy