Skip to content
OpenAdvisories
Medium · 5.1 CVE-2025-59933 EUVD-2025-31647

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

Published Sep 29, 2025 · Updated Dec 24, 2025 · Assigned by GitHub_M

Description

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.

Affected products

VendorProductAffectedFixed
libvips libvips < 8.17.2 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 vips 8.17.3-1 —
Debian 13 vips 8.16.1-1+deb13u2 —
Debian 12 vips No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 25.10 vips No fix yet —
Show 6 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 26.04 LTS vips 8.18.0-1ubuntu0.1~esm2 USN-8994-1
Ubuntu Pro 24.04 LTS vips 8.15.1-1.1ubuntu0.1~esm2 USN-8994-1
Ubuntu Pro 22.04 LTS vips 8.12.1-1ubuntu0.1~esm3 USN-8994-1
Ubuntu Pro 20.04 LTS vips 8.9.1-2ubuntu0.1~esm2 USN-8994-1
Ubuntu Pro 18.04 LTS vips 8.4.5-1ubuntu0.1~esm2 USN-8994-1
Ubuntu Pro 16.04 LTS vips 8.2.2-1ubuntu0.1~esm1 USN-8994-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed vips 8.18.7-1.1 openSUSE-SU-2026:12266-1

Advisories 2

References