CVE-2025-64503 | [BIGSLEEP-434615384] cups-filters 1.x: out of bounds write in pdftoraster

Exp

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-12 Last update: 2026-01-20 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2025-64503 is rated Exploit Available (50/100): CVSS Medium severity, with low exploitation likelihood (EPSS 0.01%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Public exploit references (Exploit-DB) for CVE-2025-64503

EDB-ID Source Kind Published Link
nvd_ref exploit_tag Exploit-DB ↗

Exploit prediction scoring system (EPSS) score for CVE-2025-64503

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2025-11-13 0.01%

Full EPSS history (1 record total)

Common vulnerability scoring system (CVSS) metrics for CVE-2025-64503

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
4.0 3.1 MEDIUM
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L Click to expand
Attack vector (AV:L)
They already need access on the box, or another person has to do something wrong; it’s not a remote drive-by.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:N)
Doesn’t really leak secrets in a meaningful way.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:L)
Might cause slowdowns, glitches, or partial disruption—not a full brick.
2.5 1.4 [email protected]
3.3 3.1 LOW
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L Click to expand
Attack vector (AV:L)
They already need access on the box, or another person has to do something wrong; it’s not a remote drive-by.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:R)
A real person has to do something—click, install, enable—otherwise it doesn’t land.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:N)
Doesn’t really leak secrets in a meaningful way.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:L)
Might cause slowdowns, glitches, or partial disruption—not a full brick.
1.8 1.4 [email protected]

Weakness enumeration for CVE-2025-64503

OS Trackers for CVE-2025-64503

vendor priority summary link
alpine CVE-2025-64503: 1 source package rows (cups-filters); 9 state rows across 3 repos (3.22-community, 3.23-community, edge-community); fixed 0, open 9. https://security.alpinelinux.org/vuln/CVE-2025-64503
debian not yet assigned CVE-2025-64503 not yet assigned priority: Debian including 2 source packages (cups-filters, libcupsfilters), 8 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 8. https://security-tracker.debian.org/tracker/CVE-2025-64503
redhat medium https://access.redhat.com/security/cve/CVE-2025-64503
suse low https://www.suse.com/security/cve/CVE-2025-64503/
ubuntu medium CVE-2025-64503 medium priority: Ubuntu including 2 source packages (cups-filters, libcupsfilters), 13 status rows across 8 suites (bionic, focal, jammy, noble, plucky, questing, upstream, xenial): released 7, not-affected 3, needs-triage 2, DNE 1. https://ubuntu.com/security/CVE-2025-64503

Affected software / configurations for CVE-2025-64503

Vendor Product Version Raw CPE
openprinting cups-filters < 1.28.18 cpe:2.3:a:openprinting:cups-filters:*:*:*:*:*:*:*:*
openprinting libcupsfilters >= 2.0.0, < 2.1.2 cpe:2.3:a:openprinting:libcupsfilters:*:*:*:*:*:*:*:*

References for CVE-2025-64503

cvelogic Threat Intelligence