Search
Find a vulnerability
Search criteria
Related vulnerabilities
UBUNTU-CVE-2023-4504 (CVE-2023-4504)
Vulnerability from osv_ubuntu – Published: 2023-09-20 12:00 – Updated: 2026-11-24 09:56 – Source website
VLAI
Details
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.
Upstream
Related
Severity
0.0 (None)
7.0 (High)
7.0 (High)
N/A (UNKNOWN)
References
6 references
Impacted products
8 products
| Ecosystem | Package | Version |
|---|---|---|
| Ubuntu:Pro:16.04:LTS |
cups
pkg:deb/ubuntu/cups@2.1.3-4ubuntu0.11+esm4?arch=source&distro=esm-infra/xenial
|
Affected: < 2.1.3-4ubuntu0.11+esm4 (ecosystem)
2.1.0-4ubuntu32.1.0-52.1.0-62.1.0-6ubuntu12.1.0-72.1.2-12.1.2-22.1.3-12.1.3-1build12.1.3-3
and 14 more (see JSON)
|
| Ubuntu:16.04:LTS |
libppd
pkg:deb/ubuntu/libppd@2:0.10-7.2?arch=source&distro=xenial
|
Affected: All versions (ecosystem)
2:0.10-7.2
|
| Ubuntu:Pro:18.04:LTS |
cups
pkg:deb/ubuntu/cups@2.2.7-1ubuntu2.10+esm2?arch=source&distro=esm-infra/bionic
|
Affected: < 2.2.7-1ubuntu2.10+esm2 (ecosystem)
2.2.4-7ubuntu22.2.5-22.2.6-22.2.6-32.2.6-42.2.6-52.2.7-1ubuntu12.2.7-1ubuntu22.2.7-1ubuntu2.12.2.7-1ubuntu2.2
and 9 more (see JSON)
|
| Ubuntu:18.04:LTS |
libppd
pkg:deb/ubuntu/libppd@2:0.10-7.3?arch=source&distro=bionic
|
Affected: All versions (ecosystem)
2:0.10-7.3
|
| Ubuntu:20.04:LTS |
cups
pkg:deb/ubuntu/cups@2.3.1-9ubuntu1.6?arch=source&distro=focal
|
Affected: < 2.3.1-9ubuntu1.6 (ecosystem)
2.2.12-2ubuntu12.3.0-62.3.0-72.3.0-7ubuntu12.3.1-1ubuntu12.3.1-22.3.1-42.3.1-72.3.1-9ubuntu12.3.1-9ubuntu1.1
and 4 more (see JSON)
|
| Ubuntu:20.04:LTS |
libppd
pkg:deb/ubuntu/libppd@2:0.10-7.3?arch=source&distro=focal
|
Affected: All versions (ecosystem)
2:0.10-7.3
|
| Ubuntu:22.04:LTS |
cups
pkg:deb/ubuntu/cups@2.4.1op1-1ubuntu4.7?arch=source&distro=jammy
|
Affected: < 2.4.1op1-1ubuntu4.7 (ecosystem)
2.3.3op2-7ubuntu22.4.1op1-1ubuntu12.4.1op1-1ubuntu22.4.1op1-1ubuntu32.4.1op1-1ubuntu42.4.1op1-1ubuntu4.12.4.1op1-1ubuntu4.22.4.1op1-1ubuntu4.42.4.1op1-1ubuntu4.6
|
| Ubuntu:22.04:LTS |
libppd
pkg:deb/ubuntu/libppd@2:0.10-8?arch=source&distro=jammy
|
Affected: All versions (ecosystem)
2:0.10-7.32:0.10-8
|
{
"affected": [
{
"ecosystem_specific": {
"availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
"binaries": [
{
"binary_name": "cups",
"binary_version": "2.1.3-4ubuntu0.11+esm4"
},
{
"binary_name": "cups-bsd",
"binary_version": "2.1.3-4ubuntu0.11+esm4"
},
{
"binary_name": "cups-client",
"binary_version": "2.1.3-4ubuntu0.11+esm4"
},
{
"binary_name": "cups-common",
"binary_version": "2.1.3-4ubuntu0.11+esm4"
},
{
"binary_name": "cups-core-drivers",
"binary_version": "2.1.3-4ubuntu0.11+esm4"
},
{
"binary_name": "cups-daemon",
"binary_version": "2.1.3-4ubuntu0.11+esm4"
},
{
"binary_name": "cups-ipp-utils",
"binary_version": "2.1.3-4ubuntu0.11+esm4"
},
{
"binary_name": "cups-ppdc",
"binary_version": "2.1.3-4ubuntu0.11+esm4"
},
{
"binary_name": "cups-server-common",
"binary_version": "2.1.3-4ubuntu0.11+esm4"
},
{
"binary_name": "libcups2",
"binary_version": "2.1.3-4ubuntu0.11+esm4"
},
{
"binary_name": "libcupscgi1",
"binary_version": "2.1.3-4ubuntu0.11+esm4"
},
{
"binary_name": "libcupsimage2",
"binary_version": "2.1.3-4ubuntu0.11+esm4"
},
{
"binary_name": "libcupsmime1",
"binary_version": "2.1.3-4ubuntu0.11+esm4"
},
{
"binary_name": "libcupsppdc1",
"binary_version": "2.1.3-4ubuntu0.11+esm4"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:16.04:LTS",
"name": "cups",
"purl": "pkg:deb/ubuntu/cups@2.1.3-4ubuntu0.11+esm4?arch=source\u0026distro=esm-infra/xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2.1.3-4ubuntu0.11+esm4"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.1.0-4ubuntu3",
"2.1.0-5",
"2.1.0-6",
"2.1.0-6ubuntu1",
"2.1.0-7",
"2.1.2-1",
"2.1.2-2",
"2.1.3-1",
"2.1.3-1build1",
"2.1.3-3",
"2.1.3-4",
"2.1.3-4ubuntu0.2",
"2.1.3-4ubuntu0.3",
"2.1.3-4ubuntu0.4",
"2.1.3-4ubuntu0.5",
"2.1.3-4ubuntu0.6",
"2.1.3-4ubuntu0.7",
"2.1.3-4ubuntu0.8",
"2.1.3-4ubuntu0.9",
"2.1.3-4ubuntu0.10",
"2.1.3-4ubuntu0.11",
"2.1.3-4ubuntu0.11+esm1",
"2.1.3-4ubuntu0.11+esm2",
"2.1.3-4ubuntu0.11+esm3"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libppd0",
"binary_version": "2:0.10-7.2"
},
{
"binary_name": "ppdfilt",
"binary_version": "2:0.10-7.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:16.04:LTS",
"name": "libppd",
"purl": "pkg:deb/ubuntu/libppd@2:0.10-7.2?arch=source\u0026distro=xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2:0.10-7.2"
]
},
{
"ecosystem_specific": {
"availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
"binaries": [
{
"binary_name": "cups",
"binary_version": "2.2.7-1ubuntu2.10+esm2"
},
{
"binary_name": "cups-bsd",
"binary_version": "2.2.7-1ubuntu2.10+esm2"
},
{
"binary_name": "cups-client",
"binary_version": "2.2.7-1ubuntu2.10+esm2"
},
{
"binary_name": "cups-common",
"binary_version": "2.2.7-1ubuntu2.10+esm2"
},
{
"binary_name": "cups-core-drivers",
"binary_version": "2.2.7-1ubuntu2.10+esm2"
},
{
"binary_name": "cups-daemon",
"binary_version": "2.2.7-1ubuntu2.10+esm2"
},
{
"binary_name": "cups-ipp-utils",
"binary_version": "2.2.7-1ubuntu2.10+esm2"
},
{
"binary_name": "cups-ppdc",
"binary_version": "2.2.7-1ubuntu2.10+esm2"
},
{
"binary_name": "cups-server-common",
"binary_version": "2.2.7-1ubuntu2.10+esm2"
},
{
"binary_name": "libcups2",
"binary_version": "2.2.7-1ubuntu2.10+esm2"
},
{
"binary_name": "libcupscgi1",
"binary_version": "2.2.7-1ubuntu2.10+esm2"
},
{
"binary_name": "libcupsimage2",
"binary_version": "2.2.7-1ubuntu2.10+esm2"
},
{
"binary_name": "libcupsmime1",
"binary_version": "2.2.7-1ubuntu2.10+esm2"
},
{
"binary_name": "libcupsppdc1",
"binary_version": "2.2.7-1ubuntu2.10+esm2"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:18.04:LTS",
"name": "cups",
"purl": "pkg:deb/ubuntu/cups@2.2.7-1ubuntu2.10+esm2?arch=source\u0026distro=esm-infra/bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2.2.7-1ubuntu2.10+esm2"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.2.4-7ubuntu2",
"2.2.5-2",
"2.2.6-2",
"2.2.6-3",
"2.2.6-4",
"2.2.6-5",
"2.2.7-1ubuntu1",
"2.2.7-1ubuntu2",
"2.2.7-1ubuntu2.1",
"2.2.7-1ubuntu2.2",
"2.2.7-1ubuntu2.3",
"2.2.7-1ubuntu2.4",
"2.2.7-1ubuntu2.5",
"2.2.7-1ubuntu2.6",
"2.2.7-1ubuntu2.7",
"2.2.7-1ubuntu2.8",
"2.2.7-1ubuntu2.9",
"2.2.7-1ubuntu2.10",
"2.2.7-1ubuntu2.10+esm1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libppd0",
"binary_version": "2:0.10-7.3"
},
{
"binary_name": "ppdfilt",
"binary_version": "2:0.10-7.3"
}
]
},
"package": {
"ecosystem": "Ubuntu:18.04:LTS",
"name": "libppd",
"purl": "pkg:deb/ubuntu/libppd@2:0.10-7.3?arch=source\u0026distro=bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2:0.10-7.3"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "cups",
"binary_version": "2.3.1-9ubuntu1.6"
},
{
"binary_name": "cups-bsd",
"binary_version": "2.3.1-9ubuntu1.6"
},
{
"binary_name": "cups-client",
"binary_version": "2.3.1-9ubuntu1.6"
},
{
"binary_name": "cups-common",
"binary_version": "2.3.1-9ubuntu1.6"
},
{
"binary_name": "cups-core-drivers",
"binary_version": "2.3.1-9ubuntu1.6"
},
{
"binary_name": "cups-daemon",
"binary_version": "2.3.1-9ubuntu1.6"
},
{
"binary_name": "cups-ipp-utils",
"binary_version": "2.3.1-9ubuntu1.6"
},
{
"binary_name": "cups-ppdc",
"binary_version": "2.3.1-9ubuntu1.6"
},
{
"binary_name": "cups-server-common",
"binary_version": "2.3.1-9ubuntu1.6"
},
{
"binary_name": "libcups2",
"binary_version": "2.3.1-9ubuntu1.6"
},
{
"binary_name": "libcupsimage2",
"binary_version": "2.3.1-9ubuntu1.6"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "cups",
"purl": "pkg:deb/ubuntu/cups@2.3.1-9ubuntu1.6?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2.3.1-9ubuntu1.6"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.2.12-2ubuntu1",
"2.3.0-6",
"2.3.0-7",
"2.3.0-7ubuntu1",
"2.3.1-1ubuntu1",
"2.3.1-2",
"2.3.1-4",
"2.3.1-7",
"2.3.1-9ubuntu1",
"2.3.1-9ubuntu1.1",
"2.3.1-9ubuntu1.2",
"2.3.1-9ubuntu1.3",
"2.3.1-9ubuntu1.4",
"2.3.1-9ubuntu1.5"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libppd0",
"binary_version": "2:0.10-7.3"
},
{
"binary_name": "ppdfilt",
"binary_version": "2:0.10-7.3"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "libppd",
"purl": "pkg:deb/ubuntu/libppd@2:0.10-7.3?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2:0.10-7.3"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "cups",
"binary_version": "2.4.1op1-1ubuntu4.7"
},
{
"binary_name": "cups-bsd",
"binary_version": "2.4.1op1-1ubuntu4.7"
},
{
"binary_name": "cups-client",
"binary_version": "2.4.1op1-1ubuntu4.7"
},
{
"binary_name": "cups-common",
"binary_version": "2.4.1op1-1ubuntu4.7"
},
{
"binary_name": "cups-core-drivers",
"binary_version": "2.4.1op1-1ubuntu4.7"
},
{
"binary_name": "cups-daemon",
"binary_version": "2.4.1op1-1ubuntu4.7"
},
{
"binary_name": "cups-ipp-utils",
"binary_version": "2.4.1op1-1ubuntu4.7"
},
{
"binary_name": "cups-ppdc",
"binary_version": "2.4.1op1-1ubuntu4.7"
},
{
"binary_name": "cups-server-common",
"binary_version": "2.4.1op1-1ubuntu4.7"
},
{
"binary_name": "libcups2",
"binary_version": "2.4.1op1-1ubuntu4.7"
},
{
"binary_name": "libcupsimage2",
"binary_version": "2.4.1op1-1ubuntu4.7"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "cups",
"purl": "pkg:deb/ubuntu/cups@2.4.1op1-1ubuntu4.7?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2.4.1op1-1ubuntu4.7"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.3.3op2-7ubuntu2",
"2.4.1op1-1ubuntu1",
"2.4.1op1-1ubuntu2",
"2.4.1op1-1ubuntu3",
"2.4.1op1-1ubuntu4",
"2.4.1op1-1ubuntu4.1",
"2.4.1op1-1ubuntu4.2",
"2.4.1op1-1ubuntu4.4",
"2.4.1op1-1ubuntu4.6"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libppd0",
"binary_version": "2:0.10-8"
},
{
"binary_name": "ppdfilt",
"binary_version": "2:0.10-8"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "libppd",
"purl": "pkg:deb/ubuntu/libppd@2:0.10-8?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2:0.10-7.3",
"2:0.10-8"
]
}
],
"aliases": [],
"details": "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.",
"id": "UBUNTU-CVE-2023-4504",
"modified": "2026-11-24T09:56:11Z",
"published": "2023-09-20T12:00:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2023-4504"
},
{
"type": "REPORT",
"url": "https://takeonme.org/cves/CVE-2023-4504.html"
},
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-6391-1"
},
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-6392-1"
},
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-6391-2"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2023-4504"
}
],
"related": [
"USN-6391-1",
"USN-6392-1",
"USN-6391-2"
],
"schema_version": "1.9.2",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:N",
"source": "CNA",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H",
"source": "NVD",
"type": "CVSS_V3"
},
{
"score": "medium",
"source": "SELF",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2023-4504"
]
}