CVE-2023-34241

Severity: Medium
Published: 2023-06-22

Fix Status by Distribution

Fixed in 11 of 27 tracked Linux releases

Fix evidence last checked: 2026-11-24 19:21 UTC

Get alerted when your releases are fixed
Fixed in:
No fix evidence found:
AlmaLinux 10
Debian 11 (Bullseye)
Oracle Linux 10
Red Hat Enterprise Linux 10
Red Hat Enterprise Linux 7 (Extended Lifecycle Support)
Rocky Linux 10
Rocky Linux 8
Rocky Linux 9
SUSE Linux Enterprise Server 15 SP6
SUSE Linux Enterprise Server 15 SP7
SUSE Linux Enterprise Server 16
Ubuntu 24.04 LTS (Noble Numbat)
Ubuntu 25.04 (Plucky Puffin)
Ubuntu 25.10 (Questing Quokka)
Ubuntu 26.04 LTS (Resolute Raccoon)
Ubuntu 26.10 (Stonking Stingray)
Interested in being alerted when these distributions have fixes? Set up an alert.

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.

Exploit evidence

Public proof of concept reported

Last checked: 2026-07-31 19:02 UTC

  • Proof of concept · CISA Coordinator (Assessed 2024-12-10 20:49 UTC)

  • Exploit reference · af854a3a-2127-422b-91ae-364da2661108 · View external evidence (Observed 2026-07-31 19:02 UTC)

NVD evidence for CVE-2023-34241 is reported, not independently verified by Package Alert. It does not establish exploit reliability or applicability to a particular package or environment.