CVE-2026-4480
Samba: samba: remote code execution in printing subsystem via unescaped job description
Reported by redhat · Published May 26, 2026
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| libldb | errata.rockylinux.org | 4.23.5-109.el10, 4.23.5-10.el9 |
| samba-dcerpc | errata.rockylinux.org | 4.23.5-10.el9, 4.19.4-16.el8 |
| libsmbclient-debuginfo | errata.rockylinux.org | 4.23.5-109.el10 |
| samba-winbind-clients | errata.rockylinux.org | 4.23.5-10.el9 |
| samba-debugsource | errata.rockylinux.org | 4.23.5-109.el10, 4.23.5-10.el9 |
| samba-client-libs | errata.rockylinux.org | 4.23.5-109.el10 |
| libnetapi-devel | errata.rockylinux.org | 4.23.5-109.el10, 4.19.4-16.el8 |
| libldb-debuginfo | errata.rockylinux.org | 4.23.5-10.el9 |
| samba-common-libs | errata.rockylinux.org | 4.23.5-10.el9 |
| samba-common-libs | Amazon Linux | 4.10.16-24.amzn2.0.7, 2:4.17.12-1.amzn2023.0.4 |
| samba-test-libs | errata.rockylinux.org | 4.23.5-109.el10 |
| samba-winbind | errata.rockylinux.org | 4.23.5-10.el9, 4.19.4-16.el8 |
50 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Red Hat | Red Hat Enterprise Linux 10 | 0:4.23.5-109.el10_2 |
| Red Hat | Red Hat Enterprise Linux 10.0 Extended Update Support | 0:4.21.3-114.el10_0.1 |
| Red Hat | Red Hat Enterprise Linux 7 Extended Lifecycle Support | 0:4.10.16-26.el7_9.1 |
| Red Hat | Red Hat Enterprise Linux 7 Extended Lifecycle Support | 0:4.10.16-26.el7_9.1 |
| Red Hat | Red Hat Enterprise Linux 8 | 0:4.19.4-16.el8_10 |
| Red Hat | Red Hat Enterprise Linux 8 | 0:4.19.4-16.el8_10 |
| Red Hat | Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support | 0:4.13.3-12.el8_4.1 |
| Red Hat | Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On | 0:4.13.3-12.el8_4.1 |
| Red Hat | Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support | 0:4.15.5-16.el8_6.1 |
| Red Hat | Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On | 0:4.15.5-16.el8_6.1 |
| Red Hat | Red Hat Enterprise Linux 8.8 Telecommunications Update Service | 0:4.17.5-7.el8_8.1 |
| Red Hat | Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions | 0:4.17.5-7.el8_8.1 |
| Red Hat | Red Hat Enterprise Linux 9 | 0:4.23.5-10.el9_8 |
| Red Hat | Red Hat Enterprise Linux 9 | 0:4.23.5-10.el9_8 |
| Red Hat | Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions | 0:4.17.5-105.el9_2.5 |
| Red Hat | Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions | 0:4.19.4-105.el9_4.4 |
| Red Hat | Red Hat Enterprise Linux 9.6 Extended Update Support | 0:4.21.3-14.el9_6.1 |
| Red Hat | Red Hat Enterprise Linux 6 | |
| Red Hat | Red Hat Enterprise Linux 6 | |
| Red Hat | Red Hat OpenShift Container Platform 4 |
…and 137 more
Timeline
- May 26, 2026 CVE Published
- May 27, 2026 EPSS Score (14 in total, the first dated here)
- May 28, 2026 Security Advisory (16 in total, the first dated here)
- Jun 4, 2026 Distribution Patch (18 in total, the first dated here)
- Jun 5, 2026 VulnCheck XDB Entry (9 in total, the first dated here)
- Jun 7, 2026 Coalition ESS Score
- Jul 20, 2026 VulnCheck KEV Exploitation
- Nov 4, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-4480
vulnetix vdb fixes CVE-2026-4480
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-4480/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- RHSA-2026:22644 vendor-advisoryx_refsource_REDHAT
- RHSA-2026:22963 vendor-advisoryx_refsource_REDHAT
- RHSA-2026:25049 vendor-advisoryx_refsource_REDHAT
- RHSA-2026:25979 vendor-advisoryx_refsource_REDHAT
- RHSA-2026:28053 vendor-advisoryx_refsource_REDHAT
- RHSA-2026:28054 vendor-advisoryx_refsource_REDHAT
- RHSA-2026:28055 vendor-advisoryx_refsource_REDHAT
- RHSA-2026:28056 vendor-advisoryx_refsource_REDHAT
- RHSA-2026:28057 vendor-advisoryx_refsource_REDHAT
- RHSA-2026:28058 vendor-advisoryx_refsource_REDHAT
- RHSA-2026:28132 vendor-advisoryx_refsource_REDHAT
- vdb-entryx_refsource_REDHAT
- RHBZ#2452232 issue-trackingx_refsource_REDHAT
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-4480.json url