CVE-2023-34241 in Apple Macos and 3 more products
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 ...
Affects 4 products from 4 vendors. Facts below cite their sources.
Requires local access, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, no integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Apple | Macos | < 11.7.9 ≥ 12.0.0, < 12.6.8 ≥ 13.0, < 13.5 |
| Debian | Debian Linux | 10.0 |
| Fedoraproject | Fedora | 37 38 |
| Openprinting | Cups | ≥ 2.2.0, < 2.4.6 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2023-34241 |
|---|---|
| BreachSpider ID | BS-2023-GLOBAL-003851-H |
| CVSS vector | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H |
| Published | 2023-06-22 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-416: Use After Free
Software references memory after it has been freed, leading to corruption, crashes, or code execution.
Analysis AI-written, not human-reviewed
CVE-2023-34241 is a use-after-free vulnerability in OpenPrinting CUPS affecting versions 2.0.0 to 2.4.5. This issue arises due to CUPS logging data of free memory after the connection has been closed, which can lead to potential security risks.
An attacker could exploit this vulnerability by sending specially crafted requests to the CUPS server, potentially leading to information disclosure, denial of service, or arbitrary code execution.
Questions
What is CVE-2023-34241?
CVE-2023-34241 is a use-after-free vulnerability in OpenPrinting CUPS affecting versions 2.0.0 to 2.4.5. This issue arises due to CUPS logging data of free memory after the connection has been closed, which can lead to potential security risks.
What is the CVSS score for CVE-2023-34241?
CVE-2023-34241 has CVSS 7.1 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H. EPSS: 1.4%.
Is CVE-2023-34241 actively exploited?
No confirmed active exploitation of CVE-2023-34241 as of 2026-09-25.
How do I remediate CVE-2023-34241?
Priority: HIGH. PSIRT: [email protected]
What systems are affected by CVE-2023-34241?
CVE-2023-34241 affects Apple Macos; Debian Debian Linux; Fedoraproject Fedora; Openprinting Cups.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Apple","product":"Macos","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.