All vulnerabilities

Servers and applications

CVE-2026-4480

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…

Severity
Critical 9.0
Published
26 May 2026
Last changed
4 Nov 2026
Added to UpHeron
1 Nov 2026
Fixed in
4.2.1
Exploit chance
29% in the next 30 daysHigher than 98% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
OS command injection (CWE-78)
Attack
Over the network · Only under certain conditions · No login needed · No user action needed
Attacker can
Read data · Change data · Take it down
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
Sources
NVD

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.

From NVD.

Affected software

SoftwareAffected versions
SambaServers and applications · cpe:a:samba:samba
  • From 4.1.0 before 4.2.1

About Samba

free software re-implementation of the SMB networking protocol

From Wikidata, CC0 1.0.
Developer
The Samba TeamWikidata
License
GNU Lesser General Public License, version 3.0 or laterWikidata
Written in
C, C++, PythonWikidata
First released
1992Wikidata

Release lines

ReleaseLatestSecurity fixes
4.254.25.1Until 31 Mar 2028
4.244.24.8Until 30 Sept 2027
4.234.23.13Until 31 Mar 2027
4.224.22.11Ended 30 Sept 2026
4.214.21.10Ended 31 Mar 2026
4.204.20.8Ended 12 Sept 2025

From endoflife.date.

Vulnerabilities in Samba

In our list
217
Published in the last 12 months
7
Critical, last 12 months
2
High, last 12 months
1
Known exploited
2
Search the list for Samba

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2026-4480
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-4480