OS Command Injection Affecting libnetapi-devel package, versions <2:4.17.12-1.amzn2023.0.4


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
12.8% (96th 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 IDSNYK-AMZN2023-LIBNETAPIDEVEL-17418286
  • published23 Jun 2026
  • disclosed26 May 2026

Introduced: 26 May 2026

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

How to fix?

Upgrade Amazon-Linux:2023 libnetapi-devel to version 2:4.17.12-1.amzn2023.0.4 or higher.
This issue was patched in ALAS2023-2026-1895.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libnetapi-devel package and not the libnetapi-devel package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 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