CVE-2026-105841

lrzsz before 0.13.0 OS Command Injection via lrz Pipe Mode

Published Oct 6, 2026 CVSS 4.0 · 7.7 High EPSS < 1% KEV · Not listed
Description
lrzsz before 0.13.0 contains an OS command injection vulnerability in the lrz receive utility's pipe mode that allows remote senders to execute commands by supplying crafted filenames. When lrz runs under a suffixed name such as lrztar, procheader() in src/lrz.c passes the unescaped ZMODEM/YMODEM filename to popen(), so shell metacharacters execute as the receiving user.

Analysis

AI-generated

Technical impact

lrzsz before version 0.13.0 contains an OS command injection bug that allows an attacker to execute arbitrary commands when the lrz receive utility runs in pipe mode. The flaw originates from the procheader() function in src/lrz.c, which forwards an unescaped ZMODEM/YMODEM filename to popen(). By supplying a filename that contains shell metacharacters, the attacker forces the shell to interpret those characters, executing the payload as the user running lrz, thereby enabling full compromise of the target system.

Affected Systems

Affected by the lrzsz project, the vulnerability impacts all installations of the lrzsz utility distributed by Uwe Ohse that are older than version 0.13.0. The distribution includes the lrztar executable and other suffixed binaries that invoke lrz with pipe mode. No specific sub‑versions are identified beyond the general “prior to 0.13.0” designation.

Risk and Exploitability

With a CVSS base score of 7.7, this defect is considered high severity. The EPSS score is unavailable and the vulnerability is not listed in the CISA KEV catalog, indicating a lower likelihood of active exploitation at present. An attacker can target the flaw remotely by initiating a ZMODEM or YMODEM session from which lrz receives data in pipe mode, and by crafting a malicious filename. The attack requires the receiver to run lrz with pipe mode, so the vector is likely remote network access to the receiving host or local use of the utility.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply lrzsz update version 0.13.0 or later to remove the injection flaw
  • Remove or rename suffixed executables (e.g., lrztar) to prevent pipe mode exploitation
  • Run lrzsz with the least privileges necessary and disable pipe mode or restrict filename handling when possible

Generated by OpenCVE AI on October 6, 2026 at 18:33 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Uwe Ohse
Uwe Ohse lrzsz
Vendors & Products Uwe Ohse
Uwe Ohse lrzsz
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description lrzsz before 0.13.0 contains an OS command injection vulnerability in the lrz receive utility's pipe mode that allows remote senders to execute commands by supplying crafted filenames. When lrz runs under a suffixed name such as lrztar, procheader() in src/lrz.c passes the unescaped ZMODEM/YMODEM filename to popen(), so shell metacharacters execute as the receiving user.
Title lrzsz before 0.13.0 OS Command Injection via lrz Pipe Mode
First Time appeared Lrzsz Project
Lrzsz Project lrzsz
Weaknesses CWE-78
CPEs cpe:2.3:a:lrzsz_project:lrzsz:*:*:*:*:*:*:*:*
Vendors & Products Lrzsz Project
Lrzsz Project lrzsz
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 7.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 6, 2026, 1:58 PM
Reserved
Oct 5, 2026, 10:00 PM
Status
Deferred
Published
Oct 6, 2026, 2:17 PM
Modified
Oct 6, 2026, 3:25 PM
Severity
Important
Public date
Oct 6, 2026, 1:35 PM