CVE-2025-59933
libvips is vulnerable to Buffer Over-Read in poppler-based pdfload
libvips is a demand-driven, horizontally threaded image processing library. For versions 8.17.1 and below, when libvips is compiled with support for PDF input via poppler, the pdfload operation is affected by a buffer read overflow when parsing the header of a crafted PDF with a page that defines a width but not a height. Those using libvips compiled without support for PDF input are unaffected as well as thosewith support for PDF input via PDFium. This issue is fixed in version 8.17.2. A workaround for those affected is to block the VipsForeignLoadPdf operation via vips_operation_block_set, which is available in most language bindings, or to set VIPS_BLOCK_UNTRUSTED environment variable at runtime, which will block all untrusted loaders including PDF input via poppler.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- Low
- Integrity
- Low
- Availability
- Low
Exploit likelihood
What each source reports
CVE List Score used
5.1
libvips is vulnerable to Buffer Over-Read in poppler-based pdfload
libvips is a demand-driven, horizontally threaded image processing library. For versions 8.17.1 and below, when libvips is compiled with support for PDF input via poppler, the pdfload operation is affected by a buffer read overflow when parsing the header of a crafted PDF with a page that defines a width but not a height. Those using libvips compiled without support for PDF input are unaffected as well as thosewith support for PDF input via PDFium. This issue is fixed in version 8.17.2. A workaround for those affected is to block the VipsForeignLoadPdf operation via vips_operation_block_set, which is available in most language bindings, or to set VIPS_BLOCK_UNTRUSTED environment variable at runtime, which will block all untrusted loaders including PDF input via poppler.
- Record
CVE-2025-59933- CVSS 4.0
- 5.1 Medium
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:L/SI:L/SA:L - Weakness
- CWE-126
- Updated
- 2026-11-02
EUVDEUVD-2025-31647
5.1
libvips is a demand-driven, horizontally threaded image processing library. For versions 8.17.1 and below, when libvips is compiled with support for PDF input via poppler, the pdfload operation is affected by a buffer read overflow when parsing the header of a crafted PDF with a page that defines a width but not a height. Those using libvips compiled without support for PDF input are unaffected as well as thosewith support for PDF input via PDFium. This issue is fixed in version 8.17.2. A workaround for those affected is to block the VipsForeignLoadPdf operation via vips_operation_block_set, which is available in most language bindings, or to set VIPS_BLOCK_UNTRUSTED environment variable at runtime, which will block all untrusted loaders including PDF input via poppler.
- Record
EUVD-2025-31647- CVSS 4.0
- 5.1 Medium
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:L/SI:L/SA:L - Updated
- 2026-11-02
NVD
5.1
libvips is a demand-driven, horizontally threaded image processing library. For versions 8.17.1 and below, when libvips is compiled with support for PDF input via poppler, the pdfload operation is affected by a buffer read overflow when parsing the header of a crafted PDF with a page that defines a width but not a height. Those using libvips compiled without support for PDF input are unaffected as well as thosewith support for PDF input via PDFium. This issue is fixed in version 8.17.2. A workaround for those affected is to block the VipsForeignLoadPdf operation via vips_operation_block_set, which is available in most language bindings, or to set VIPS_BLOCK_UNTRUSTED environment variable at runtime, which will block all untrusted loaders including PDF input via poppler.
- Record
CVE-2025-59933- CVSS 4.0
- 5.1 Medium
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:L/SI:L/SA:L/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 - CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Weakness
- CWE-126
- Updated
- 2026-11-02
OSV
5.1
libvips is vulnerable to Buffer Over-Read in poppler-based pdfload
libvips is a demand-driven, horizontally threaded image processing library. For versions 8.17.1 and below, when libvips is compiled with support for PDF input via poppler, the pdfload operation is affected by a buffer read overflow when parsing the header of a crafted PDF with a page that defines a width but not a height. Those using libvips compiled without support for PDF input are unaffected as well as thosewith support for PDF input via PDFium. This issue is fixed in version 8.17.2. A workaround for those affected is to block the VipsForeignLoadPdf operation via vips_operation_block_set, which is available in most language bindings, or to set VIPS_BLOCK_UNTRUSTED environment variable at runtime, which will block all untrusted loaders including PDF input via poppler.
- Record
CVE-2025-59933- CVSS 4.0
- 5.1 Medium
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:L/SI:L/SA:L - Weakness
- CWE-126
- Updated
- 2026-11-02
OSVDEBIAN-CVE-2025-59933
7.8
libvips is a demand-driven, horizontally threaded image processing library. For versions 8.17.1 and below, when libvips is compiled with support for PDF input via poppler, the pdfload operation is affected by a buffer read overflow when parsing the header of a crafted PDF with a page that defines a width but not a height. Those using libvips compiled without support for PDF input are unaffected as well as thosewith support for PDF input via PDFium. This issue is fixed in version 8.17.2. A workaround for those affected is to block the VipsForeignLoadPdf operation via vips_operation_block_set, which is available in most language bindings, or to set VIPS_BLOCK_UNTRUSTED environment variable at runtime, which will block all untrusted loaders including PDF input via poppler.
- Record
DEBIAN-CVE-2025-59933- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2025-59933
5.1
libvips is a demand-driven, horizontally threaded image processing library. For versions 8.17.1 and below, when libvips is compiled with support for PDF input via poppler, the pdfload operation is affected by a buffer read overflow when parsing the header of a crafted PDF with a page that defines a width but not a height. Those using libvips compiled without support for PDF input are unaffected as well as thosewith support for PDF input via PDFium. This issue is fixed in version 8.17.2. A workaround for those affected is to block the VipsForeignLoadPdf operation via vips_operation_block_set, which is available in most language bindings, or to set VIPS_BLOCK_UNTRUSTED environment variable at runtime, which will block all untrusted loaders including PDF input via poppler.
- Record
UBUNTU-CVE-2025-59933- CVSS 4.0
- 5.1 Medium
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:L/SI:L/SA:L - CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-04
OSVopenSUSE-SU-2026:12266-1 No score
libvips-devel-8.18.7-1.1 on GA media
These are all security issues fixed in the libvips-devel-8.18.7-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2026:12266-1- Updated
- 2026-11-02
OSVUSN-8994-1 No score
vips vulnerabilities
It was discovered that libvips incorrectly handled certain PDF files with a page that defines a width but not a height. An attacker could possibly use this issue to cause libvips to crash, resulting in a denial of service, or obtain sensitive information. This issue only affected Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, and Ubuntu 24.04 LTS. (CVE-2025-59933)
It was discovered that libvips incorrectly determined image dimensions in the vipsload operation, leading to an integer overflow. An attacker could possibly use this issue to cause libvips to crash, resulting in a denial of service, or possibly execute arbitrary code. (CVE-2026-33327)
It was discovered that libvips incorrectly determined image dimensions in the gifload operation on 32-bit systems, leading to an integer overflow. An attacker could possibly use this issue to cause libvips to crash, resulting in a denial of service. This issue only affected Ubuntu 24.04 LTS and Ubuntu 26.04 LTS. (CVE-2026-33328)
It was discovered that libvips did not properly validate EXIF tag groups. An attacker could possibly use this issue to cause libvips to crash, resulting in a denial of service. (CVE-2026-35590)
It was discovered that libvips incorrectly determined the number of channels in certain encoded tiles within TIFF images. An attacker could possibly use this issue to cause libvips to crash, resulting in a denial of service, or possibly execute arbitrary code. This issue only affected Ubuntu 22.04 LTS, Ubuntu 24.04 LTS, and Ubuntu 26.04 LTS. (CVE-2026-35591)
It was discovered that libvips incorrectly validated scanlines in certain TIFF images with many bands, leading to an integer overflow. An attacker could possibly use this issue to cause libvips to crash, resulting in a denial of service, obtain sensitive information, or possibly execute arbitrary code. (CVE-2026-69242)
It was discovered that libvips incorrectly calculated frame heights when loading certain multi-page TIFF images through ImageMagick. An attacker could possibly use this issue to cause libvips to crash, resulting in a denial of service. (CVE-2026-70651)
It was discovered that libvips incorrectly handled certain Radiance images. An attacker could possibly use this issue to obtain sensitive information. (CVE-2026-70653)
It was discovered that libvips incorrectly calculated read sizes when processing certain uncompressed PPM images from custom sources. An attacker could possibly use this issue to cause libvips to crash, resulting in a denial of service, or possibly execute arbitrary code. This issue only affected Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, Ubuntu 24.04 LTS, and Ubuntu 26.04 LTS. (CVE-2026-70654)
- Record
USN-8994-1- Updated
- 2026-11-04
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
vipsDebian:12 |
All versions, plus listed versions 8.14.1-38.14.1-3+deb12u18.14.1-3+deb12u28.14.1-3+deb12u38.14.2-1 Show 30 moreShow less8.14.3-18.14.4-18.14.5-18.15.0-18.15.0-28.15.0~rc2-18.15.0~rc2-28.15.1-18.15.1-1.18.15.1-1.1~exp18.15.2-18.15.2-28.15.3-18.16.0-18.16.0-28.16.1-18.16.1-28.17.3-18.17.3-28.18.0-18.18.0-28.18.0-38.18.1-18.18.2-18.18.3-18.18.4-18.18.5-18.18.6-18.18.6-28.18.7-1 |
None known |
vipsDebian:13 |
before 8.16.1-1+deb13u2, plus listed versions 8.16.1-18.16.1-1+deb13u1 |
8.16.1-1+deb13u2 |
vipsDebian:14 |
before 8.17.3-1, plus listed versions 8.16.1-18.16.1-2 |
8.17.3-1 |
vipsUbuntu:Pro:18.04:LTS |
before 8.4.5-1ubuntu0.1~esm2, plus listed versions 8.4.5-1build18.4.5-1ubuntu0.1~esm1 |
8.4.5-1ubuntu0.1~esm2 |
vipsUbuntu:Pro:20.04:LTS |
before 8.9.1-2ubuntu0.1~esm2, plus listed versions 8.7.4-1build18.8.3-38.8.3-3ubuntu18.9.0-18.9.0-1build18.9.1-18.9.1-28.9.1-2ubuntu0.1~esm1 |
8.9.1-2ubuntu0.1~esm2 |
vipsUbuntu:Pro:22.04:LTS |
before 8.12.1-1ubuntu0.1~esm3, plus listed versions 8.10.5-2ubuntu18.11.4-28.12.1-18.12.1-1build18.12.1-1ubuntu0.1~esm18.12.1-1ubuntu0.1~esm2 |
8.12.1-1ubuntu0.1~esm3 |
vipsUbuntu:Pro:24.04:LTS |
before 8.15.1-1.1ubuntu0.1~esm2, plus listed versions 8.14.3-18.14.5-18.15.0-18.15.0-28.15.1-1 Show 4 moreShow less8.15.1-1build18.15.1-1.1build38.15.1-1.1build48.15.1-1.1ubuntu0.1~esm1 |
8.15.1-1.1ubuntu0.1~esm2 |
vipsUbuntu:25.10 |
All versions, plus listed versions 8.16.0-2build18.16.1-1 |
None known |
vipsUbuntu:Pro:16.04:LTS From an advisory covering 9 CVEs |
before 8.2.2-1ubuntu0.1~esm1, plus listed versions 7.40.6-2ubuntu28.0.2-28.2.1-18.2.2-1 |
8.2.2-1ubuntu0.1~esm1 |
vipsUbuntu:Pro:18.04:LTS From an advisory covering 9 CVEs |
before 8.4.5-1ubuntu0.1~esm2, plus listed versions 8.4.5-1build18.4.5-1ubuntu0.1~esm1 |
8.4.5-1ubuntu0.1~esm2 |
Show 5 moreShow less
| Package | Affected | Fixed |
|---|---|---|
vipsUbuntu:Pro:20.04:LTS From an advisory covering 9 CVEs |
before 8.9.1-2ubuntu0.1~esm2, plus listed versions 8.7.4-1build18.8.3-38.8.3-3ubuntu18.9.0-18.9.0-1build18.9.1-18.9.1-28.9.1-2ubuntu0.1~esm1 |
8.9.1-2ubuntu0.1~esm2 |
vipsUbuntu:Pro:22.04:LTS From an advisory covering 9 CVEs |
before 8.12.1-1ubuntu0.1~esm3, plus listed versions 8.10.5-2ubuntu18.11.4-28.12.1-18.12.1-1build18.12.1-1ubuntu0.1~esm18.12.1-1ubuntu0.1~esm2 |
8.12.1-1ubuntu0.1~esm3 |
vipsUbuntu:Pro:24.04:LTS From an advisory covering 9 CVEs |
before 8.15.1-1.1ubuntu0.1~esm2, plus listed versions 8.14.3-18.14.5-18.15.0-18.15.0-28.15.1-1 Show 4 moreShow less8.15.1-1build18.15.1-1.1build38.15.1-1.1build48.15.1-1.1ubuntu0.1~esm1 |
8.15.1-1.1ubuntu0.1~esm2 |
vipsUbuntu:Pro:26.04:LTS From an advisory covering 9 CVEs |
before 8.18.0-1ubuntu0.1~esm2, plus listed versions 8.16.1-18.16.1-28.17.3-28.18.0-18.18.0-1build18.18.0-1ubuntu0.1~esm1 |
8.18.0-1ubuntu0.1~esm2 |
vipsopenSUSE:Tumbleweed From an advisory covering 9 CVEs |
before 8.18.7-1.1 | 8.18.7-1.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected | ||
| affected, aliases, references | OSV | |
| affected, facts | OSV | |
| first indexed | CVE List, EUVD, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2025-59933 is a medium vulnerability (CVSS 5.1) in Libvips, published September 29, 2025. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.19%, the 8th percentile. Fixed in vips 8.16.1-1+deb13u2.
References
github.com/libvips/libvips/security/advisories/GHSA-q8px-4w5q-c2r4
github.com/libvips/libvips/commit/a58bfae9223a5466cc81ba9fe6dfb08233cf17d1
github.com/libvips/libvips/releases/tag/v8.17.2
vicarius.io/vsociety/posts/cve-2025-59933-detect-libvips-vulnerability
vicarius.io/vsociety/posts/cve-2025-59933-mitigate-libvips-vulnerability
github.com/CVEProject/cvelistV5/tree/main/cves/2025/59xxx/CVE-2025-59933.json
Show 22 moreShow less
nvd.nist.gov/vuln/detail/CVE-2025-59933
security-tracker.debian.org/tracker/CVE-2025-59933
ubuntu.com/security/CVE-2025-59933
cve.org/CVERecord?id=CVE-2025-59933
ubuntu.com/security/notices/USN-8994-1
ubuntu.com/security/CVE-2026-33327
ubuntu.com/security/CVE-2026-33328
ubuntu.com/security/CVE-2026-35590
ubuntu.com/security/CVE-2026-35591
ubuntu.com/security/CVE-2026-69242
ubuntu.com/security/CVE-2026-70651
ubuntu.com/security/CVE-2026-70653
ubuntu.com/security/CVE-2026-70654
suse.com/security/cve/CVE-2019-17534
suse.com/security/cve/CVE-2019-6976
suse.com/security/cve/CVE-2023-40032
suse.com/security/cve/CVE-2025-59933
suse.com/security/cve/CVE-2026-2913
suse.com/security/cve/CVE-2026-69242
suse.com/security/cve/CVE-2026-70651
suse.com/security/cve/CVE-2026-70652
suse.com/security/cve/CVE-2026-70654