{"api_version":"1","generated_at":"2026-04-23T01:43:01+00:00","cve":"CVE-2023-4504","urls":{"html":"https://cve.report/CVE-2023-4504","api":"https://cve.report/api/cve/CVE-2023-4504.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2023-4504","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2023-4504"},"summary":{"title":"CVE-2023-4504","description":"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.","state":"PUBLIC","assigner":"cve@takeonme.org","published_at":"2023-09-21 23:15:00","updated_at":"2023-11-09 20:58:00"},"problem_types":["CWE-787"],"metrics":[],"references":[{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/T2GSPQAFK2Z6L57TRXEKZDF42K2EVBH7/","name":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/T2GSPQAFK2Z6L57TRXEKZDF42K2EVBH7/","refsource":"MISC","tags":[],"title":"[SECURITY] Fedora 39 Update: libppd-2.0~rc2-4.fc39 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/OpenPrinting/cups/security/advisories/GHSA-pf5r-86w9-678h","name":"https://github.com/OpenPrinting/cups/security/advisories/GHSA-pf5r-86w9-678h","refsource":"MISC","tags":[],"title":"CUPS Heap-based buffer overflow · Advisory · OpenPrinting/cups · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PXPVADB56NMLJWG4IZ3OZBNJ2ZOLPQJ6/","name":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PXPVADB56NMLJWG4IZ3OZBNJ2ZOLPQJ6/","refsource":"MISC","tags":[],"title":"[SECURITY] Fedora 37 Update: cups-2.4.7-1.fc37 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/AMYDKIE4PSJDEMC5OWNFCDMHFGLJ57XG/","name":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/AMYDKIE4PSJDEMC5OWNFCDMHFGLJ57XG/","refsource":"MISC","tags":[],"title":"[SECURITY] Fedora 39 Update: cups-2.4.7-1.fc39 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/OpenPrinting/libppd/security/advisories/GHSA-4f65-6ph5-qwh6","name":"https://github.com/OpenPrinting/libppd/security/advisories/GHSA-4f65-6ph5-qwh6","refsource":"MISC","tags":[],"title":"CUPS Heap-based buffer overflow  · Advisory · OpenPrinting/libppd · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5WHEJIYMMAIXU2EC35MGTB5LGGO2FFJE/","name":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5WHEJIYMMAIXU2EC35MGTB5LGGO2FFJE/","refsource":"MISC","tags":[],"title":"[SECURITY] Fedora 38 Update: cups-2.4.7-1.fc38 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.debian.org/debian-lts-announce/2023/09/msg00041.html","name":"https://lists.debian.org/debian-lts-announce/2023/09/msg00041.html","refsource":"MISC","tags":[],"title":"[SECURITY] [DLA 3594-1] cups security update","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5WVS4I7JG3LISFPKTM6ADKJXXEPEEWBQ/","name":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5WVS4I7JG3LISFPKTM6ADKJXXEPEEWBQ/","refsource":"MISC","tags":[],"title":"[SECURITY] Fedora 38 Update: libppd-2.0~rc2-4.fc38 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/OpenPrinting/cups/releases/tag/v2.4.7","name":"https://github.com/OpenPrinting/cups/releases/tag/v2.4.7","refsource":"MISC","tags":[],"title":"Release v2.4.7 · OpenPrinting/cups · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://takeonme.org/cves/CVE-2023-4504.html","name":"https://takeonme.org/cves/CVE-2023-4504.html","refsource":"MISC","tags":[],"title":"cve-template • Austin Hackers Academy","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-4504","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-4504","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2023","cve_id":"4504","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"debian","cpe5":"debian_linux","cpe6":"10.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2023","cve_id":"4504","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"37","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2023","cve_id":"4504","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"38","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2023","cve_id":"4504","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"39","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2023","cve_id":"4504","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"openprinting","cpe5":"cups","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2023","cve_id":"4504","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"openprinting","cpe5":"libppd","cpe6":"2.0","cpe7":"rc2","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"linux","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2023-4504","qid":"199773","title":"Ubuntu Security Notification for libppd Vulnerability (USN-6392-1)"},{"cve":"CVE-2023-4504","qid":"199774","title":"Ubuntu Security Notification for CUPS Vulnerability (USN-6391-1)"},{"cve":"CVE-2023-4504","qid":"199776","title":"Ubuntu Security Notification for CUPS Vulnerability (USN-6391-2)"},{"cve":"CVE-2023-4504","qid":"284543","title":"Fedora Security Update for cups (FEDORA-2023-96519dc6fd)"},{"cve":"CVE-2023-4504","qid":"284544","title":"Fedora Security Update for libppd (FEDORA-2023-00484b4120)"},{"cve":"CVE-2023-4504","qid":"284591","title":"Fedora Security Update for cups (FEDORA-2023-904f92af98)"},{"cve":"CVE-2023-4504","qid":"285246","title":"Fedora Security Update for cups (FEDORA-2023-351208aa08)"},{"cve":"CVE-2023-4504","qid":"285249","title":"Fedora Security Update for libppd (FEDORA-2023-52aa3d1a4f)"},{"cve":"CVE-2023-4504","qid":"356383","title":"Amazon Linux Security Advisory for cups : ALAS2023-2023-361"},{"cve":"CVE-2023-4504","qid":"356433","title":"Amazon Linux Security Advisory for cups : ALAS2-2023-2293"},{"cve":"CVE-2023-4504","qid":"356451","title":"Amazon Linux Security Advisory for cups : ALAS-2023-1857"},{"cve":"CVE-2023-4504","qid":"356986","title":"Amazon Linux Security Advisory for cups : AL2012-2023-470"},{"cve":"CVE-2023-4504","qid":"503324","title":"Alpine Linux Security Update for cups"},{"cve":"CVE-2023-4504","qid":"505860","title":"Alpine Linux Security Update for cups"},{"cve":"CVE-2023-4504","qid":"6000163","title":"Debian Security Update for cups (DLA 3594-1)"},{"cve":"CVE-2023-4504","qid":"673342","title":"EulerOS Security Update for cups (EulerOS-SA-2023-3238)"},{"cve":"CVE-2023-4504","qid":"673361","title":"EulerOS Security Update for cups (EulerOS-SA-2024-1135)"},{"cve":"CVE-2023-4504","qid":"673427","title":"EulerOS Security Update for cups (EulerOS-SA-2023-3325)"},{"cve":"CVE-2023-4504","qid":"673439","title":"EulerOS Security Update for cups (EulerOS-SA-2023-3293)"},{"cve":"CVE-2023-4504","qid":"673641","title":"EulerOS Security Update for cups (EulerOS-SA-2023-3266)"},{"cve":"CVE-2023-4504","qid":"673679","title":"EulerOS Security Update for cups (EulerOS-SA-2023-3168)"},{"cve":"CVE-2023-4504","qid":"673878","title":"EulerOS Security Update for cups (EulerOS-SA-2023-3203)"},{"cve":"CVE-2023-4504","qid":"674015","title":"EulerOS Security Update for cups (EulerOS-SA-2024-1259)"},{"cve":"CVE-2023-4504","qid":"710864","title":"Gentoo Linux CUPS Multiple Vulnerabilities (GLSA 202402-17)"},{"cve":"CVE-2023-4504","qid":"754891","title":"SUSE Enterprise Linux Security Update for cups (SUSE-SU-2023:3707-1)"},{"cve":"CVE-2023-4504","qid":"754892","title":"SUSE Enterprise Linux Security Update for cups (SUSE-SU-2023:3706-1)"}]},"source_records":{"cve_program":{"data_version":"4.0","data_type":"CVE","data_format":"MITRE","CVE_data_meta":{"ID":"CVE-2023-4504","ASSIGNER":"cve@takeonme.org","STATE":"PUBLIC"},"description":{"description_data":[{"lang":"eng","value":"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.\n"}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":" CWE-122 Heap-based Buffer Overflow","cweId":"CWE-122"}]}]},"affects":{"vendor":{"vendor_data":[{"vendor_name":"OpenPrinting","product":{"product_data":[{"product_name":"CUPS","version":{"version_data":[{"version_affected":"<","version_name":"0","version_value":"2.4.6"}]}},{"product_name":"libppd","version":{"version_data":[{"version_affected":"<","version_name":"0","version_value":"d09348b"}]}}]}}]}},"references":{"reference_data":[{"url":"https://takeonme.org/cves/CVE-2023-4504.html","refsource":"MISC","name":"https://takeonme.org/cves/CVE-2023-4504.html"},{"url":"https://github.com/OpenPrinting/libppd/security/advisories/GHSA-4f65-6ph5-qwh6","refsource":"MISC","name":"https://github.com/OpenPrinting/libppd/security/advisories/GHSA-4f65-6ph5-qwh6"},{"url":"https://github.com/OpenPrinting/cups/security/advisories/GHSA-pf5r-86w9-678h","refsource":"MISC","name":"https://github.com/OpenPrinting/cups/security/advisories/GHSA-pf5r-86w9-678h"},{"url":"https://github.com/OpenPrinting/cups/releases/tag/v2.4.7","refsource":"MISC","name":"https://github.com/OpenPrinting/cups/releases/tag/v2.4.7"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/AMYDKIE4PSJDEMC5OWNFCDMHFGLJ57XG/","refsource":"MISC","name":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/AMYDKIE4PSJDEMC5OWNFCDMHFGLJ57XG/"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5WVS4I7JG3LISFPKTM6ADKJXXEPEEWBQ/","refsource":"MISC","name":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5WVS4I7JG3LISFPKTM6ADKJXXEPEEWBQ/"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5WHEJIYMMAIXU2EC35MGTB5LGGO2FFJE/","refsource":"MISC","name":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5WHEJIYMMAIXU2EC35MGTB5LGGO2FFJE/"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/T2GSPQAFK2Z6L57TRXEKZDF42K2EVBH7/","refsource":"MISC","name":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/T2GSPQAFK2Z6L57TRXEKZDF42K2EVBH7/"},{"url":"https://lists.debian.org/debian-lts-announce/2023/09/msg00041.html","refsource":"MISC","name":"https://lists.debian.org/debian-lts-announce/2023/09/msg00041.html"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PXPVADB56NMLJWG4IZ3OZBNJ2ZOLPQJ6/","refsource":"MISC","name":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PXPVADB56NMLJWG4IZ3OZBNJ2ZOLPQJ6/"}]},"generator":{"engine":"Vulnogram 0.1.0-dev"},"source":{"discovery":"EXTERNAL"},"credits":[{"lang":"en","value":"zenofex"},{"lang":"en","value":"WanderingGlitch"},{"lang":"en","value":"Austin Hackers Anonymous!"}]},"nvd":{"publishedDate":"2023-09-21 23:15:00","lastModifiedDate":"2023-11-09 20:58:00","problem_types":["CWE-787"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","attackVector":"LOCAL","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":7,"baseSeverity":"HIGH"},"exploitabilityScore":1,"impactScore":5.9}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:openprinting:cups:*:*:*:*:*:*:*:*","versionEndExcluding":"2.4.7","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:openprinting:libppd:2.0:rc2:*:*:*:linux:*:*","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:fedoraproject:fedora:39:*:*:*:*:*:*:*","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}