CVE-2026-105842: lrzsz before 0.13.0 Heap Buffer Overflow via lrz procheader() Pathname
lrzsz before 0.13.0 contains a heap-based buffer overflow vulnerability in procheader() of the lrz receive utility when copying overlong sender-supplied filenames into Pathname. Malicious ZMODEM senders can supply filenames up to 8192 bytes, overflowing the buffer via sprintf() in pipe mode or strcpy() to corrupt heap memory and crash lrz.
Affected Software
Event History
Frequently Asked Questions
Which deployments are affected?
Deployments using lrzsz versions before 0.13.0 are affected, specifically the lrz receive utility.
What must an attacker do to trigger the issue?
An attacker must act as a malicious ZMODEM sender and provide an overlong filename. Filenames up to 8192 bytes can be used to overflow the Pathname buffer during processing.
Is user interaction required for exploitation?
Yes. The CVSS vector identifies user interaction as required, although the attacker does not need privileges.
What is the remediation?
Upgrade lrzsz to version 0.13.0 or later. The vulnerability affects versions before 0.13.0.