CVE-2025-64503
published medium CVSS 3.1 · 4.0[BIGSLEEP-434615384] cups-filters 1.x: out of bounds write in pdftoraster
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| OpenPrinting | — | cups-filterscups-filters < 1.28.18 · libcupsfilters >= 2.0.0, < 2.1.2 | Affected | Not stated | GitHub_M |
| Amazon Linux | AL2 | Release evaluationALAS2-2025-3082 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2025-1291 | Fixed | Not stated | Amazon Linux assessment |
| Debian | bullseye | cups-filters | Advisory build | 1.28.7-1+deb11u4 | DLA-4380-1 |
| SUSE / openSUSE | SLE-12-SP5 | cups-filtersx86_64 | Advisory build | 1.0.58-19.35.1 | SUSE-SU-2025:4198-1 |
| Ubuntu | bionic | cups-filters | Advisory build | 1.20.2-0ubuntu3.3+esm2 | USN-7878-1 |
| Amazon Linux | AL2 | cups-filtersaarch64 | Listed in advisory | Not stated | ALAS2-2025-3082 |
| SUSE / openSUSE | SLE-15-SP6 | cups-filtersaarch64 | Advisory build | 1.25.0-150200.3.25.1 | SUSE-SU-2025:4158-1 |
Show 59 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-15-SP6 | cups-filtersppc64le | Advisory build | 1.25.0-150200.3.25.1 | SUSE-SU-2025:4158-1 |
| SUSE / openSUSE | SLE-15-SP6 | cups-filterss390x | Advisory build | 1.25.0-150200.3.25.1 | SUSE-SU-2025:4158-1 |
| SUSE / openSUSE | SLE-15-SP6 | cups-filtersx86_64 | Advisory build | 1.25.0-150200.3.25.1 | SUSE-SU-2025:4158-1 |
| SUSE / openSUSE | SLE-15-SP7 | cups-filtersaarch64 | Advisory build | 1.25.0-150200.3.25.1 | SUSE-SU-2025:4158-1 |
| SUSE / openSUSE | SLE-15-SP7 | cups-filtersppc64le | Advisory build | 1.25.0-150200.3.25.1 | SUSE-SU-2025:4158-1 |
| SUSE / openSUSE | SLE-15-SP7 | cups-filterss390x | Advisory build | 1.25.0-150200.3.25.1 | SUSE-SU-2025:4158-1 |
| SUSE / openSUSE | SLE-15-SP7 | cups-filtersx86_64 | Advisory build | 1.25.0-150200.3.25.1 | SUSE-SU-2025:4158-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | cups-filtersaarch64 | Advisory build | 1.25.0-150200.3.25.1 | SUSE-SU-2025:4158-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | cups-filtersppc64le | Advisory build | 1.25.0-150200.3.25.1 | SUSE-SU-2025:4158-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | cups-filterss390x | Advisory build | 1.25.0-150200.3.25.1 | SUSE-SU-2025:4158-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | cups-filtersx86_64 | Advisory build | 1.25.0-150200.3.25.1 | SUSE-SU-2025:4158-1 |
| Ubuntu | focal | cups-filters | Advisory build | 1.27.4-1ubuntu0.4+esm1 | USN-7878-1 |
| Ubuntu | jammy | cups-filters | Advisory build | 1.28.15-0ubuntu1.5 | USN-7878-1 |
| Ubuntu | xenial | cups-filters | Advisory build | 1.8.3-2ubuntu3.5+esm3 | USN-7878-1 |
| SUSE / openSUSE | SLE-12-SP5 | cups-filters-cups-browsedx86_64 | Advisory build | 1.0.58-19.35.1 | SUSE-SU-2025:4198-1 |
| SUSE / openSUSE | SLE-12-SP5 | cups-filters-foomatic-ripx86_64 | Advisory build | 1.0.58-19.35.1 | SUSE-SU-2025:4198-1 |
| SUSE / openSUSE | SLE-12-SP5 | cups-filters-ghostscriptx86_64 | Advisory build | 1.0.58-19.35.1 | SUSE-SU-2025:4198-1 |
| SUSE / openSUSE | SLE-15-SP6 | cups-filters-develaarch64 | Advisory build | 1.25.0-150200.3.25.1 | SUSE-SU-2025:4158-1 |
| SUSE / openSUSE | SLE-15-SP6 | cups-filters-develppc64le | Advisory build | 1.25.0-150200.3.25.1 | SUSE-SU-2025:4158-1 |
| SUSE / openSUSE | SLE-15-SP6 | cups-filters-devels390x | Advisory build | 1.25.0-150200.3.25.1 | SUSE-SU-2025:4158-1 |
| SUSE / openSUSE | SLE-15-SP6 | cups-filters-develx86_64 | Advisory build | 1.25.0-150200.3.25.1 | SUSE-SU-2025:4158-1 |
| SUSE / openSUSE | SLE-15-SP7 | cups-filters-develaarch64 | Advisory build | 1.25.0-150200.3.25.1 | SUSE-SU-2025:4158-1 |
| SUSE / openSUSE | SLE-15-SP7 | cups-filters-develppc64le | Advisory build | 1.25.0-150200.3.25.1 | SUSE-SU-2025:4158-1 |
| SUSE / openSUSE | SLE-15-SP7 | cups-filters-devels390x | Advisory build | 1.25.0-150200.3.25.1 | SUSE-SU-2025:4158-1 |
| SUSE / openSUSE | SLE-15-SP7 | cups-filters-develx86_64 | Advisory build | 1.25.0-150200.3.25.1 | SUSE-SU-2025:4158-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | cups-filters-develaarch64 | Advisory build | 1.25.0-150200.3.25.1 | SUSE-SU-2025:4158-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | cups-filters-develppc64le | Advisory build | 1.25.0-150200.3.25.1 | SUSE-SU-2025:4158-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | cups-filters-devels390x | Advisory build | 1.25.0-150200.3.25.1 | SUSE-SU-2025:4158-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | cups-filters-develx86_64 | Advisory build | 1.25.0-150200.3.25.1 | SUSE-SU-2025:4158-1 |
| Ubuntu | bionic | cups-browsed | Advisory build | 1.20.2-0ubuntu3.3+esm2 | USN-7878-1 |
| Ubuntu | bionic | cups-filters-core-drivers | Advisory build | 1.20.2-0ubuntu3.3+esm2 | USN-7878-1 |
| Ubuntu | bionic | libcupsfilters1 | Advisory build | 1.20.2-0ubuntu3.3+esm2 | USN-7878-1 |
| Ubuntu | bionic | libfontembed1 | Advisory build | 1.20.2-0ubuntu3.3+esm2 | USN-7878-1 |
| Ubuntu | focal | cups-browsed | Advisory build | 1.27.4-1ubuntu0.4+esm1 | USN-7878-1 |
| Ubuntu | focal | cups-filters-core-drivers | Advisory build | 1.27.4-1ubuntu0.4+esm1 | USN-7878-1 |
| Ubuntu | focal | libcupsfilters1 | Advisory build | 1.27.4-1ubuntu0.4+esm1 | USN-7878-1 |
| Ubuntu | focal | libfontembed1 | Advisory build | 1.27.4-1ubuntu0.4+esm1 | USN-7878-1 |
| Ubuntu | jammy | cups-browsed | Advisory build | 1.28.15-0ubuntu1.5 | USN-7878-1 |
| Ubuntu | jammy | cups-filters-core-drivers | Advisory build | 1.28.15-0ubuntu1.5 | USN-7878-1 |
| Ubuntu | jammy | libcupsfilters1 | Advisory build | 1.28.15-0ubuntu1.5 | USN-7878-1 |
| Ubuntu | jammy | libfontembed1 | Advisory build | 1.28.15-0ubuntu1.5 | USN-7878-1 |
| Ubuntu | noble | libcupsfilters | Advisory build | 2.0.0-0ubuntu7.2 | USN-7877-1 |
| Ubuntu | noble | libcupsfilters-tests | Advisory build | 2.0.0-0ubuntu7.2 | USN-7877-1 |
| Ubuntu | noble | libcupsfilters2-common | Advisory build | 2.0.0-0ubuntu7.2 | USN-7877-1 |
| Ubuntu | noble | libcupsfilters2t64 | Advisory build | 2.0.0-0ubuntu7.2 | USN-7877-1 |
| Ubuntu | questing | libcupsfilters | Advisory build | 2.1.1-0ubuntu3.1 | USN-7877-1 |
| Ubuntu | questing | libcupsfilters-tests | Advisory build | 2.1.1-0ubuntu3.1 | USN-7877-1 |
| Ubuntu | questing | libcupsfilters2-common | Advisory build | 2.1.1-0ubuntu3.1 | USN-7877-1 |
| Ubuntu | questing | libcupsfilters2t64 | Advisory build | 2.1.1-0ubuntu3.1 | USN-7877-1 |
| Ubuntu | xenial | cups-browsed | Advisory build | 1.8.3-2ubuntu3.5+esm3 | USN-7878-1 |
| Ubuntu | xenial | cups-filters-core-drivers | Advisory build | 1.8.3-2ubuntu3.5+esm3 | USN-7878-1 |
| Ubuntu | xenial | libcupsfilters1 | Advisory build | 1.8.3-2ubuntu3.5+esm3 | USN-7878-1 |
| Ubuntu | xenial | libfontembed1 | Advisory build | 1.8.3-2ubuntu3.5+esm3 | USN-7878-1 |
| Amazon Linux | AL2 | cups-filtersi686 | Listed in advisory | Not stated | ALAS2-2025-3082 |
| Amazon Linux | AL2 | cups-filterssrc | Listed in advisory | Not stated | ALAS2-2025-3082 |
| Amazon Linux | AL2 | cups-filtersx86_64 | Listed in advisory | Not stated | ALAS2-2025-3082 |
| Amazon Linux | AL2023 | cups-filtersaarch64 | Listed in advisory | Not stated | ALAS2023-2025-1291 |
| Amazon Linux | AL2023 | cups-filterssrc | Listed in advisory | Not stated | ALAS2023-2025-1291 |
| Amazon Linux | AL2023 | cups-filtersx86_64 | Listed in advisory | Not stated | ALAS2023-2025-1291 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 4.0 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| OpenPrinting | cups-filters | cups-filters < 1.28.18 (affected)libcupsfilters >= 2.0.0, < 2.1.2 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-787 CWE-787: Out-of-bounds Write
References
6- http://www.openwall.com/lists/oss-security/2025/11/12/2
- https://github.com/OpenPrinting/cups-filters/blob/aea8d0db017e495b0204433ebdb0e86b4871094c/filter/pdftoraster.cxx#L1620
- https://github.com/OpenPrinting/cups-filters/blob/aea8d0db017e495b0204433ebdb0e86b4871094c/filter/pdftoraster.cxx#L1880
- https://github.com/OpenPrinting/cups-filters/commit/50d94ca0f2fa6177613c97c59791bde568631865
- https://github.com/OpenPrinting/cups-filters/security/advisories/GHSA-893j-2wr2-wrh9
- https://github.com/OpenPrinting/libcupsfilters/blob/1dd86d835b27ed149b66aee1a4853d1db8a1f44c/cupsfilters/pdftoraster.cxx#L1790
Provider assertions
3GitHub_M · cna
[BIGSLEEP-434615384] cups-filters 1.x: out of bounds write in pdftoraster
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- e672588442517033fdf1f66da4e840deeadddfa11c93b55b0cb147408a9ab83a
- Ingested
- 23 Sep 2026, 08:56:07 UTC
- Source record
- Official CVE record