All reports
High

lrzsz: lrzsz: Arbitrary command execution via crafted file names in pipe mode

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-105841

Probability of exploitation in the next 30 days: 0.94%

FIRST EPSS · 2026-11-22

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.

A flaw was found in lrzsz. When operating in pipe mode, the lrz receive utility does not properly sanitize file names received during file transfers before passing them to the system shell. A remote attacker can exploit this flaw by sending a specially crafted file name, leading to arbitrary command execution with the permissions of the receiving user.