Libcupsfilters
Approved changes feed: RSS · Atom
cpe:2.3:a:openprinting:libcupsfilters:*:*:*:*:*:*:*:*
part: a version: * update: *
| Vendor | Openprinting (93a57ef6-4097-59be-aade-33c84577f500) |
|---|---|
| Product | Libcupsfilters (bd548d0b-c064-523f-a870-ae5daef3c8ce) |
| Edition | * |
| Language | * |
| Software edition | * |
| Target software | * |
| Target hardware | * |
| Other | * |
| Notes | Imported from purl2cpe mapping |
PURL mappings
| PURL | Source | Last updated |
|---|---|---|
pkg:deb/ubuntu/libcupsfilters |
purl2cpe | 2026-06-01 10:12:23.089528 |
pkg:github/openprinting/libcupsfilters |
purl2cpe | 2026-06-01 10:12:23.089530 |
pkg:rpm/fedora/libcupsfilters |
purl2cpe | 2026-06-01 10:12:23.089532 |
pkg:rpm/opensuse/libcupsfilters |
purl2cpe | 2026-06-01 10:12:23.089533 |
Vulnerability references
| Identifier | cpeApplicability | Submitted | db.gcve.eu details | Rationale |
|---|---|---|---|---|
CVE:CVE-2025-64503 |
vulnerable | 2026-06-08 07:39:19.863201 |
[BIGSLEEP-434615384] cups-filters 1.x: out of bounds write in pdftoraster
MEDIUM (4)
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.
Published: 2025-11-12T22:04:03.750Z
Updated: 2025-11-13T16:56:18.053Z Reference links
|
Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2025-57812 |
vulnerable | 2026-06-08 07:33:16.168361 |
[BIGSLEEP-434612419] CUPS-Filters has heap-buffer-overflow write in `cfImageLut()`
LOW (3.7)
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.
Published: 2025-11-12T18:46:52.801Z
Updated: 2025-11-12T21:04:17.490Z Reference links
|
Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2024-47076 |
vulnerable | 2026-06-08 06:48:11.243658 |
libcupsfilters's cfGetPrinterAttributes5 does not validate IPP attributes returned from an IPP server
HIGH (8.6)
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. The `cfGetPrinterAttributes5` function in `libcupsfilters` does not sanitize IPP attributes returned from an IPP server. When these IPP attributes are used, for instance, to generate a PPD file, this can lead to attacker controlled data to be provided to the rest of the CUPS system.
Published: 2024-09-26T21:18:22.067Z
Updated: 2025-11-03T22:19:59.403Z Reference links
|
Imported from gcve-enriched-dumps CVE data |
Contribute
You can submit an edit proposal for this CPE entry or suggest a related product/vendor addition using the action button above.