Vulnerability in cups-filters
Auto-generated summary
Assembled by SecPulse from the source data (CVSS, CWE, affected versions) using templates — no AI involved. Check the original description and references below for exact details.
A vulnerability tracked as DEBIAN-CVE-2025-57812 has been found in cups-filters.
Attackers can target a specific entry point like libcupsfilters over the network to misuse the product.
Risk of unauthorized operations or information disclosure.
What to do: upgrade cups-filters to 1.28.7-1+deb11u4 or later.
If unsure, ask your IT team or search "cups-filters DEBIAN-CVE-2025-57812" on the vendor's site.
DEBIAN-CVE-2025-57812 (cups-filters)
Attack surface: libcupsfilters / imagetoraster
Patched: 1.28.7-1+deb11u4 — apply immediately
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
A vulnerability (unclassified) exists in cups-filters. Attackers reach the vulnerable code path via libcupsfilters.
Check the vendor advisory for the affected versions of cups-filters. Attack surface: libcupsfilters / imagetoraster.
Severity: ?. Risk of unauthorized operations or information disclosure.
Update to 1.28.7-1+deb11u4.
Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.
Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Run grep -r 'cups-filters' . against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.
Response actions
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1
Identify exposureidentify
grep -r 'cups-filters' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
cups-filtersを grep し、稼働しているサービス・バージョンを把握する。 -
2
Apply patchpatch
Upgrade cups-filters to 1.28.7-1+deb11u4ステージング環境で 1.28.7-1+deb11u4 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
3
Post-deployment verificationverify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Debian:11cups-filters |
< 1.28.7-1+deb11u4→ 1.28.7-1+deb11u4 |
1.28.7-1+deb11u4 |
| Debian:12cups-filters |
< 1.28.17-3+deb12u2→ 1.28.17-3+deb12u2 |
1.28.17-3+deb12u2 |
| Debian:13cups-filters |
< 1.28.17-6+deb13u1→ 1.28.17-6+deb13u1 |
1.28.17-6+deb13u1 |
| Debian:14cups-filters |
< 1.28.17-7→ 1.28.17-7 |
1.28.17-7 |
| Debian:13libcupsfilters |
< 2.0.0-3+deb13u1→ 2.0.0-3+deb13u1 |
2.0.0-3+deb13u1 |
| Debian:14libcupsfilters |
< 2.1.1-2→ 2.1.1-2 |
2.1.1-2 |
Original description The description as published by the source.
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 acc…
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- advisory security-tracker.debian.org