ubuntu-cve-2025-59933
Vulnerability from osv_ubuntu
Published
2025-09-29 22:15
Modified
2026-05-20 15:22
Summary
Details

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": [
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "gir1.2-vips-8.0",
            "binary_version": "8.2.2-1ubuntu0.1~esm1"
          },
          {
            "binary_name": "libvips-tools",
            "binary_version": "8.2.2-1ubuntu0.1~esm1"
          },
          {
            "binary_name": "libvips42",
            "binary_version": "8.2.2-1ubuntu0.1~esm1"
          },
          {
            "binary_name": "python-vipscc",
            "binary_version": "8.2.2-1ubuntu0.1~esm1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:16.04:LTS",
        "name": "vips",
        "purl": "pkg:deb/ubuntu/vips@8.2.2-1ubuntu0.1~esm1?arch=source\u0026distro=esm-apps/xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "7.40.6-2ubuntu2",
        "8.0.2-2",
        "8.2.1-1",
        "8.2.2-1",
        "8.2.2-1ubuntu0.1~esm1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "gir1.2-vips-8.0",
            "binary_version": "8.4.5-1ubuntu0.1~esm1"
          },
          {
            "binary_name": "libvips-tools",
            "binary_version": "8.4.5-1ubuntu0.1~esm1"
          },
          {
            "binary_name": "libvips42",
            "binary_version": "8.4.5-1ubuntu0.1~esm1"
          },
          {
            "binary_name": "python-vipscc",
            "binary_version": "8.4.5-1ubuntu0.1~esm1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:18.04:LTS",
        "name": "vips",
        "purl": "pkg:deb/ubuntu/vips@8.4.5-1ubuntu0.1~esm1?arch=source\u0026distro=esm-apps/bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "8.4.5-1build1",
        "8.4.5-1ubuntu0.1~esm1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "gir1.2-vips-8.0",
            "binary_version": "8.9.1-2"
          },
          {
            "binary_name": "libvips-tools",
            "binary_version": "8.9.1-2"
          },
          {
            "binary_name": "libvips42",
            "binary_version": "8.9.1-2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:20.04:LTS",
        "name": "vips",
        "purl": "pkg:deb/ubuntu/vips@8.9.1-2?arch=source\u0026distro=focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "8.7.4-1build1",
        "8.8.3-3",
        "8.8.3-3ubuntu1",
        "8.9.0-1",
        "8.9.0-1build1",
        "8.9.1-1",
        "8.9.1-2"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "gir1.2-vips-8.0",
            "binary_version": "8.12.1-1ubuntu0.1~esm1"
          },
          {
            "binary_name": "libvips-tools",
            "binary_version": "8.12.1-1ubuntu0.1~esm1"
          },
          {
            "binary_name": "libvips42",
            "binary_version": "8.12.1-1ubuntu0.1~esm1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:22.04:LTS",
        "name": "vips",
        "purl": "pkg:deb/ubuntu/vips@8.12.1-1ubuntu0.1~esm1?arch=source\u0026distro=esm-apps/jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "8.10.5-2ubuntu1",
        "8.11.4-2",
        "8.12.1-1",
        "8.12.1-1build1",
        "8.12.1-1ubuntu0.1~esm1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "gir1.2-vips-8.0",
            "binary_version": "8.15.1-1.1build4"
          },
          {
            "binary_name": "libvips-tools",
            "binary_version": "8.15.1-1.1build4"
          },
          {
            "binary_name": "libvips42t64",
            "binary_version": "8.15.1-1.1build4"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:24.04:LTS",
        "name": "vips",
        "purl": "pkg:deb/ubuntu/vips@8.15.1-1.1build4?arch=source\u0026distro=noble"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "8.14.3-1",
        "8.14.5-1",
        "8.15.0-1",
        "8.15.0-2",
        "8.15.1-1",
        "8.15.1-1build1",
        "8.15.1-1.1build3",
        "8.15.1-1.1build4"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "gir1.2-vips-8.0",
            "binary_version": "8.16.1-1"
          },
          {
            "binary_name": "libvips-tools",
            "binary_version": "8.16.1-1"
          },
          {
            "binary_name": "libvips42t64",
            "binary_version": "8.16.1-1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:25.10",
        "name": "vips",
        "purl": "pkg:deb/ubuntu/vips@8.16.1-1?arch=source\u0026distro=questing"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "8.16.0-2build1",
        "8.16.1-1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "gir1.2-vips-8.0",
            "binary_version": "8.18.0-1build1"
          },
          {
            "binary_name": "libvips-tools",
            "binary_version": "8.18.0-1build1"
          },
          {
            "binary_name": "libvips42t64",
            "binary_version": "8.18.0-1build1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:26.04:LTS",
        "name": "vips",
        "purl": "pkg:deb/ubuntu/vips@8.18.0-1build1?arch=source\u0026distro=resolute"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "8.16.1-1",
        "8.16.1-2",
        "8.17.3-2",
        "8.18.0-1",
        "8.18.0-1build1"
      ]
    }
  ],
  "aliases": [],
  "details": "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.",
  "id": "UBUNTU-CVE-2025-59933",
  "modified": "2026-05-20T15:22:57Z",
  "published": "2025-09-29T22:15:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2025-59933"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2025-59933"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/libvips/libvips/security/advisories/GHSA-q8px-4w5q-c2r4"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/libvips/libvips/commit/a58bfae9223a5466cc81ba9fe6dfb08233cf17d1"
    }
  ],
  "related": [],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "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",
      "type": "CVSS_V4"
    },
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    },
    {
      "score": "medium",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2025-59933"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…