Skip to content
Heist/ feed
Back to feed
HighFix available

cups — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2023-4504

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.

Products
cups
Affected versions
2.4.2-3, 2.4.2-3+deb12u1
Fixed versions
2.4.2-3+deb12u2, 2.4.2-6
CVEs
CVE-2023-4504
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 16:25 UTC · Revision 1

Source evidence

DEBIAN-CVE-2023-4504

core-osv · Original source

Published 21 Sept 2023, 23:15 UTC

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.

osv:DEBIAN-CVE-2023-4504

cups

Fixed versions: 2.4.2-3+deb12u2

cups

Fixed versions: 2.4.2-6

cups

Fixed versions: 2.4.2-6

Complete source record
{
  "id": "fdb35b6e42b2565b9d7207554a0fcbe71968fcde8b0c76d1b19deceb74c64f7b",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2023-4504",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2023-4504",
    "summary": "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.",
    "evidence": "osv:DEBIAN-CVE-2023-4504",
    "products": [
      {
        "name": {
          "value": "cups",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.4.2-3+deb12u2",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "2.4.2-3",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "2.4.2-3+deb12u1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "cups",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.4.2-6",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "cups",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.4.2-6",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "DEBIAN-CVE-2023-4504",
      "aliases": [
        "DEBIAN-CVE-2023-4504"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.4.2-3+deb12u2"
                }
              ]
            }
          ],
          "package": {
            "name": "cups",
            "purl": "pkg:deb/debian/cups?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "versions": [
            "2.4.2-3",
            "2.4.2-3+deb12u1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2023-4504.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.4.2-6"
                }
              ]
            }
          ],
          "package": {
            "name": "cups",
            "purl": "pkg:deb/debian/cups?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2023-4504.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.4.2-6"
                }
              ]
            }
          ],
          "package": {
            "name": "cups",
            "purl": "pkg:deb/debian/cups?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2023-4504.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-26T18:03:06.746608226Z",
      "provider": "osv",
      "upstream": [
        "CVE-2023-4504"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2023-4504"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2023-4504",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 457672,
  "published_at": "2023-09-21T23:15:12.293+00:00"
}