CVE-2026-4480

Publication date 26 May 2026

Last updated 27 May 2026


Ubuntu priority

Cvss 3 Severity Score

8.5 · High

Score breakdown

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.

Read the notes from the security team

Status

Package Ubuntu Release Status
samba 26.04 LTS resolute
Fixed 2:4.23.6+dfsg-1ubuntu2.1
25.10 questing
Fixed 2:4.22.3+dfsg-4ubuntu2.4
24.04 LTS noble
Fixed 2:4.19.5+dfsg-4ubuntu9.6
22.04 LTS jammy
Fixed 2:4.15.13+dfsg-0ubuntu1.12
20.04 LTS focal
Needs evaluation
18.04 LTS bionic
Needs evaluation
16.04 LTS xenial
Needs evaluation
14.04 LTS trusty
Needs evaluation

Notes


mdeslaur

non-default configuration that has "%J" substitution character in "print command" configuration. By default, samba on Ubuntu is configured with "printing = cups" and uses the cups API directly, not "print command".

Severity score breakdown

Parameter Value
Base score 8.5 · High
Attack vector Network
Attack complexity High
Privileges required Low
User interaction None
Scope Changed
Confidentiality High
Integrity impact High
Availability impact High
Vector CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H

References

Related Ubuntu Security Notices (USN)

Other references


Access our resources on patching vulnerabilities