CVE-2026-4480

Samba: samba: remote code execution in printing subsystem via unescaped job description

CRITICAL 9.0

At a glance

Source
NVD
EPSS
EPSS 13.93 % · percentile 97 ()
State
PUBLISHED
Published
Updated
Assigner
redhat
NVD status
Modified

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.

Weaknesses (CWE)

  • CWE-78 — OS Command Injection

References

Scores

VersionScoreVectorScored by
CVSS 3.1CRITICAL 9.0CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:Hredhat
CVSS 3.1CRITICAL 9.0CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:Hredhat-SADP
CVSS 3.1CRITICAL 9.0CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:HNVD · secalert@redhat.com (Secondary)
CVSS 3.1CRITICAL 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HNVD · nvd@nist.gov (Secondary)
CVSS 3.1CRITICAL 9.0CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:HNVD · 0b0ca135-0b70-47e7-9f44-1890c2a1c46c (Secondary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Red Hat · Red Hat Enterprise Linux 10unaffected 0:4.23.5-109.el10_2 < *
Red Hat · Red Hat Enterprise Linux 10.0 Extended Update Supportunaffected 0:4.21.3-114.el10_0.1 < *
Red Hat · Red Hat Enterprise Linux 7 Extended Lifecycle Supportunaffected 0:4.10.16-26.el7_9.1 < *
Red Hat · Red Hat Enterprise Linux 7 Extended Lifecycle Supportunaffected 0:4.10.16-26.el7_9.1 < *
Red Hat · Red Hat Enterprise Linux 8unaffected 0:4.19.4-16.el8_10 < *
Red Hat · Red Hat Enterprise Linux 8unaffected 0:4.19.4-16.el8_10 < *
Red Hat · Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportunaffected 0:4.13.3-12.el8_4.1 < *
Red Hat · Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-Onunaffected 0:4.13.3-12.el8_4.1 < *
Red Hat · Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Supportunaffected 0:4.15.5-16.el8_6.1 < *
Red Hat · Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-Onunaffected 0:4.15.5-16.el8_6.1 < *
Red Hat · Red Hat Enterprise Linux 8.8 Telecommunications Update Serviceunaffected 0:4.17.5-7.el8_8.1 < *
Red Hat · Red Hat Enterprise Linux 8.8 Update Services for SAP Solutionsunaffected 0:4.17.5-7.el8_8.1 < *
Red Hat · Red Hat Enterprise Linux 9unaffected 0:4.23.5-10.el9_8 < *
Red Hat · Red Hat Enterprise Linux 9unaffected 0:4.23.5-10.el9_8 < *
Red Hat · Red Hat Enterprise Linux 9.2 Update Services for SAP Solutionsunaffected 0:4.17.5-105.el9_2.5 < *
Red Hat · Red Hat Enterprise Linux 9.4 Update Services for SAP Solutionsunaffected 0:4.19.4-105.el9_4.4 < *
Red Hat · Red Hat Enterprise Linux 9.6 Extended Update Supportunaffected 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

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD