Skip to main content
VulnerabilityPublished Updated

CVE-2025-64503: cups-filters contains backends, filters, and other software required to get the cups printing service

Affects cups-filtersSource GCVE Database

0
Compare
Authoritative record:CVE-2025-64503· Medium 4.0

Not known to be exploited · CVSS 4.0 Medium · fixed in 1.8.3-2ubuntu3.5+esm3 : update cups-filters when convenient.

Data as of 24 Nov 2026, 20:10 UTC

CVSS 3.1 base score
4.0Medium
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 1.8.3-2ubuntu3.5+esm3, 1.20.2-0ubuntu3.3+esm2, 1.27.4-1ubuntu0.4+esm1 +3
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 12 Nov 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
Ubuntu 25.10libcupsfilterspkg:deb/ubuntu/libcupsfilters?arch=source&distro=questingOther threatsAffected
  • <2.1.1-0ubuntu3.1
Fixed in
  • 2.1.1-0ubuntu3.1
Ubuntu 24.04 LTSlibcupsfilterspkg:deb/ubuntu/libcupsfilters?arch=source&distro=nobleOther threatsAffected
  • <2.0.0-0ubuntu7.2
Fixed in
  • 2.0.0-0ubuntu7.2
Ubuntu 22.04 LTScups-filterspkg:deb/ubuntu/cups-filters?arch=source&distro=jammyOther threatsAffected
  • <1.28.15-0ubuntu1.5
Fixed in
  • 1.28.15-0ubuntu1.5
Ubuntu Pro 20.04 LTScups-filterspkg:deb/ubuntu/cups-filters?arch=source&distro=esm-infra/focalOther threatsAffected
  • <1.27.4-1ubuntu0.4+esm1
Fixed in
  • 1.27.4-1ubuntu0.4+esm1
Ubuntu Pro 18.04 LTScups-filterspkg:deb/ubuntu/cups-filters?arch=source&distro=esm-infra/bionicOther threatsAffected
  • <1.20.2-0ubuntu3.3+esm2
Fixed in
  • 1.20.2-0ubuntu3.3+esm2
Ubuntu Pro 16.04 LTScups-filterspkg:deb/ubuntu/cups-filters?arch=source&distro=esm-infra/xenialOther threatsAffected
  • <1.8.3-2ubuntu3.5+esm3
Fixed in
  • 1.8.3-2ubuntu3.5+esm3

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

cups-filters contains backends, filters, and other software required to get the cups printing service working on operating systems other than macos. In cups-filters prior to 1.28.18, by crafting a PDF file with a large `MediaBox` value, an attacker can cause CUPS-Filter 1.x’s `pdftoraster` tool to write beyond the bounds of an array. First, a PDF with a large `MediaBox` width value causes `header.cupsWidth` to become large. Next, the calculation of `bytesPerLine = (header.cupsBitsPerPixel * header.cupsWidth + 7) / 8` overflows, resulting in a small value. Then, `lineBuf` is allocated with the small `bytesPerLine` size. Finally, `convertLineChunked` calls `writePixel8`, which attempts to write to `lineBuf` outside of its buffer size (out of bounds write). In libcupsfilters, the maintainers found the same `bytesPerLine` multiplication without overflow check, but the provided test case does not cause an overflow there, because the values are different. Commit 50d94ca0f2fa6177613c97c59791bde568631865 contains a patch, which is incorporated into cups-filters version 1.28.18.

References

Community reviews

Loading reviews…