Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

Security advisory

ALAS2-2025-3082

Active Moderate

ALAS2-2025-3082 (medium): cups-filters

Published
08 Dec 2025
Updated
08 Dec 2025

Related CVEs

CVE identifiers linked by this publisher.

3
Publisher relationship details 3 records
Explicit publisher CVE relationships
CVE
CVE-2025-57812
CVE-2025-64503
CVE-2025-64524

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,

Read full publisher description 3485 characters

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. (CVE-2025-57812) 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. (CVE-2025-64503) cups-filters contains backends, filters, and other software required to get the cups printing service working on operating systems other than macos. In versions 2.0.1 and prior, a heap-buffer-overflow vulnerability in the rastertopclx filter causes the program to crash with a segmentation fault when processing maliciously crafted input data. This issue can be exploited to trigger memory corruption, potentially leading to arbitrary code execution. This issue has been patched via commit 956283c. (CVE-2025-64524)

Solution

Run yum update cups-filters or yum update --advisory ALAS2-2025-3082 to update your system.

Affected packages

Each item is one publisher package occurrence. Shared details are shown once; differences stay with the occurrence.

4

Shared package data

Applies to all 4 occurrences
  1. 1cups-filters

    Occurrence-specific details
    Architecture
    aarch64

    Replacement RPMs

    • cups-filters-1.0.35-26.amzn2.0.2.aarch64
    • cups-filters-libs-1.0.35-26.amzn2.0.2.aarch64
    • cups-filters-devel-1.0.35-26.amzn2.0.2.aarch64
    • cups-filters-debuginfo-1.0.35-26.amzn2.0.2.aarch64
  2. 2cups-filters

    Occurrence-specific details
    Architecture
    i686

    Replacement RPMs

    • cups-filters-1.0.35-26.amzn2.0.2.i686
    • cups-filters-libs-1.0.35-26.amzn2.0.2.i686
    • cups-filters-devel-1.0.35-26.amzn2.0.2.i686
    • cups-filters-debuginfo-1.0.35-26.amzn2.0.2.i686
  3. 3cups-filters

    Occurrence-specific details
    Architecture
    src

    Replacement RPMs

    • cups-filters-1.0.35-26.amzn2.0.2.src
  4. 4cups-filters

    Occurrence-specific details
    Architecture
    x86_64

    Replacement RPMs

    • cups-filters-1.0.35-26.amzn2.0.2.x86_64
    • cups-filters-libs-1.0.35-26.amzn2.0.2.x86_64
    • cups-filters-devel-1.0.35-26.amzn2.0.2.x86_64
    • cups-filters-debuginfo-1.0.35-26.amzn2.0.2.x86_64

CVSS assessments

Publisher supplied scores and vectors; these do not replace the advisory severity above.

0

No CVSS assessments were provided.

Publisher references

6
  • CVE-2025-57812 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2025-57812
  • CVE-2025-64503 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2025-64503
  • CVE-2025-64524 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2025-64524
  • CVE-2025-57812 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-57812
  • CVE-2025-64503 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-64503
  • CVE-2025-64524 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-64524

Provenance

Schema version
Unknown
Parser version
amazon-alas/1
Severity origin
publisher
Publisher document provenance records
KindLocatorSource commitDocument hashParserFetched
html_pagehttps://alas.aws.amazon.com/AL2/ALAS2-2025-3082.htmlUnknown9df5db6c96090af76a6e1f733d1a8ca61a7af626cb7df6b067c47ad718fab482amazon-alas/12026-09-26T01:34:09Z
rss_entryhttps://alas.aws.amazon.com/AL2/ALAS2-2025-3082.htmlUnknownUnknownamazon-alas/12026-09-26T01:34:09Z
catalog_entryhttps://alas.aws.amazon.com/AL2/ALAS2-2025-3082.htmlUnknownUnknownamazon-alas/12026-09-26T01:34:09Z

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected