{"id":"CVE-2025-59933","published":"2025-09-29T22:04:09Z","modified":"2025-12-24T14:49:49Z","title":"libvips is vulnerable to Buffer Over-Read in poppler-based pdfload","vendor":"libvips","product":"libvips","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.1,"severity":"MEDIUM","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00189,"percentile":0.08536,"provenance":"source"},"cwes":[{"id":"CWE-126","name":"Buffer Over-read"}],"references":[{"url":"https://github.com/libvips/libvips/security/advisories/GHSA-q8px-4w5q-c2r4","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/libvips/libvips/commit/a58bfae9223a5466cc81ba9fe6dfb08233cf17d1","tags":["x_refsource_MISC"]},{"url":"https://github.com/libvips/libvips/releases/tag/v8.17.2","tags":["x_refsource_MISC"]},{"url":"https://www.vicarius.io/vsociety/posts/cve-2025-59933-detect-libvips-vulnerability","tags":[]},{"url":"https://www.vicarius.io/vsociety/posts/cve-2025-59933-mitigate-libvips-vulnerability","tags":[]}],"priority":{"score":5.3,"factors":[{"name":"EPSS percentile","points":1.71},{"name":"CVSS severity","points":3.57}]},"vendorSlug":"libvips","affectedVersions":[{"vendor":"libvips","product":"libvips","versions":["< 8.17.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-09-30T13:32:22.889441Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-31647","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-libvips-cve-2023-40032","parents":[{"from":"CVE-2023-40032","to":"CVE-2025-59933","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["libvips/foreign/svgload.c"],"commits":["https://github.com/libvips/libvips/commit/e091d65835966ef56d53a4105a7362cafdb1582b","https://github.com/libvips/libvips/commit/a58bfae9223a5466cc81ba9fe6dfb08233cf17d1"],"basis":"rarely changed file"}]}]}}