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

Published Sep 20, 2023
·
Updated

Accounts. A permissions issue was addressed with additional restrictions.

Other sources

Accounts. The issue was addressed with improved checks.

— Apple

Accounts. The issue was addressed with improved permissions logic.

— Apple

Airport. A permissions issue was addressed with additional restrictions.

— Apple

APFS. The issue was addressed with improved checks.

— Apple

APNs. This issue was addressed with improved data protection.

— Apple

Credit

CVE-2024-44129, CVE-2024-44130, Bohdan Stasiuk@@Bohdan_Stasiuk, Pedro Tôrres@@t0rr3sp3dr0, Yiğit Can YILMAZ@@yilmazcanyigit, Pwn2car(Trend Micro Zero Day Initiative), Michael DePlante@@izobashi(Trend Micro Zero Day Initiative), Mickey Jin@@patch1t, Kirin@@Pwnrin, Claudio Bozzato(Cisco Talos), Francesco Benvenuto(Cisco Talos), Halle Winkler, Politepix@@hallewinkler, Holger Fuhrmannek, Anton Boegler, Snoolie Keffaber@@0xilis, an anonymous researcher, Rodolphe Brunetti@@eisw0lf, CVE-2023-4504

Affected Software

17 affected componentsFixes available
debian/cups<=2.2.10-6+deb10u6, <=2.3.3op2-3+deb11u2
2.2.10-6+deb10u92.3.3op2-3+deb11u62.4.2-3+deb12u42.4.7-1
debian/libppd
2:0.10-7.32: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~
Apple macOS Sequoia<15
15
OpenPrinting CUPS<2.4.7
OpenPrinting Libppd Linux=2.0-rc2
Fedoraproject Fedora=37
Fedoraproject Fedora=38
Fedoraproject Fedora=39
Debian Debian Linux=10.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/cups to a version that resolves this vulnerability.

    Fixed in 2.2.10-6+deb10u9Fixed in 2.3.3op2-3+deb11u6Fixed in 2.4.2-3+deb12u4Fixed in 2.4.7-1
  2. Upgrade

    Upgrade debian/libppd to a version that resolves this vulnerability.

    Fixed in 2:0.10-7.3Fixed in 2:0.10-9
  3. Upgrade

    Upgrade ubuntu/cups to a version that resolves this vulnerability.

    Fixed in 2.3.1-9ubuntu1.6
  4. Upgrade

    Upgrade ubuntu/cups to a version that resolves this vulnerability.

    Fixed in 2.4.1
  5. Upgrade

    Upgrade ubuntu/cups to a version that resolves this vulnerability.

    Fixed in 2.4.2-3ubuntu2.5
  6. Upgrade

    Upgrade ubuntu/cups to a version that resolves this vulnerability.

    Fixed in 2.2.7-1ubuntu2.10+
  7. Upgrade

    Upgrade ubuntu/cups to a version that resolves this vulnerability.

    Fixed in 2.1.3-4ubuntu0.11+
  8. Upgrade

    Upgrade ubuntu/cups to a version that resolves this vulnerability.

    Fixed in 2.4.6-0ubuntu2
  9. Upgrade

    Upgrade ubuntu/libppd to a version that resolves this vulnerability.

    Fixed in 2:2.0~
  10. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 15
  11. Upgrade

    Upgrade CUPS to a version that resolves this vulnerability.

    Fixed in 2.4.7

Event History

Sep 20, 2023
CVE Published
12:00 AM
Data Sourced
12:00 AM
RemedyDescriptionSeverityAffected Software
Sep 21, 2023
CVE Published
via MITRE·10:47 PM
Data Sourced
via MITRE·10:47 PM
DescriptionWeakness
Sep 23, 2023
Data Sourced
04:15 PM
Weakness
Sep 26, 2023
Updated
02:16 PM
Weakness
Nov 9, 2023
Updated
08:58 PM
SeverityAffected Software
Sep 16, 2024
Data Sourced
via Apple·12:00 AM
DescriptionWeaknessAffected Software
Nov 21, 2024
Data Sourced
via NVD·08:35 AM
DescriptionSeverityWeaknessAffected Software
Updated
via NVD·08:35 AM
Affected Software
Jan 27, 2025
Updated
via Apple·12:00 AM
Description
Feb 13, 2025
Updated
via NVD·06:15 PM
DescriptionAffected Software
Mar 3, 2025
Updated
via Apple·12:00 AM
Affected Software
Updated
via Apple·12:00 AM
DescriptionAffected Software
Updated
via Apple·12:00 AM
Description
Apr 23, 2025
Updated
via MITRE·04:16 PM
Description
Updated
via NVD·05:16 PM
SeverityAffected Software
May 8, 2025
Exploit Published
via GitHub·04:59 AM
Aug 6, 2025
Updated
via Apple·12:00 AM
Affected Software
Updated
via Apple·12:00 AM
DescriptionAffected Software
Updated
via Apple·12:00 AM
Description
Nov 4, 2025
Updated
via NVD·05:15 PM
Affected Software
Jun 17, 2026
Updated
via NVD·06:37 AM
DescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

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.

2

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.

3

What is the severity of CVE-2023-4504?

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

4

Has CVE-2023-4504 been fixed?

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

5

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.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203