{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2025-64503","published":"2025-11-12T22:15:50.293000Z","last_modified":"2026-10-18T20:10:00.110000Z","status":"Analyzed","cvss":{"version":"3.1","score":3.3,"severity":"LOW","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-787"],"cpes":[{"criteria":"cpe:2.3:a:openprinting:cups-filters:*:*:*:*:*:*:*:*","part":"a","vendor":"openprinting","product":"cups-filters","version_end_excluding":"1.28.18"},{"criteria":"cpe:2.3:a:openprinting:libcupsfilters:*:*:*:*:*:*:*:*","part":"a","vendor":"openprinting","product":"libcupsfilters","version_start_including":"2.0.0","version_end_excluding":"2.1.2"}],"cpes_truncated":false,"vendors":["openprinting"],"products":["openprinting/cups-filters","openprinting/libcupsfilters"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"low","priority_score":20,"links":{"html_es":"/es/cve/CVE-2025-64503/","html_en":"/en/cve/CVE-2025-64503/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2025-64503","cve_org":"https://www.cve.org/CVERecord?id=CVE-2025-64503"},"untrusted":{"vendor_name":"Openprinting","product_name":"Cups-filters","desc_en":"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.","affected":[{"untrusted_vendor":"OpenPrinting","untrusted_product":"cups-filters","versions":[]}],"references":[{"url":"https://github.com/OpenPrinting/cups-filters/blob/aea8d0db017e495b0204433ebdb0e86b4871094c/filter/pdftoraster.cxx#L1620","tags":["Product"]},{"url":"https://github.com/OpenPrinting/cups-filters/blob/aea8d0db017e495b0204433ebdb0e86b4871094c/filter/pdftoraster.cxx#L1880","tags":["Product"]},{"url":"https://github.com/OpenPrinting/cups-filters/commit/50d94ca0f2fa6177613c97c59791bde568631865","tags":["Patch"]},{"url":"https://github.com/OpenPrinting/cups-filters/security/advisories/GHSA-893j-2wr2-wrh9","tags":["Exploit","Vendor Advisory"]},{"url":"https://github.com/OpenPrinting/libcupsfilters/blob/1dd86d835b27ed149b66aee1a4853d1db8a1f44c/cupsfilters/pdftoraster.cxx#L1790","tags":["Product"]},{"url":"http://www.openwall.com/lists/oss-security/2025/11/12/2","tags":["Mailing List","Third Party Advisory"]}]},"bulletins":[{"source":"redhat","id":"RHSA-2026:8814","url":"https://access.redhat.com/errata/RHSA-2026:8814","published":"2026-04-20T10:12:14+00:00","severity":"high","exploited":false,"untrusted":{"title":"Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update"}}]}