7.8
CWE
119 787 122
Advisory Published
CVE Published
Updated

CVE-2023-4504: OpenPrinting CUPS/libppd Postscript Parsing Heap Overflow

First published: Wed Sep 20 2023(Updated: )

Due to failure in validating the length provided by an attacker-crafted PPD PostScript document, CUPS and libppd are susceptible to a heap-based buffer overflow and possibly code execution. This issue has been fixed in CUPS version 2.4.7, released in September of 2023.

Credit: cve@takeonme.org cve@takeonme.org cve@takeonme.org

Affected SoftwareAffected VersionHow to fix
debian/cups<=2.2.10-6+deb10u6<=2.3.3op2-3+deb11u2
2.2.10-6+deb10u9
2.3.3op2-3+deb11u6
2.4.2-3+deb12u4
2.4.7-1
debian/libppd
2:0.10-7.3
2:0.10-9
ubuntu/cups<2.3.1-9ubuntu1.6
2.3.1-9ubuntu1.6
ubuntu/cups<2.4.1
2.4.1
ubuntu/cups<2.4.2-3ubuntu2.5
2.4.2-3ubuntu2.5
ubuntu/cups<2.2.7-1ubuntu2.10+
2.2.7-1ubuntu2.10+
ubuntu/cups<2.1.3-4ubuntu0.11+
2.1.3-4ubuntu0.11+
ubuntu/cups<2.4.6-0ubuntu2
2.4.6-0ubuntu2
ubuntu/libppd<2:2.0~
2:2.0~
ubuntu/libppd<2:2.0~
2:2.0~
OpenPrinting CUPS<2.4.7
Openprinting Libppd=2.0-rc2
Fedoraproject Fedora=37
Fedoraproject Fedora=38
Fedoraproject Fedora=39
Debian Debian Linux=10.0
<2.4.7
=2.0-rc2
=37
=38
=39
=10.0

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Reference Links

Parent vulnerabilities

(Appears in the following advisories)

Frequently Asked Questions

  • What is CVE-2023-4504?

    CVE-2023-4504 is a vulnerability in CUPS and libppd that allows for a heap-based buffer overflow and possible code execution.

  • How can an attacker exploit CVE-2023-4504?

    An attacker can exploit CVE-2023-4504 by crafting a malicious PPD PostScript document and supplying it to CUPS or libppd for processing.

  • What is the severity of CVE-2023-4504?

    CVE-2023-4504 has a severity rating of high.

  • Has CVE-2023-4504 been fixed?

    Yes, CVE-2023-4504 has been fixed in CUPS version 2.4.7.

  • Where can I find more information about CVE-2023-4504?

    You can find more information about CVE-2023-4504 at the following links: [CVE Details](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-4504), [TakeOnMe](https://takeonme.org/cves/CVE-2023-4504.html), [Ubuntu Security Notice](https://ubuntu.com/security/notices/USN-6391-1).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203