REDHAT-BUG-2546595: Command Injection

Published Oct 6, 2026
·
Updated

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.

Affected Software

1 affected component
Lrzsz lrzsz<0.13.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade lrzsz to a version that resolves this vulnerability.

    Fixed in 0.13.0

Event History

Oct 6, 2026
Data Sourced
via Red Hat·01:45 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

Which systems are exposed to this issue?

Systems using lrzsz versions before 0.13.0 are exposed when the lrz receive utility is used in pipe mode under a suffixed name such as lrztar.

2

What does an attacker need to exploit the vulnerability?

An attacker must be able to act as a remote sender and supply a crafted filename through ZMODEM or YMODEM. Shell metacharacters in that filename can be interpreted when lrz passes it to popen().

3

What privileges would successful command execution have?

Commands execute as the user running the receiving lrz process.

4

How can I determine whether a deployment may be affected?

Check whether the installed lrzsz version is earlier than 0.13.0, and whether lrz is invoked in pipe mode using a suffixed executable name such as lrztar.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203