CVE-2026-4480
Description
A flaw was found in the Samba printing subsystem. Samba passes the client-controlled job description string to the command configured with the "print command" setting via the "%J" substitution character without escaping shell meta characters. A remote attacker could exploit this vulnerability by sending a specially crafted print job description that contains unescaped shell characters. This could lead to remote code execution on the affected system.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Mitigation details
Description samba: Samba: Remote Code Execution in printing subsystem via unescaped job description Red Hat statement The issue affects the Samba printing subsystem. Red Hat has classified this issue as Important severity rather than Critical. Print servers configured with ```"printing = cups"``` or ```"printing = iprint"```, and print servers that do not have the ```"%J"``` substitutionβ¦
Description
samba: Samba: Remote Code Execution in printing subsystem via unescaped job description
Red Hat statement
The issue affects the Samba printing subsystem. Red Hat has classified this issue as Important severity rather than Critical. Print servers configured with ```"printing = cups"``` or ```"printing = iprint"```, and print servers that do not have the ```"%J"``` substitution character in the "print command" setting are not affected. By default, Red Hat Enterprise Linux ships with Samba configured to use CUPS-based printing ```printing = cups```. Hence, although the vulnerable code is present, it is not exploitable in default RHEL configurations. In addition, typical RHEL Samba deployments require authenticated access to submit print jobs, therefore Privileges Required are assessed as Low (PR:L). Because exploitation depends on non-default Samba printing configurations and requires use of the %J substitution parameter within print command, the attack complexity is considered High (AC:H), reducing the likelihood of exploitation in standard deployments.
CVSS v3: 8.5 (CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H)
Package state
| Product | Package | State |
|---|---|---|
| Red Hat Enterprise Linux 10 | samba | Affected |
| Red Hat Enterprise Linux 6 | samba | Out of support scope |
| Red Hat Enterprise Linux 6 | samba4 | Out of support scope |
| Red Hat Enterprise Linux 7 | samba | Affected |
| Red Hat Enterprise Linux 8 | samba | Affected |
| Red Hat Enterprise Linux 9 | samba | Affected |
| Red Hat OpenShift Container Platform 4 | rhcos | Affected |
Affected
| Vendor | Product | Version |
|---|---|---|
| redhat | Red Hat Enterprise Linux 10 | Affected |
| redhat | Red Hat Enterprise Linux 7 | Affected |
| redhat | Red Hat Enterprise Linux 8 | Affected |
| redhat | Red Hat Enterprise Linux 9 | Affected |
| redhat | Red Hat OpenShift Container Platform 4 | Affected |
OS impact
SUSE Affected 1 release
| Version | Status | Fixed in |
|---|---|---|
| β | Affected | β |
Debian Mixed 5 releases
| Version | Status | Fixed in |
|---|---|---|
| trixie | Fixed | 2:4.22.8+dfsg-0+deb13u2 |
| sid | Fixed | 2:4.24.3+dfsg-1 |
| forky | Fixed | 2:4.24.3+dfsg-1 |
| bullseye | Affected | β |
| bookworm | Fixed | 2:4.17.12+dfsg-0+deb12u4 |
Red Hat Mixed 5 releases
| Version | Status | Fixed in |
|---|---|---|
| 10.0 | Affected | β |
| 9.0 | Affected | β |
| 8.0 | Affected | β |
| 8 | Fixed | β |
| 7.0 | Affected | β |
AlmaLinux Fixed 1 release
| Version | Status | Fixed in |
|---|---|---|
| 8 | Fixed | samba-pidl-4.19.4-16.el8_10.noarch.rpm |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| redhat | openshift_container_platform | 4.0 | |
| samba | samba | {"startIncluding":"4.1.0","endExcluding":"4.2.1"} | 4.2.1 |
References
- https://access.redhat.com/security/cve/CVE-2026-4480
- https://bugzilla.redhat.com/show_bug.cgi?id=2452232
- https://bugzilla.samba.org/show_bug.cgi?id=16033
- https://www.suse.com/security/cve/CVE-2026-4480.html
- https://security-tracker.debian.org/tracker/CVE-2026-4480
- https://access.redhat.com/errata/RHSA-2026:22644
- https://bugzilla.redhat.com/2447319
- https://bugzilla.redhat.com/2452232
- https://bugzilla.redhat.com/2479762
- https://errata.almalinux.org/8/ALSA-2026-22644.html
- https://access.redhat.com/errata/RHSA-2026:22963
CWEs
CWE-78
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.