Every CVE Search/ Get API key

CVE-2025-59933

libvips is vulnerable to Buffer Over-Read in poppler-based pdfload

5.1 MediumFix available

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

0.19%Up 0.2 points since Sep 30, 2025
90%50%10%1%

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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 HighCVSS: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 MediumCVSS: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 HighCVSS: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 MediumCVSS: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 HighCVSS: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

Affected packages
PackageAffectedFixed
vips
Debian: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 less
8.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
vips
Debian:13
before 8.16.1-1+deb13u2, plus listed versions
8.16.1-18.16.1-1+deb13u1
8.16.1-1+deb13u2
vips
Debian:14
before 8.17.3-1, plus listed versions
8.16.1-18.16.1-2
8.17.3-1
vips
Ubuntu: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
vips
Ubuntu: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
vips
Ubuntu: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
vips
Ubuntu: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 less
8.15.1-1build18.15.1-1.1build38.15.1-1.1build48.15.1-1.1ubuntu0.1~esm1
8.15.1-1.1ubuntu0.1~esm2
vips
Ubuntu:25.10
All versions, plus listed versions
8.16.0-2build18.16.1-1
None known
vips
Ubuntu: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
vips
Ubuntu: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
Affected packages
PackageAffectedFixed
vips
Ubuntu: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
vips
Ubuntu: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
vips
Ubuntu: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 less
8.15.1-1build18.15.1-1.1build38.15.1-1.1build48.15.1-1.1ubuntu0.1~esm1
8.15.1-1.1ubuntu0.1~esm2
vips
Ubuntu: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
vips
openSUSE:Tumbleweed
From an advisory covering 9 CVEs
before 8.18.7-1.1
8.18.7-1.1

History

History
RecordedChangedSources
affected
affected, aliases, referencesOSV
affected, factsOSV
first indexedCVE 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

Show 22 moreShow less
MoveEnter Open