Skip to main content
Public proof of conceptFix available

CVE-2026-2913

libvips source.c vips_source_read_to_memory heap-based overflow

A public proof of concept exists; no exploitation attested.

  • Published2026-02-22
  • WeaknessCWE-119 · CWE-122

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

A vulnerability was determined in libvips up to 8.19.0. The affected element is the function vips_source_read_to_memory of the file libvips/iofuncs/source.c. This manipulation causes heap-based buffer overflow. It is possible to launch the attack on the local host. The attack's complexity is rated as high. The exploitability is described as difficult. The exploit has been publicly disclosed and may be utilized. Patch name: a56feecbe9ed66521d9647ec9fbcd2546eccd7ee. Applying a patch is the recommended action to fix this issue. The confirmation of the bugfix mentions: "[T]he impact of this is negligible, since this only affects custom seekable sources larger than 4 GiB (and the crash occurs in user code rather than libvips itself)."

Timeline

dates in UTC
  1. 2026-02-2204:15CVE publishedNVD

Versions per branch

NVD
Libvips
BranchAffectedFixed in
8.19≤ 8.19.0no fix published

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As VulDB, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • libvips
    Affected
    • = 8.0no fix stated
    • = 8.1no fix stated
    • = 8.2no fix stated
    • = 8.3no fix stated
    • = 8.4no fix stated
    • = 8.5no fix stated
    • = 8.6no fix stated
    • = 8.7no fix stated

    12 more version lines in the CVE record.

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2026-02-22

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • libvipsWolfiall versions · fixed in 8.18.0-r3and 2 other packages
  • libvipsChainguardall versions · fixed in 8.18.0-r3and 2 other packages
  • libvips-8.17Wolfiall versions · fixed in 8.17.3-r1
  • libvips-8.17Chainguardall versions · fixed in 8.17.3-r1
  • vipsUbuntu:Pro:26.04:LTSall versions · no fixed version listed
  • vipsUbuntu:Pro:24.04:LTSall versions · no fixed version listed
  • vipsUbuntu:Pro:22.04:LTSall versions · no fixed version listed
  • vipsUbuntu:Pro:20.04:LTSall versions · no fixed version listed

8 more package ranges on OSV.dev

Vendor advisories

  • CVE-2026-2913 Red Hat Product Security

    libvips: libvips: Denial of Service via heap-based buffer overflow in vips_source_read_to_memory

Full record on NVD

Fix

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

  • CISA-ADPSSVC decisionpoc2026-02-23
  • CNACVSS 4.01.1known since 2026-10-23
  • CNACVSS 3.12.5known since 2026-10-23
  • NVDCVSS 3.17read 2026-10-23
  • CNACVSS 2.01known since 2026-10-23
  • CNAweakness (CWE)CWE-119, CWE-122known since 2026-10-23
  • FIRST EPSSEPSS score0.2 %2026-11-08
  • OSVaffected packages—
  • GitHub Advisoriesadvisory—

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 4.0 vector
CVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P/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
Published
2026-02-22
Last Modified
2026-06-17
NVD status
Analyzed
GitHub Advisory
GHSA-qjwf-h778-47mm

Frequently asked questions

What is CVE-2026-2913?

A vulnerability was determined in libvips up to 8.19.0. The affected element is the function vips_source_read_to_memory of the file libvips/iofuncs/source.c. This manipulation causes heap-based buffer overflow. It is possible to launch the attack on the local host. The attack's complexity is rated as high. The exploitability is described as difficult. The exploit has been publicly disclosed and may be utilized. Patch name: a56feecbe9ed66521d9647ec9fbcd2546eccd7ee. Applying a patch is the recommended action to fix this issue. The confirmation of the bugfix mentions: "[T]he impact of this is negligible, since this only affects custom seekable sources larger than 4 GiB (and the crash occurs in user code rather than libvips itself)."

Is CVE-2026-2913 actively exploited?

A proof-of-concept exploit exists for CVE-2026-2913, but active exploitation has not been confirmed at this time.

What is the CVSS score for CVE-2026-2913?

CVE-2026-2913 has a CVSS v3 base score of 7 (HIGH severity), with vector string CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H.

Running libvips? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record