cve.bz

CVE-2025-64503 openprinting: Out-of-bounds Write

3.3 lowExploit referenceEPSS 0.2%Fix available

Low (3.3) in openprinting. EPSS 0.2% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

3.3 low
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 14th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: partial, assessed 2025-11-13. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-787 Out-of-bounds Write
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-64503 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-64503?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-64503?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-64503 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
openprinting:cups-filtersbefore 1.28.18
openprinting:libcupsfiltersfrom 2.0.0 before 2.1.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11cups-filters1.28.7-1+deb11u4DLA-4380-1
Debian12cups-filters1.28.17-3+deb12u2DEBIAN-CVE-2025-64503
Debian13cups-filters1.28.17-6+deb13u1DEBIAN-CVE-2025-64503
Debian13libcupsfilters2.0.0-3+deb13u1DEBIAN-CVE-2025-64503
Debian14cups-filters1.28.17-7DEBIAN-CVE-2025-64503
Debian14libcupsfilters2.1.1-2DEBIAN-CVE-2025-64503
Ubuntu22.04:LTScups-filters1.28.15-0ubuntu1.5UBUNTU-CVE-2025-64503 USN-7878-1
Ubuntu24.04:LTScups-filters2.0.0-0ubuntu4.1USN-7878-1
Ubuntu24.04:LTSlibcupsfilters2.0.0-0ubuntu7.2UBUNTU-CVE-2025-64503 USN-7877-1
Ubuntu25.10cups-filters2.0.1-0ubuntu3.25.10.1USN-7878-1
Ubuntu25.10libcupsfilters2.1.1-0ubuntu3.1UBUNTU-CVE-2025-64503 USN-7877-1
UbuntuPro:16.04:LTScups-filters1.8.3-2ubuntu3.5+esm3UBUNTU-CVE-2025-64503 USN-7878-1
UbuntuPro:18.04:LTScups-filters1.20.2-0ubuntu3.3+esm2UBUNTU-CVE-2025-64503 USN-7878-1
UbuntuPro:20.04:LTScups-filters1.27.4-1ubuntu0.4+esm1UBUNTU-CVE-2025-64503 USN-7878-1
Red Hathummingbird:1cups, cups-lpd, cups-libs and 5 more0:2.4.17-1.hum1RHSA-2026:8814
SUSELinux Enterprise Module for Basesystem 15 SP6, Linux Enterprise Module for Basesystem 15 SP7cups-filters1.25.0-150200.3.25.1SUSE-SU-2025:4158-1
SUSELinux Enterprise Server LTSS Extended Security 12 SP5cups-filters1.0.58-19.35.1SUSE-SU-2025:4198-1
openSUSELeap 15.6cups-filters1.25.0-150200.3.25.1SUSE-SU-2025:4158-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This vulnerability is rated Moderate for Red Hat Enterprise Linux because a specially crafted PDF file, when processed by the `cups-filters` `pdftoraster` tool, can lead to an out-of-bounds write, potentially causing a denial of service. This affects Red Hat Enterprise Linux 7, 8, 9, and 10, as well as Fedora.

ProductPackageStateAdvisory
Red Hat Hardened Imagescups-main-2.4.17-1.hum1Fixed 2026-04-17RHSA-2026:8814
Red Hat Enterprise Linux 10cups-filtersFix deferred
Red Hat Enterprise Linux 7cups-filtersFix deferred
Red Hat Enterprise Linux 8cups-filtersFix deferred
Red Hat Enterprise Linux 9cups-filtersFix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-64503.

References

Check your stackJSON