OS Command Injection Affecting samba-libs package, versions *


Severity

Recommended
0.0
high
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.07% (21st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about OS Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RHEL7-SAMBALIBS-16895535
  • published27 May 2026
  • disclosed26 May 2026

Introduced: 26 May 2026

NewCVE-2026-4480  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

There is no fixed version for RHEL:7 samba-libs.

NVD Description

Note: Versions mentioned in the description apply only to the upstream samba-libs package and not the samba-libs package as distributed by RHEL. See How to fix? for RHEL:7 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1