CVE-2023-34241: Use-After-Free in OpenPrinting CUPS cupsd Client Logging
- Vendors
- OpenprintingDebian ProjectFedora ProjectApple
CVE-2023-34241 is a use-after-free vulnerability in OpenPrinting CUPS versions 2.0.0 through 2.4.5. In the cupsd client-acceptance path, scheduler/client.c calls httpClose(con->http), which frees the HTTP object, before cupsdLogClient passes the freed pointer to httpGetHostname for logging. The flaw can occur when logging is configured at warn level or higher and hostname lookup fails during a configured double IP-address lookup, or when TCP-wrapper rules reject a connection in builds that support TCP wrappers. The use-after-free affects the entire cupsd process.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Use of previously freed memory in cupsd can expose residual memory contents and may cause data corruption or denial of service. Depending on memory state and exploitability, it may also permit unauthorized code or command execution.
Mitigation
If you can’t patch tonight, do this now.
No vendor mitigation is specified. Until an upgrade can be applied, reduce exposure to untrusted clients and avoid the affected logging and hostname-lookup conditions where operationally feasible.
Remediation
Patch, then assume compromise.
Upgrade OpenPrinting CUPS to version 2.4.6 or later, which contains the upstream fix. For F5 Traffix SDC 5.2 installations, upgrade releases CF1 through CF4 to Traffix SDC 5.2 CF5.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2023-34241 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2023-34241 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2023-34241?
- Yes. As of Oct 16, 2026, Mallory has reports of a public exploit for CVE-2023-34241.
- Is there a patch for CVE-2023-34241?
- Upgrade OpenPrinting CUPS to version 2.4.6 or later, which contains the upstream fix. For F5 Traffix SDC 5.2 installations, upgrade releases CF1 through CF4 to Traffix SDC 5.2 CF5.
- What products are affected by CVE-2023-34241?
- Openprinting Cups, Debian Project Debian Linux, Fedora Project Fedora, and Apple Macos.
- How severe is CVE-2023-34241?
- CVE-2023-34241 has a CVSS v3.1 score of 7.1 (High) and an EPSS score of 1.4% (73rd percentile) as of Oct 16, 2026.
Recent activity
8 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.