{
  "id": "CVE-2025-59933",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-59933",
  "published_at": "2025-09-29T22:04:09.404Z",
  "title": "libvips is vulnerable to Buffer Over-Read in poppler-based pdfload",
  "vendor": "libvips",
  "product": "libvips",
  "cvss": {
    "score": 7.8,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-126",
  "cpes": [
    "cpe:2.3:a:libvips:libvips:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 5.1,
    "nvd": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "libvips",
        "product": "libvips",
        "ranges": [
          "\u003c 8.17.2"
        ],
        "fixed_in": [
          "8.17.2"
        ]
      }
    ],
    "upgrade": [
      "Upgrade libvips to 8.17.2 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/libvips/libvips/security/advisories/GHSA-q8px-4w5q-c2r4"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/libvips/libvips/commit/a58bfae9223a5466cc81ba9fe6dfb08233cf17d1"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/libvips/libvips/releases/tag/v8.17.2"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
