# CVE-2023-24805: Command injection in cups-filters

- Priority: **Prioritise**
- Reason: Public exploit (GitHub, Date unknown)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2023-05-17 · Modified: 2025-02-13
- Aliases: MGASA-2023-0189, SUSE-SU-2023:2233-1, RHSA-2023:3423, RHSA-2023:3424, RHSA-2023:3425, RHSA-2023:3426, RHSA-2023:3427, RHSA-2023:3428, RHSA-2023:3429, UBUNTU-CVE-2023-24805, USN-6083-1, USN-6083-2, DEBIAN-CVE-2023-24805, DLA-3430-1, DSA-5407-1, SUSE-SU-2023:2233-2, openSUSE-SU-2024:12939-1, ALPINE-CVE-2023-24805
- Record: https://cvemate.com/vulnerability/CVE-2023-24805 · JSON: https://cvemate.com/vulnerability/CVE-2023-24805/json

## Description

```text
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.
```

## Signals

- CVSS: 8.8 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 3.728%, percentile 90.157%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected (first 20 of 31)

- alpine cups-filters (Alpine Linux): \< 1.28.17-r2 \| \< 1.28.17-r3
- debian cups-filters (Debian): \< 1.28.17-3 \| \< 1.21.6-5+deb10u1 \| \< 1.28.7-1+deb11u2
- ubuntu cups-filters (Ubuntu): \< 1.8.3-2ubuntu3.5+esm1 \| \< 1.20.2-0ubuntu3.3 \| \< 1.27.4-1ubuntu0.2 \| \< 1.28.15-0ubuntu1.2
- debian debian\_linux: 10.0 \| 11.0
- fedoraproject fedora: 37 \| 38
- linuxfoundation cups-filters: \< 2.0 \| 2.0:beta1 \| 2.0:beta2 \| 2.0:beta3 \| 2.0:rc1
- mageia cups-filters (Mageia): \< 1.28.7-1.1.mga8
- openprinting cups-filters: ≤ 2.0rc1
- opensuse cups-filters&distro=openSUSE Leap 15.4 (openSUSE): \< 1.25.0-150200.3.6.1
- opensuse cups-filters&distro=openSUSE Leap 15.5 (openSUSE): \< 1.25.0-150200.3.6.1
- opensuse cups-filters&distro=openSUSE Tumbleweed (openSUSE): \< 1.28.15-3.1
- redhat cups-filters (Red Hat): \< 0:1.28.7-11.el9\_2.1 \| \< 0:1.28.7-10.el9\_0.1 \| \< 0:1.20.0-29.el8\_8.2 \| \< 0:1.20.0-27.el8\_6.1 \| \< 0:1.20.0-24.el8\_4.1 \| \< 0:1.20.0-19.el8\_2.1 \| \< 0:1.20.0-18.el8\_1.1
- redhat cups-filters-debuginfo (Red Hat): \< 0:1.28.7-11.el9\_2.1 \| \< 0:1.28.7-10.el9\_0.1 \| \< 0:1.20.0-29.el8\_8.2 \| \< 0:1.20.0-27.el8\_6.1 \| \< 0:1.20.0-24.el8\_4.1 \| \< 0:1.20.0-19.el8\_2.1 \| \< 0:1.20.0-18.el8\_1.1
- redhat cups-filters-debugsource (Red Hat): \< 0:1.28.7-11.el9\_2.1 \| \< 0:1.28.7-10.el9\_0.1 \| \< 0:1.20.0-29.el8\_8.2 \| \< 0:1.20.0-27.el8\_6.1 \| \< 0:1.20.0-24.el8\_4.1 \| \< 0:1.20.0-19.el8\_2.1 \| \< 0:1.20.0-18.el8\_1.1
- redhat cups-filters-devel (Red Hat): \< 0:1.28.7-11.el9\_2.1 \| \< 0:1.28.7-10.el9\_0.1 \| \< 0:1.20.0-29.el8\_8.2 \| \< 0:1.20.0-27.el8\_6.1 \| \< 0:1.20.0-24.el8\_4.1
- redhat cups-filters-libs (Red Hat): \< 0:1.28.7-11.el9\_2.1 \| \< 0:1.28.7-10.el9\_0.1 \| \< 0:1.20.0-29.el8\_8.2 \| \< 0:1.20.0-27.el8\_6.1 \| \< 0:1.20.0-24.el8\_4.1 \| \< 0:1.20.0-19.el8\_2.1 \| \< 0:1.20.0-18.el8\_1.1
- redhat cups-filters-libs-debuginfo (Red Hat): \< 0:1.28.7-11.el9\_2.1 \| \< 0:1.28.7-10.el9\_0.1 \| \< 0:1.20.0-29.el8\_8.2 \| \< 0:1.20.0-27.el8\_6.1 \| \< 0:1.20.0-24.el8\_4.1 \| \< 0:1.20.0-19.el8\_2.1 \| \< 0:1.20.0-18.el8\_1.1
- suse cups-filters&distro=SUSE Enterprise Storage 7 (SUSE Linux Enterprise): \< 1.25.0-150200.3.6.1
- suse cups-filters&distro=SUSE Enterprise Storage 7.1 (SUSE Linux Enterprise): \< 1.25.0-150200.3.6.1
- suse cups-filters&distro=SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS (SUSE Linux Enterprise): \< 1.25.0-150200.3.6.1

## References (first 20 of 40)

- <https://github.com/OpenPrinting/cups-filters/security/advisories/GHSA-gpxc-v2m8-fr3x>
- <https://github.com/OpenPrinting/cups-filters/commit/8f274035756c04efeb77eb654e9d4c4447287d65>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/YNCGL2ZTAS2GFF23QFT55UFWIDMI4ZJK/>
- <https://lists.debian.org/debian-lts-announce/2023/05/msg00021.html>
- <https://www.debian.org/security/2023/dsa-5407>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KL2SJMZQ5T5JIH3PMQ2CGCY5TUUE255Y/>
- <https://security.gentoo.org/glsa/202401-06>
- <https://advisories.mageia.org/MGASA-2023-0189.html>
- <https://bugs.mageia.org/show_bug.cgi?id=31939>
- <https://www.openwall.com/lists/oss-security/2023/05/17/5>
- <https://ubuntu.com/security/notices/USN-6083-1>
- <https://lists.suse.com/pipermail/sle-security-updates/2023-May/014921.html>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/YNCGL2ZTAS2GFF23QFT55UFWIDMI4ZJK/>
- <https://www.suse.com/support/update/announcement/2023/suse-su-20232233-1/>
- <https://bugzilla.suse.com/1211340>
- <https://www.suse.com/security/cve/CVE-2023-24805>
- <https://access.redhat.com/errata/RHSA-2023:3423>
- <https://access.redhat.com/security/updates/classification/#important>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2203051>
- <https://security.access.redhat.com/data/csaf/v2/advisories/2023/rhsa-2023_3423.json>

---

Data as of 2026-12-05T05:00:13.279Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
