BreachSpiderVerified, not vibes

CVE-2025-64503 in Openprinting Libcupsfilters and 1 more product

Low 3.3

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 b...

Affects 2 products from 1 vendor. Facts below cite their sources.

CVSS 3.13.3
EPSS0.2%
EPSS percentile9th
FixUnknown

Requires local access, low complexity, no authentication required, requires user interaction, impact contained to the vulnerable component, no confidentiality impact, no integrity impact.

Affected products and versions

VendorProductAffected versions
Openprinting Libcupsfilters ≥ 2.0.0, < 2.1.2
Openprinting Cups-Filters < 1.28.18

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2025-64503
BreachSpider IDBS-2025-GLOBAL-027794-L
CVSS vectorCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
Published2025-11-12
Last modified2026-10-18
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-787: Out-of-Bounds Write

Software writes data past buffer boundaries, corrupting memory and potentially enabling code execution.

Analysis AI-written, not human-reviewed

CVE-2025-64503 affects cups-filters versions prior to 1.28.18, where a crafted PDF file with a large MediaBox value can lead to a buffer overflow in the pdftoraster tool, potentially allowing for arbitrary code execution.

An attacker can exploit this vulnerability by creating a malicious PDF file with an unusually large MediaBox width value. When this PDF is processed by the pdftoraster tool, it can cause a buffer overflow, leading to a potential code execution scenario.

Questions

What is CVE-2025-64503?

CVE-2025-64503 affects cups-filters versions prior to 1.28.18, where a crafted PDF file with a large MediaBox value can lead to a buffer overflow in the pdftoraster tool, potentially allowing for arbitrary code execution.

What is the CVSS score for CVE-2025-64503?

CVE-2025-64503 has CVSS 3.3 (Low). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L. EPSS: 0.2%.

Is CVE-2025-64503 actively exploited?

No confirmed active exploitation of CVE-2025-64503 as of 2026-10-24.

How do I remediate CVE-2025-64503?

Priority: HIGH. PSIRT: [email protected]

What systems are affected by CVE-2025-64503?

CVE-2025-64503 affects Openprinting Libcupsfilters, Cups-Filters.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Openprinting","product":"Libcupsfilters","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-10-18.