CVE-2026-4480
Samba: samba: remote code execution in printing subsystem via unescaped job description
- State
- Published
- Severity
- 9.0 Critical
- Published
- May 26, 2026
- Updated
- Sep 1, 2026
- Reserved
- Mar 19, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 9.0 Critical | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H | redhat |
| 3.1 | 9.0 Critical | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H | redhat-SADP |
Weaknesses
- CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Affected Products
| Product | Versions |
|---|---|
Red Hat Enterprise Linux 10Red Hat |
|
Red Hat Enterprise Linux 10.0 Extended Update SupportRed Hat |
|
Red Hat Enterprise Linux 7 Extended Lifecycle SupportRed Hat |
|
Red Hat Enterprise Linux 7 Extended Lifecycle SupportRed Hat |
|
Red Hat Enterprise Linux 8Red Hat |
|
Red Hat Enterprise Linux 8Red Hat |
|
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update SupportRed Hat |
|
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-OnRed Hat |
|
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update SupportRed Hat |
|
Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-OnRed Hat |
|
Red Hat Enterprise Linux 8.8 Telecommunications Update ServiceRed Hat |
|
Red Hat Enterprise Linux 8.8 Update Services for SAP SolutionsRed Hat |
|
Red Hat Enterprise Linux 9Red Hat |
|
Red Hat Enterprise Linux 9Red Hat |
|
Red Hat Enterprise Linux 9.2 Update Services for SAP SolutionsRed Hat |
|
Red Hat Enterprise Linux 9.4 Update Services for SAP SolutionsRed Hat |
|
Red Hat Enterprise Linux 9.6 Extended Update SupportRed Hat |
|
Red Hat Enterprise Linux 6Red Hat | |
Red Hat Enterprise Linux 6Red Hat | |
Red Hat OpenShift Container Platform 4Red Hat | |
Red Hat OpenShift Container Platform 4Red Hat |
References
- RHSA-2026:22644vendor-advisory
- RHSA-2026:22963vendor-advisory
- RHSA-2026:25049vendor-advisory
- RHSA-2026:25979vendor-advisory
- RHSA-2026:28053vendor-advisory
- RHSA-2026:28054vendor-advisory
- RHSA-2026:28055vendor-advisory
- RHSA-2026:28056vendor-advisory
- RHSA-2026:28057vendor-advisory
- RHSA-2026:28058vendor-advisory
- RHSA-2026:28132vendor-advisory
- https://access.redhat.com/security/cve/CVE-2026-4480vdb-entry
- RHBZ#2452232issue-tracking
- https://bugzilla.samba.org/show_bug.cgi?id=16033
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-4480.json
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.