Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2025-64503

4.0 · MEDIUM
Published Nov 12, 2025 openprinting CWE-787 EPSS 0.21% (12th pctl)

Overview

CVE-2025-64503 is a medium-severity vulnerability affecting openprinting cups-filters. It was published on November 12, 2025 and has a CVSS 3.1 base score of 4.0 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 4.0, rated MEDIUM. It requires local or adjacent network access to exploit. No authentication or special privileges are required for exploitation.

Technical 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 50d94ca0f2fa6177613c97c59791

Remediation

Check the references section for vendor advisories and patches from openprinting. Update cups-filters to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
openprinting cups-filters >= 0, < 1.28.18 Affected
openprinting libcupsfilters >= 2.0.0, < 2.1.2 Affected

Frequently Asked Questions

What is CVE-2025-64503?

CVE-2025-64503 is a medium-severity vulnerability affecting openprinting cups-filters. It was published on November 12, 2025 and has a CVSS 3.1 base score of 4.0 (MEDIUM).

How severe is CVE-2025-64503?

This vulnerability has a CVSS 3.1 base score of 4.0, rated MEDIUM. It requires local or adjacent network access to exploit. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2025-64503?

Check the references section for vendor advisories and patches from openprinting. Update cups-filters to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2025-64503?

CyberStrike's AI-powered security agents can automatically detect CVE-2025-64503 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.