Home / OpenPrinting / cups-filters / CVE-2025-64503
CVE-2025-64503: is it exploited, and which versions of OpenPrinting cups-filters are affected and fixed?
CVE-2025-64503 is an out-of-bounds write (memory corruption) vulnerability in OpenPrinting cups-filters. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 11:38 UTC). Affected: cups-filters cups-filters < 1.28.18 and cups-filters libcupsfilters >= 2.0.0, < 2.1.2 (CVE record by GitHub_M). Fixed in 1.28.18 and 2.1.2 (NVD). Severity: Medium (4.0, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 11:38 UTC, CVE record November 19, 2026, 07:09 UTC and NVD November 19, 2026, 07:15 UTC.
What is CVE-2025-64503?
[BIGSLEEP-434615384] cups-filters 1.x: out of bounds write in pdftoraster
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.
From the CVE record by GitHub_M, last updated November 13, 2025, 16:56 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| OpenPrinting | cups-filters | cups-filters < 1.28.18 libcupsfilters >= 2.0.0, < 2.1.2 |
As the CVE record by GitHub_M states it, last updated November 13, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| openprinting | cups-filters | before 1.28.18 | application |
| openprinting | libcupsfilters | from 2.0.0 before 2.1.2 | application |
NVD analysis (status Analyzed), last modified October 18, 2026, 20:10 UTC.
How severe is CVE-2025-64503?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 4.0 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L | GitHub_M |
| Low 3.3 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-64503 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: partial (CISA ADP, November 13, 2025)
- EPSS
- 0.23% probability of exploitation activity in the next 30 days, percentile 14.8 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-787 Out-of-bounds Write
Where are the vendor advisories and references?
- https://github.com/OpenPrinting/cups-filters/security/advisories/GHSA-893j-2wr2-wrh9 x_refsource_CONFIRM
- https://github.com/OpenPrinting/cups-filters/commit/50d94ca0f2fa6177613c97c59791bde568631865 x_refsource_MISC
- https://github.com/OpenPrinting/cups-filters/blob/aea8d0db017e495b0204433ebdb0e86b4871094c/filter/pdftoraster.cxx#L1620 x_refsource_MISC
- https://github.com/OpenPrinting/cups-filters/blob/aea8d0db017e495b0204433ebdb0e86b4871094c/filter/pdftoraster.cxx#L1880 x_refsource_MISC
- https://github.com/OpenPrinting/libcupsfilters/blob/1dd86d835b27ed149b66aee1a4853d1db8a1f44c/cupsfilters/pdftoraster.cxx#L1790 x_refsource_MISC
- http://www.openwall.com/lists/oss-security/2025/11/12/2
When was it published, and where is the official record?
- Reserved
- November 5, 2025
- Published
- November 12, 2025, 22:04 UTC
- CVE record updated
- November 13, 2025, 16:56 UTC by GitHub_M
- NVD
- Analyzed, last modified October 18, 2026, 20:10 UTC
- Last checked
- CVE list November 19, 2026, 07:09 UTC; NVD November 19, 2026, 07:15 UTC; KEV December 3, 2026, 11:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect cups-filters?
- Nov 20, 2025CVE-2025-64524 OpenPrinting cups-filters: heap buffer overflow
- May 17, 2023CVE-2023-24805 OpenPrinting cups-filters: OS command injection
Questions about CVE-2025-64503
Is CVE-2025-64503 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 11:38 UTC. FIRST's EPSS gives it a 0.23% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of OpenPrinting cups-filters are affected by CVE-2025-64503?
cups-filters cups-filters < 1.28.18 and cups-filters libcupsfilters >= 2.0.0, < 2.1.2, per the CVE record by GitHub_M. The tables above give every range the sources list.
Which version fixes CVE-2025-64503?
1.28.18 and 2.1.2, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2025-64503?
Medium (4.0, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2025-64503?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.