CVE-2026-2913libvips source.c vips_source_read_to_memory heap-based overflow
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)."
What to do
Fixed builds are available from Debian: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | vips | Fix pending | UBUNTU-CVE-2026-2913 | |
| Ubuntu 26.04 | vips | Fix pending | UBUNTU-CVE-2026-2913 | |
| Ubuntu 25.10 | vips | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2026-2913 | |
| Ubuntu 24.04 | vips | Fix pending | UBUNTU-CVE-2026-2913 | |
| Ubuntu 22.04 | vips | Fix pending | UBUNTU-CVE-2026-2913 | |
| Ubuntu 20.04 | vips | Fix pending | UBUNTU-CVE-2026-2913 | |
| Ubuntu 18.04 | vips | Fix pending | UBUNTU-CVE-2026-2913 | |
| Ubuntu 16.04 | vips | Fix pending | UBUNTU-CVE-2026-2913 | |
| Debian 14 | vips | Fixed | 8.18.0-2 | DEBIAN-CVE-2026-2913 |
| Debian 13 | vips | Fixed | 8.16.1-1+deb13u1 | DEBIAN-CVE-2026-2913 |
| Debian 12 | vips | Fixed | 8.14.1-3+deb12u3 | DEBIAN-CVE-2026-2913 |
What the vendor says
As published in the CVE record by VulDB, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- libvips: affected: 8.0, 8.1, 8.2, 8.3, 8.4, 8.5
Vendor advisories:
References
- https://vuldb.com/?id.347222
- https://vuldb.com/?ctiid.347222
- https://vuldb.com/?submit.755224
- https://github.com/libvips/libvips/issues/4857
- https://github.com/libvips/libvips/issues/4857#issuecomment-3878479322
- https://github.com/libvips/libvips/issues/4857#issue-3920154326
- https://github.com/libvips/libvips/commit/a56feecbe9ed66521d9647ec9fbcd2546eccd7ee
- https://github.com/libvips/libvips/
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.