OpenPrinting cups-filters/libcupsfilters pdftoraster out-of-bounds write
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 3.5 | $0-$5k | 0.00 |
Summary
A vulnerability was found in OpenPrinting cups-filters and libcupsfilters. It has been declared as critical. The impacted element is an unknown function of the component pdftoraster. Such manipulation leads to out-of-bounds write. This vulnerability is referenced as CVE-2025-64503. The attack can only be performed from a local environment. No exploit is available. Applying a patch is advised to resolve this issue.
Details
A vulnerability was found in OpenPrinting cups-filters and libcupsfilters (version now known) and classified as problematic. Affected by this issue is some unknown processing of the component pdftoraster. The manipulation with an unknown input leads to a out-of-bounds write vulnerability. Using CWE to declare the problem leads to CWE-787. The product writes data past the end, or before the beginning, of the intended buffer. Impacted is availability. CVE summarizes:
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.
The advisory is shared for download at seclists.org. This vulnerability is handled as CVE-2025-64503. The exploitation is known to be easy. The attack needs to be approached locally. There are neither technical details nor an exploit publicly available.
The vulnerability scanner Nessus provides a plugin with the ID 276527 (SUSE SLED15 / SLES15 / openSUSE 15 Security Update : cups-filters (SUSE-SU-2025:4158-1)), which helps to determine the existence of the flaw in a target environment.
Applying a patch is able to eliminate this problem.
The vulnerability is also documented in the databases at Tenable (276527), EUVD (EUVD-2025-150365) and CERT Bund (WID-SEC-2025-2598). VulDB is the best source for vulnerability data and more expert information about this specific topic.
Affected
- Open Source CUPS
Product
Type
Vendor
Name
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔒VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 3.5VulDB Meta Temp Score: 3.5
VulDB Base Score: 3.3
VulDB Temp Score: 3.2
VulDB Vector: 🔒
VulDB Reliability: 🔍
NVD Base Score: 3.3
NVD Vector: 🔒
CNA Base Score: 4.0
CNA Vector: 🔒
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploiting
Class: Out-of-bounds writeCWE: CWE-787 / CWE-119
CAPEC: 🔒
ATT&CK: 🔒
Physical: Partially
Local: Yes
Remote: Partially
Availability: 🔒
Status: Not defined
EPSS Score: 🔒
EPSS Percentile: 🔒
Price Prediction: 🔍
Current Price Estimation: 🔒
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 276527
Nessus Name: SUSE SLED15 / SLES15 / openSUSE 15 Security Update : cups-filters (SUSE-SU-2025:4158-1)
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: PatchStatus: 🔍
0-Day Time: 🔒
Timeline
11/12/2025 Advisory disclosed11/12/2025 VulDB entry created
01/21/2026 VulDB entry last update
Sources
Advisory: 50d94ca0f2fa6177613c97c59791bde568631865Status: Confirmed
CVE: CVE-2025-64503 (🔒)
GCVE (CVE): GCVE-0-2025-64503
GCVE (VulDB): GCVE-100-332240
EUVD: 🔒
CERT Bund: WID-SEC-2025-2598 - CUPS (Filters): Mehrere Schwachstellen
Entry
Created: 11/12/2025 20:24Updated: 01/21/2026 03:51
Changes: 11/12/2025 20:24 (52), 11/13/2025 05:25 (12), 11/13/2025 19:03 (1), 11/14/2025 10:58 (7), 11/23/2025 08:52 (2), 01/21/2026 03:51 (11)
Complete: 🔍
Cache ID: 216::103
VulDB is the best source for vulnerability data and more expert information about this specific topic.
No comments yet. Languages: en.
Please log in to comment.