CVE-2026-105841: lrzsz OS command injection in lrz pipe mode

CVE-2026-105841 · Severity: high · CVSS 7.5 · Published 2026-10-06

lrzsz is a utility for transferring files using XMODEM, YMODEM, and ZMODEM protocols. When lrz receives files from a remote sender and is invoked under a suffixed name like lrztar, it passes filenames directly to shell commands without sanitizing special characters. An attacker can craft malicious filenames to execute arbitrary commands with the privileges of the receiving user.

Technologies: Uwe Ohse Lrzsz. Vendors: Uwe Ohse.

Quick answers

Is CVE-2026-105841 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-105841 being exploited in the wild.
How severe is CVE-2026-105841?
High severity, with a CVSS score of 7.5, published 6 October 2026.
Which products and versions are affected?
Uwe Ohse Lrzsz before 0.13.0.
Is there a fix for CVE-2026-105841?
Yes: fixed in 0.13.0. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-105841 attacked?
It is attacked over the network, in a software library.
Am I affected by CVE-2026-105841?
Check whether you run Uwe Ohse Lrzsz at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • Fixed in: 0.13.0

Technical details

A command injection vulnerability exists in the procheader() function in src/lrz.c when lrz is invoked with a suffixed name (such as lrztar). The function passes unescaped ZMODEM/YMODEM filenames received from the remote sender directly to popen(), allowing shell metacharacters in the filename to be interpreted and executed. An attacker capable of controlling the filename during a file transfer can achieve remote code execution as the user running lrz.

Affected products

  • Uwe Ohse lrzsz before 0.13.0

Timeline

  • 2026-10-06: disclosed

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.