Skip to main content
No exploitation reportedFix available

CVE-2023-24805

No exploitation reported by the sources we read.

  • Published2023-05-17
  • WeaknessCWE-78

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

cups-filters contains backends, filters, and other software required to get the cups printing service working on operating systems other than macos. If you use the Backend Error Handler (beh) to create an accessible network printer, this security vulnerability can cause remote code execution. `beh.c` contains the line `retval = system(cmdline) >> 8;` which calls the `system` command with the operand `cmdline`. `cmdline` contains multiple user controlled, unsanitized values. As a result an attacker with network access to the hosted print server can exploit this vulnerability to inject system commands which are executed in the context of the running server. This issue has been addressed in commit `8f2740357` and is expected to be bundled in the next release. Users are advised to upgrade when possible and to restrict access to network printers in the meantime.

Timeline

dates in UTC
  1. 2023-05-1718:15CVE publishedNVD

Versions per branch

NVD
Debian debian linux
BranchAffectedFixed in
10.0= 10.0no fix published
11.0= 11.0no fix published
Fedoraproject fedora
BranchAffectedFixed in
37.x= 37no fix published
38.x= 38no fix published
Linuxfoundation cups-filters
BranchAffectedFixed in
2.0< 2.02.0
2.0= 2.0no fix published

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • cups-filtersUbuntu:Pro:16.04:LTSall versions · fixed in 1.8.3-2ubuntu3.5+esm1
  • cups-filtersUbuntu:22.04:LTSall versions · fixed in 1.28.15-0ubuntu1.2
  • cups-filtersUbuntu:20.04:LTSall versions · fixed in 1.27.4-1ubuntu0.2
  • cups-filtersUbuntu:18.04:LTSall versions · fixed in 1.20.2-0ubuntu3.3
  • cups-filtersSUSE:Manager Server 4.2all versions · fixed in 1.25.0-150200.3.6.1
  • cups-filtersSUSE:Manager Proxy 4.2all versions · fixed in 1.25.0-150200.3.6.1
  • cups-filtersSUSE:Linux Enterprise Server for SAP Applications 15 SP3all versions · fixed in 1.25.0-150200.3.6.1
  • cups-filtersSUSE:Linux Enterprise Server for SAP Applications 15 SP2all versions · fixed in 1.25.0-150200.3.6.1

60 more package ranges on OSV.dev

Vendor advisories

  • CVE-2023-24805 Red Hat Product Security275 products fixed

    cups-filters: remote code execution in cups-filters, beh CUPS backend

  • RHSA-2023:3426 Red Hat Product Security45 products fixed

    Red Hat Security Advisory: cups-filters security update

  • RHSA-2023:3429 Red Hat Product Security15 products fixed

    Red Hat Security Advisory: cups-filters security update

  • RHSA-2023:3423 Red Hat Product Security45 products fixed

    Red Hat Security Advisory: cups-filters security update

  • RHSA-2023:3428 Red Hat Product Security35 products fixed

    Red Hat Security Advisory: cups-filters security update

  • RHSA-2023:3425 Red Hat Product Security45 products fixed

    Red Hat Security Advisory: cups-filters security update

2 more advisories

Full record on NVD

Fix

  1. Vendor fix Red Hat Product Security RHSA-2023:3426 · 45 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

  • CNACVSS 3.18.8known since 2026-10-23
  • NVDCVSS 3.18.8read 2026-10-23
  • CNAweakness (CWE)CWE-78known since 2026-10-23
  • NVDweakness (CWE)CWE-78read 2026-10-23
  • FIRST EPSSEPSS score3.7 %2026-12-04
  • OSVaffected packages—

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Published
2023-05-17
Last modified
2026-06-17
NVD status
Modified

Frequently asked questions

What is CVE-2023-24805?

cups-filters contains backends, filters, and other software required to get the cups printing service working on operating systems other than macos. If you use the Backend Error Handler (beh) to create an accessible network printer, this security vulnerability can cause remote code execution. `beh.c` contains the line `retval = system(cmdline) >> 8;` which calls the `system` command with the operand `cmdline`. `cmdline` contains multiple user controlled, unsanitized values. As a result an attacker with network access to the hosted print server can exploit this vulnerability to inject system commands which are executed in the context of the running server. This issue has been addressed in commit `8f2740357` and is expected to be bundled in the next release. Users are advised to upgrade when possible and to restrict access to network printers in the meantime.

Is CVE-2023-24805 actively exploited?

Active exploitation of CVE-2023-24805 has not been confirmed. Its EPSS score was 3.7% on 2026-12-04, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2023-24805?

CVE-2023-24805 has a CVSS v3 base score of 8.8 (High severity), with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.

Running cups-filters? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record