CVE-2025-59933: libvips is vulnerable to Buffer Over-Read in poppler-based pdfload

Published Sep 29, 2025
·
Updated

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 vipsoperationblockset, which is available in most language bindings, or to set VIPSBLOCKUNTRUSTED environment variable at runtime, which will block all untrusted loaders including PDF input via poppler.

Affected Software

7 affected componentsFixes available
libvips libvips<=8.17.1
libvips libvips<8.17.2
ubuntu/vips<8.4.5-1ubuntu0.1~esm2
8.4.5-1ubuntu0.1~esm2
ubuntu/vips<8.9.1-2ubuntu0.1~esm2
8.9.1-2ubuntu0.1~esm2
ubuntu/vips<8.12.1-1ubuntu0.1~esm3
8.12.1-1ubuntu0.1~esm3
ubuntu/vips<8.15.1-1.1ubuntu0.1~esm2
8.15.1-1.1ubuntu0.1~esm2
ubuntu/vips*

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade ubuntu/vips to a version that resolves this vulnerability.

    Fixed in 8.4.5-1ubuntu0.1~esm2
  2. Upgrade

    Upgrade ubuntu/vips to a version that resolves this vulnerability.

    Fixed in 8.9.1-2ubuntu0.1~esm2
  3. Upgrade

    Upgrade ubuntu/vips to a version that resolves this vulnerability.

    Fixed in 8.12.1-1ubuntu0.1~esm3
  4. Upgrade

    Upgrade ubuntu/vips to a version that resolves this vulnerability.

    Fixed in 8.15.1-1.1ubuntu0.1~esm2
  5. Upgrade

    Upgrade libvips to a version that resolves this vulnerability.

    Fixed in 8.17.2
  6. Configuration

    Block the VipsForeignLoadPdf operation via vips_operation_block_set, or set the VIPS_BLOCK_UNTRUSTED environment variable at runtime to block untrusted loaders, including PDF input via poppler.

    libvips VipsForeignLoadPdf / VIPS_BLOCK_UNTRUSTED = blocked

Event History

Sep 29, 2025
CVE Published
via MITRE·10:04 PM
Data Sourced
via MITRE·10:04 PM
DescriptionWeakness
Data Sourced
via OSV·10:15 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·10:15 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-59933?

CVE-2025-59933 is classified as a buffer read overflow vulnerability that can potentially lead to information disclosure or system instability.

2

How do I fix CVE-2025-59933?

To fix CVE-2025-59933, upgrade libvips to version 8.17.2 or later, which resolves the buffer read overflow issue.

3

Which versions of libvips are affected by CVE-2025-59933?

CVE-2025-59933 affects libvips versions up to and including 8.17.1 when compiled with PDF input support via poppler.

4

What impact does CVE-2025-59933 have on applications using libvips?

Applications using affected versions of libvips may experience crashes or unexpected behavior when processing crafted PDF files.

5

Is there a temporary workaround for CVE-2025-59933?

A temporary workaround for CVE-2025-59933 is to disable PDF input support in libvips until an upgrade can be performed.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203