Skip to main content
HIGH

CVE-2023-24805

CVSS v3

8.8

HIGH

EPSS Score

3.7 %

exploit probability, as of 2026-10-19

CISA KEV

No

known exploited

Exploitation

—

SSVC status

Get an alert for each new CVE published for cups-filters.

Set up CVE WatchFree account · no credit card

Affected and fixed versions

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-filtersAlmaLinux:9all versions · fixed in 1.28.7-11.el9_2.1and 2 other packages
  • cups-filtersAlmaLinux:8all versions · fixed in 1.20.0-29.el8_8.2and 2 other packages

Vendor advisories

  • CVE-2023-24805 Red Hat Product Security350 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

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.

Technical details

Published
2023-05-17

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-10-19, 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).

Running cups-filters? Hear about its next vulnerability

CVE Watch matches each new CVE to the vendors and products you list (vendor and product, not the version) and puts it in your alerts with its KEV and EPSS status.

Already have an account? Open CVE WatchNo credit card required · No monthly cap on website lookups · 250 API requests/month