Home / OpenPrinting / cups / CVE-2023-34241
CVE-2023-34241: is it exploited, and which versions of OpenPrinting cups are affected and fixed?
CVE-2023-34241 is an use after free vulnerability in OpenPrinting cups. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 14:08 UTC). Affected: cups >= 2.0.0, < 2.4.6 (CVE record by GitHub_M). Fixed in 2.4.6, 11.7.9, 12.6.8 and 13.5 (NVD). Severity: Medium (5.3, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 14:08 UTC, CVE record November 19, 2026, 07:13 UTC and NVD November 19, 2026, 07:38 UTC.
What is CVE-2023-34241?
CUPS vulnerable to use-after-free in cupsdAcceptClient()
OpenPrinting CUPS is a standards-based, open source printing system for Linux and other Unix-like operating systems. Starting in version 2.0.0 and prior to version 2.4.6, CUPS logs data of free memory to the logging service AFTER the connection has been closed, when it should have logged the data right before. This is a use-after-free bug that impacts the entire cupsd process. The exact cause of this issue is the function `httpClose(con->http)` being called in `scheduler/client.c`. The problem is that httpClose always, provided its argument is not null, frees the pointer at the end of the call, only for cupsdLogClient to pass the pointer to httpGetHostname. This issue happens in function `cupsdAcceptClient` if LogLevel is warn or higher and in two scenarios: there is a double-lookup for the IP Address (HostNameLookups Double is set in `cupsd.conf`) which fails to resolve, or if CUPS is compiled with TCP wrappers and the connection is refused by rules from `/etc/hosts.allow` and `/etc/hosts.deny`. Version 2.4.6 has a patch for this issue.
From the CVE record by GitHub_M, last updated February 13, 2025, 16:55 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| OpenPrinting | cups | >= 2.0.0, < 2.4.6 |
As the CVE record by GitHub_M states it, last updated February 13, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| openprinting | cups | from 2.2.0 before 2.4.6 | application |
| fedoraproject | fedora | 37 | operating system |
| fedoraproject | fedora | 38 | operating system |
| debian | debian linux | 10.0 | operating system |
| apple | macos | before 11.7.9 | operating system |
| apple | macos | from 12.0.0 before 12.6.8 | operating system |
| apple | macos | from 13.0 before 13.5 | operating system |
NVD analysis (status Modified), last modified June 17, 2026, 06:03 UTC.
How severe is CVE-2023-34241?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.3 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L | GitHub_M |
| High 7.1 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2023-34241 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: yes; technical impact: partial (CISA ADP, December 10, 2024)
- EPSS
- 1.38% probability of exploitation activity in the next 30 days, percentile 73.0 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-416 Use After Free
Where are the vendor advisories and references?
- https://github.com/OpenPrinting/cups/security/advisories/GHSA-qjgh-5hcq-5f25 x_refsource_CONFIRM
- https://github.com/OpenPrinting/cups/commit/9809947a959e18409dcf562a3466ef246cb90cb2 x_refsource_MISC
- https://github.com/OpenPrinting/cups/releases/tag/v2.4.6 x_refsource_MISC
- http://www.openwall.com/lists/oss-security/2023/06/23/10
- http://www.openwall.com/lists/oss-security/2023/06/26/1
- https://lists.fedoraproject.org/archives/list/[email protected]/message/TBIYKDS3UG3W4Z7YOHTR2AWFNBRYPNYY/
- https://lists.debian.org/debian-lts-announce/2023/06/msg00038.html
- https://lists.fedoraproject.org/archives/list/[email protected]/message/7I7DWGYGEMBNLZF5UQBMF3SONR37YUBN/
- https://support.apple.com/kb/HT213843
- https://support.apple.com/kb/HT213844
- https://support.apple.com/kb/HT213845
When was it published, and where is the official record?
- Reserved
- May 31, 2023
- Published
- June 22, 2023, 22:39 UTC
- CVE record updated
- February 13, 2025, 16:55 UTC by GitHub_M
- NVD
- Modified, last modified June 17, 2026, 06:03 UTC
- Last checked
- CVE list November 19, 2026, 07:13 UTC; NVD November 19, 2026, 07:38 UTC; KEV December 3, 2026, 14:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect cups?
- Oct 15, 2026CVE-2026-61702 OpenPrinting cups: path traversal (reading or writing files outside the intended folder)
- Oct 15, 2026CVE-2026-55453 OpenPrinting cups: injection
- Oct 15, 2026CVE-2026-55480 OpenPrinting cups: link following (a symlink lets an attacker reach other files)
- Oct 15, 2026CVE-2026-55467 OpenPrinting cups: improper Neutralization of CRLF Sequences
- Oct 9, 2026CVE-2026-107890 OpenPrinting CUPS: NULL pointer dereference (crash)
- Oct 9, 2026CVE-2026-107888 OpenPrinting CUPS: NULL pointer dereference (crash)
- Oct 9, 2026CVE-2026-107886 OpenPrinting CUPS: double free
- Oct 9, 2026CVE-2026-107885 OpenPrinting CUPS: denial of service (resources allocated without limits)
Questions about CVE-2023-34241
Is CVE-2023-34241 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 14:08 UTC. FIRST's EPSS gives it a 1.38% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of OpenPrinting cups are affected by CVE-2023-34241?
cups >= 2.0.0, < 2.4.6, per the CVE record by GitHub_M. The tables above give every range the sources list.
Which version fixes CVE-2023-34241?
2.4.6, 11.7.9, 12.6.8 and 13.5, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2023-34241?
Medium (5.3, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2023-34241?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.