Home / OpenPrinting / libcupsfilters / CVE-2025-57812
CVE-2025-57812: is it exploited, and which versions of OpenPrinting libcupsfilters are affected and fixed?
CVE-2025-57812 is an out-of-bounds read vulnerability in OpenPrinting libcupsfilters. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 19:09 UTC). Affected: libcupsfilters cups-filters <= 1.28.17 and libcupsfilters libcupsfilters >= 2.0.0, < 2.1.1 (CVE record by GitHub_M). Fixed in 1.28.17 and 2.1.1 (NVD). Severity: Low (3.7, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 19:09 UTC, CVE record November 19, 2026, 07:09 UTC and NVD November 19, 2026, 07:15 UTC.
What is CVE-2025-57812?
[BIGSLEEP-434612419] CUPS-Filters has heap-buffer-overflow write in `cfImageLut()`
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.
From the CVE record by GitHub_M, last updated November 12, 2025, 21:04 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| OpenPrinting | libcupsfilters | cups-filters <= 1.28.17 libcupsfilters >= 2.0.0, < 2.1.1 |
As the CVE record by GitHub_M states it, last updated November 12, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| openprinting | cups-filters | before 1.28.17 | application |
| openprinting | libcupsfilters | from 2.0.0 before 2.1.1 | application |
NVD analysis (status Analyzed), last modified October 18, 2026, 20:10 UTC.
How severe is CVE-2025-57812?
| Score | Version | Vector | Source |
|---|---|---|---|
| Low 3.7 | CVSS 3.1 | CVSS:3.1/AV:A/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N | GitHub_M |
| Low 3.7 | CVSS 3.1 | CVSS:3.1/AV:A/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-57812 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, November 12, 2025)
- EPSS
- 0.49% probability of exploitation activity in the next 30 days, percentile 44.0 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
Where are the vendor advisories and references?
- https://github.com/OpenPrinting/libcupsfilters/security/advisories/GHSA-jpxg-qc2c-hgv4 x_refsource_CONFIRM
- https://github.com/OpenPrinting/libcupsfilters/commit/b69dfacec7f176281782e2f7ac44f04bf9633cfa x_refsource_MISC
- https://github.com/OpenPrinting/cups-filters/blob/3c58463e341b12c9d30d7d3807d2bac1bc595a78/cupsfilters/image-tiff.c#L34 x_refsource_MISC
- https://github.com/OpenPrinting/cups-filters/blob/3c58463e341b12c9d30d7d3807d2bac1bc595a78/filter/imagetoraster.c#L613 x_refsource_MISC
- https://github.com/OpenPrinting/libcupsfilters/blob/33421982e10f6a14bc0bab03b80c9cf4660e8d7d/cupsfilters/image-tiff.c#L32 x_refsource_MISC
- http://www.openwall.com/lists/oss-security/2025/11/12/1
When was it published, and where is the official record?
- Reserved
- August 20, 2025
- Published
- November 12, 2025, 18:46 UTC
- CVE record updated
- November 12, 2025, 21:04 UTC by GitHub_M
- NVD
- Analyzed, last modified October 18, 2026, 20:10 UTC
- Last checked
- CVE list November 19, 2026, 07:09 UTC; NVD November 19, 2026, 07:15 UTC; KEV December 3, 2026, 19:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect libcupsfilters?
- Sep 26, 2024CVE-2024-47076 OpenPrinting libcupsfilters: improper input validation
Questions about CVE-2025-57812
Is CVE-2025-57812 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 19:09 UTC. FIRST's EPSS gives it a 0.49% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of OpenPrinting libcupsfilters are affected by CVE-2025-57812?
libcupsfilters cups-filters <= 1.28.17 and libcupsfilters libcupsfilters >= 2.0.0, < 2.1.1, per the CVE record by GitHub_M. The tables above give every range the sources list.
Which version fixes CVE-2025-57812?
1.28.17 and 2.1.1, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2025-57812?
Low (3.7, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2025-57812?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.