Skip to main content
CVE-2025-57812VulnerabilityPublished

CVE-2025-57812: OpenPrinting libcupsfilters · Out-of-bounds Read

Affects OpenPrinting libcupsfiltersSource CVE Database V5

0

Not known to be exploited · CVSS 3.7 Low : upgrade to 2.1.1 when convenient.

Data as of 25 Oct 2026, 19:02 UTC

CVSS 3.1 base score
3.7Low
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.4% chance of exploitation in 30 days – higher than 40% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 2.1.1
CVSS:3.1/AV:A/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 12 Nov 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: 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 2026-10-25.

What to do

Upgrade openprinting/libcupsfilters to 2.1.1.

Affected software

ProductAffectedFixed in
GitHubopenprinting/libcupsfilterspkg:github/openprinting/libcupsfiltersOther threatsAffected
  • <2.1.1
Fixed in
  • 2.1.1

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

AI-suggested

European organizations should immediately identify all printing systems and servers running affected versions of CUPS-Filters (<=1.28.17) or libcupsfilters (>=2.0.0 and <2.1.1). Apply the official patches or upgrade to libcupsfilters 2.1.1 or later where the vulnerability is fixed. Where patching is delayed, restrict network access to printing services to trusted hosts only and implement network segmentation to isolate printers from untrusted networks. Monitor print job logs for unusual TIFF files or abnormal print job options that could indicate exploitation attempts. Employ intrusion detection systems with signatures targeting malformed TIFF files or suspicious print job parameters. Disable or limit the use of the imagetoraster filter if not required by the printing workflow. Educate IT staff on the risks associated with print job processing vulnerabilities and ensure print servers run with the least privileges necessary. Regularly audit and update printer firmware and associated software to maintain security hygiene.

Description

CUPS is a standards-based, open-source printing system, and `libcupsfilters` contains the code of the filters of the former `cups-filters` package as library functions to be used for the data format conversion tasks needed in Printer Applications. In CUPS-Filters versions up to and including 1.28.17 and libscupsfilters versions 2.0.0 through 2.1.1, CUPS-Filters's `imagetoraster` filter has an out of bounds read/write vulnerability in the processing of TIFF image files. While the pixel buffer is allocated with the number of pixels times a pre-calculated bytes-per-pixel value, the function which processes these pixels is called with a size of the number of pixels times 3. When suitable inputs are passed, the bytes-per-pixel value can be set to 1 and bytes outside of the buffer bounds get processed. In order to trigger the bug, an attacker must issue a print job with a crafted TIFF file, and pass appropriate print job options to control the bytes-per-pixel value of the output format. They must choose a printer configuration under which the `imagetoraster` filter or its C-function equivalent `cfFilterImageToRaster()` gets invoked. The vulnerability exists in both CUPS-Filters 1.x and the successor library libcupsfilters (CUPS-Filters 2.x). In CUPS-Filters 2.x, the vulnerable function is `_cfImageReadTIFF() in libcupsfilters`. When this function is invoked as part of `cfFilterImageToRaster()`, the caller passes a look-up-table during whose processing the out of bounds memory access happens. In CUPS-Filters 1.x, the equivalent functions are all found in the cups-filters repository, which is not split into subprojects yet, and the vulnerable code is in `_cupsImageReadTIFF()`, which is called through `cupsImageOpen()` from the `imagetoraster` tool. A patch is available in commit b69dfacec7f176281782e2f7ac44f04bf9633cfa.

References

Community reviews

Loading reviews…