# CVE-2025-57812: libcupsfilters-tests: CUPS is a standards-based, open-source printing system, and`libcupsfilters` contains the code of the filters of the f...

CVE-2025-57812 is fixed in 14 products on 1 platform, first by libcupsfilters-tests 2.0.0-0ubuntu7.2, released November 11, 2025. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2025-57812
- Priority: Routine
- CVSS: 3.7 (Medium)
- EPSS: 0.0048
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Nov 11, 2025

## 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 formatconversion tasks needed in Printer Applications. In CUPS-Filters versionsup to and including 1.28.17 and libscupsfilters versions 2.0.0 through2.1.1, CUPS-Filters's `imagetoraster` filter has an out of boundsread/write vulnerability in the processing of TIFF image files.  While thepixel buffer is allocated with the number of pixels times a pre-calculatedbytes-per-pixel value, the function which processes these pixels is calledwith a size of the number of pixels times 3.  When suitable inputs arepassed, the bytes-per-pixel value can be set to 1 and bytes outside of thebuffer bounds get processed. In order to trigger the bug, an attacker mustissue a print job with a crafted TIFF file, and pass appropriate print joboptions to control the bytes-per-pixel value of the output format. Theymust choose a printer configuration under which the `imagetoraster` filteror its C-function equivalent `cfFilterImageToRaster()` gets invoked. Thevulnerability exists in both CUPS-Filters 1.x and the successor librarylibcupsfilters (CUPS-Filters 2.x). In CUPS-Filters 2.x, the vulnerablefunction is `_cfImageReadTIFF() in libcupsfilters`. When this function isinvoked as part of `cfFilterImageToRaster()`, the caller passes alook-up-table during whose processing the out of bounds memory accesshappens. In CUPS-Filters 1.x, the equivalent functions are all found in thecups-filters repository, which is not split into subprojects yet, and thevulnerable code is in `_cupsImageReadTIFF()`, which is called through`cupsImageOpen()` from the `imagetoraster` tool. A patch is available incommit b69dfacec7f176281782e2f7ac44f04bf9633cfa.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | cups-browsed Ubuntu 18.04.6 LTS (bionic) | 1.20.2-0ubuntu3.3+esm2 | [cups-browsed 1.20.2-0ubuntu3.3+esm2](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-cups-browsed-1.20.2-0ubuntu3.3-esm2.md) | Nov 20, 2025 |
| Linux | cups-browsed Ubuntu 20.04 LTS (focal) | 1.27.4-1ubuntu0.4+esm1 | [cups-browsed 1.27.4-1ubuntu0.4+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-cups-browsed-1.27.4-1ubuntu0.4-esm1.md) | Nov 20, 2025 |
| Linux | cups-browsed Ubuntu 22.04.1 LTS (jammy) | 1.28.15-0ubuntu1.5 | [cups-browsed 1.28.15-0ubuntu1.5](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-cups-browsed-1.28.15-0ubuntu1.5.md) | Nov 20, 2025 |
| Linux | cups-filters Debian 11.6 (bullseye) | 1.28.7-1+deb11u4 | [DLA-4380-1](https://patchblox.com/security/data/fix/linux/dla-4380-1.md) | Nov 25, 2025 |
| Linux | cups-filters Debian 12.15 (bookworm) | 1.28.17-3+deb12u2 | [DEBIAN-CVE-2025-57812](https://patchblox.com/security/data/fix/linux/debian-cve-2025-57812.md) | Nov 12, 2025 |
| Linux | cups-filters Debian 13.5 (trixie) | 1.28.17-6+deb13u1 | [DEBIAN-CVE-2025-57812](https://patchblox.com/security/data/fix/linux/debian-cve-2025-57812.md) | Nov 12, 2025 |
| Linux | cups-filters Debian 14 | 1.28.17-7 | [DEBIAN-CVE-2025-57812](https://patchblox.com/security/data/fix/linux/debian-cve-2025-57812.md) | Nov 12, 2025 |
| Linux | cups-filters Ubuntu 18.04.6 LTS (bionic) | 1.20.2-0ubuntu3.3+esm2 | [cups-filters 1.20.2-0ubuntu3.3+esm2](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-cups-filters-1.20.2-0ubuntu3.3-esm2.md) | Nov 20, 2025 |
| Linux | cups-filters Ubuntu 20.04 LTS (focal) | 1.27.4-1ubuntu0.4+esm1 | [cups-filters 1.27.4-1ubuntu0.4+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-cups-filters-1.27.4-1ubuntu0.4-esm1.md) | Nov 20, 2025 |
| Linux | cups-filters Ubuntu 22.04.1 LTS (jammy) | 1.28.15-0ubuntu1.5 | [cups-filters 1.28.15-0ubuntu1.5](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-cups-filters-1.28.15-0ubuntu1.5.md) | Nov 20, 2025 |
| Linux | cups-filters amzn 2023 | 1.28.16-3.amzn2023.0.5 | [ALAS2023-2025-1291](https://patchblox.com/security/data/fix/linux/alas2023-2025-1291.md) | Dec 8, 2025 |
| Linux | cups-filters opensuse-leap 15.6 | 1.25.0-150200.3.25.1 | [SUSE-SU-2025:4158-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-4158-1.md) | Nov 21, 2025 |
| Linux | cups-filters sles 15.6 | 1.25.0-150200.3.25.1 | [SUSE-SU-2025:4158-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-4158-1.md) | Nov 21, 2025 |
| Linux | cups-filters sles 15.7 | 1.25.0-150200.3.25.1 | [SUSE-SU-2025:4158-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-4158-1.md) | Nov 21, 2025 |
| Linux | cups-filters-core-drivers Ubuntu 18.04.6 LTS (bionic) | 1.20.2-0ubuntu3.3+esm2 | [cups-filters-core-drivers 1.20.2-0ubuntu3.3+esm2](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-cups-filters-core-drivers-1.20.2-0ubuntu3.3-esm2.md) | Nov 20, 2025 |
| Linux | cups-filters-core-drivers Ubuntu 20.04 LTS (focal) | 1.27.4-1ubuntu0.4+esm1 | [cups-filters-core-drivers 1.27.4-1ubuntu0.4+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-cups-filters-core-drivers-1.27.4-1ubuntu0.4-esm1.md) | Nov 20, 2025 |
| Linux | cups-filters-core-drivers Ubuntu 22.04.1 LTS (jammy) | 1.28.15-0ubuntu1.5 | [cups-filters-core-drivers 1.28.15-0ubuntu1.5](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-cups-filters-core-drivers-1.28.15-0ubuntu1.5.md) | Nov 20, 2025 |
| Linux | cups-filters-debuginfo amzn 2023 | 1.28.16-3.amzn2023.0.5 | [ALAS2023-2025-1291](https://patchblox.com/security/data/fix/linux/alas2023-2025-1291.md) | Dec 8, 2025 |
| Linux | cups-filters-debugsource amzn 2023 | 1.28.16-3.amzn2023.0.5 | [ALAS2023-2025-1291](https://patchblox.com/security/data/fix/linux/alas2023-2025-1291.md) | Dec 8, 2025 |
| Linux | cups-filters-devel amzn 2023 | 1.28.16-3.amzn2023.0.5 | [ALAS2023-2025-1291](https://patchblox.com/security/data/fix/linux/alas2023-2025-1291.md) | Dec 8, 2025 |
| Linux | cups-filters-libs amzn 2023 | 1.28.16-3.amzn2023.0.5 | [ALAS2023-2025-1291](https://patchblox.com/security/data/fix/linux/alas2023-2025-1291.md) | Dec 8, 2025 |
| Linux | cups-filters-libs-debuginfo amzn 2023 | 1.28.16-3.amzn2023.0.5 | [ALAS2023-2025-1291](https://patchblox.com/security/data/fix/linux/alas2023-2025-1291.md) | Dec 8, 2025 |
| Linux | libcupsfilters Debian 13.5 (trixie) | 2.0.0-3+deb13u1 | [DEBIAN-CVE-2025-57812](https://patchblox.com/security/data/fix/linux/debian-cve-2025-57812.md) | Nov 12, 2025 |
| Linux | libcupsfilters Debian 14 | 2.1.1-2 | [DEBIAN-CVE-2025-57812](https://patchblox.com/security/data/fix/linux/debian-cve-2025-57812.md) | Nov 12, 2025 |
| Linux | libcupsfilters-tests Ubuntu 24.04.5 LTS (noble) | 2.0.0-0ubuntu7.2 | [libcupsfilters-tests 2.0.0-0ubuntu7.2](https://patchblox.com/security/data/fix/linux/ubuntu-noble-libcupsfilters-tests-2.0.0-0ubuntu7.2.md) | Nov 11, 2025 |
| Linux | libcupsfilters-tests Ubuntu 25.04 (plucky) | 2.1.1-0ubuntu2.1 | [libcupsfilters-tests 2.1.1-0ubuntu2.1](https://patchblox.com/security/data/fix/linux/ubuntu-plucky-libcupsfilters-tests-2.1.1-0ubuntu2.1.md) | Nov 12, 2025 |
| Linux | libcupsfilters-tests Ubuntu 25.10 (questing) | 2.1.1-0ubuntu3.1 | [libcupsfilters-tests 2.1.1-0ubuntu3.1](https://patchblox.com/security/data/fix/linux/ubuntu-questing-libcupsfilters-tests-2.1.1-0ubuntu3.1.md) | Nov 11, 2025 |
| Linux | libcupsfilters1 Ubuntu 18.04.6 LTS (bionic) | 1.20.2-0ubuntu3.3+esm2 | [libcupsfilters1 1.20.2-0ubuntu3.3+esm2](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libcupsfilters1-1.20.2-0ubuntu3.3-esm2.md) | Nov 20, 2025 |
| Linux | libcupsfilters1 Ubuntu 20.04 LTS (focal) | 1.27.4-1ubuntu0.4+esm1 | [libcupsfilters1 1.27.4-1ubuntu0.4+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libcupsfilters1-1.27.4-1ubuntu0.4-esm1.md) | Nov 20, 2025 |
| Linux | libcupsfilters1 Ubuntu 22.04.1 LTS (jammy) | 1.28.15-0ubuntu1.5 | [libcupsfilters1 1.28.15-0ubuntu1.5](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-libcupsfilters1-1.28.15-0ubuntu1.5.md) | Nov 20, 2025 |
| Linux | libcupsfilters2-common Ubuntu 24.04.5 LTS (noble) | 2.0.0-0ubuntu7.2 | [libcupsfilters2-common 2.0.0-0ubuntu7.2](https://patchblox.com/security/data/fix/linux/ubuntu-noble-libcupsfilters2-common-2.0.0-0ubuntu7.2.md) | Nov 11, 2025 |
| Linux | libcupsfilters2-common Ubuntu 25.04 (plucky) | 2.1.1-0ubuntu2.1 | [libcupsfilters2-common 2.1.1-0ubuntu2.1](https://patchblox.com/security/data/fix/linux/ubuntu-plucky-libcupsfilters2-common-2.1.1-0ubuntu2.1.md) | Nov 12, 2025 |
| Linux | libcupsfilters2-common Ubuntu 25.10 (questing) | 2.1.1-0ubuntu3.1 | [libcupsfilters2-common 2.1.1-0ubuntu3.1](https://patchblox.com/security/data/fix/linux/ubuntu-questing-libcupsfilters2-common-2.1.1-0ubuntu3.1.md) | Nov 11, 2025 |
| Linux | libcupsfilters2t64 Ubuntu 24.04.5 LTS (noble) | 2.0.0-0ubuntu7.2 | [libcupsfilters2t64 2.0.0-0ubuntu7.2](https://patchblox.com/security/data/fix/linux/ubuntu-noble-libcupsfilters2t64-2.0.0-0ubuntu7.2.md) | Nov 11, 2025 |
| Linux | libcupsfilters2t64 Ubuntu 25.04 (plucky) | 2.1.1-0ubuntu2.1 | [libcupsfilters2t64 2.1.1-0ubuntu2.1](https://patchblox.com/security/data/fix/linux/ubuntu-plucky-libcupsfilters2t64-2.1.1-0ubuntu2.1.md) | Nov 12, 2025 |
| Linux | libcupsfilters2t64 Ubuntu 25.10 (questing) | 2.1.1-0ubuntu3.1 | [libcupsfilters2t64 2.1.1-0ubuntu3.1](https://patchblox.com/security/data/fix/linux/ubuntu-questing-libcupsfilters2t64-2.1.1-0ubuntu3.1.md) | Nov 11, 2025 |
| Linux | libfontembed1 Ubuntu 18.04.6 LTS (bionic) | 1.20.2-0ubuntu3.3+esm2 | [libfontembed1 1.20.2-0ubuntu3.3+esm2](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libfontembed1-1.20.2-0ubuntu3.3-esm2.md) | Nov 20, 2025 |
| Linux | libfontembed1 Ubuntu 20.04 LTS (focal) | 1.27.4-1ubuntu0.4+esm1 | [libfontembed1 1.27.4-1ubuntu0.4+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libfontembed1-1.27.4-1ubuntu0.4-esm1.md) | Nov 20, 2025 |
| Linux | libfontembed1 Ubuntu 22.04.1 LTS (jammy) | 1.28.15-0ubuntu1.5 | [libfontembed1 1.28.15-0ubuntu1.5](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-libfontembed1-1.28.15-0ubuntu1.5.md) | Nov 20, 2025 |

---

Data as of 2026-11-09T13:31:49Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
