Description
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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Uwe Ohse | lrzsz | < 0.13.0 | 0.13.0 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | lrzsz | 0.12.21rc-5 | — |
| Debian 13 | lrzsz | No fix yet | — |
| Debian 12 | lrzsz | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | lrzsz | No fix yet | — |
| Ubuntu 26.04 LTS | lrzsz | No fix yet | — |
| Ubuntu 24.04 LTS | lrzsz | No fix yet | — |
| Ubuntu 22.04 LTS | lrzsz | No fix yet | — |
| Ubuntu 20.04 LTS | lrzsz | No fix yet | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | lrzsz | No fix yet | — |
| Ubuntu 16.04 LTS | lrzsz | No fix yet | — |
| Ubuntu 14.04 LTS | lrzsz | No fix yet | — |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | lrzsz | No fix yet | — |
References
- lrzsz 0.13.0 security changes vendor-advisory
- https://ohse.de/uwe/software/lrzsz.html product
- VulnCheck Advisory: lrzsz before 0.13.0 Heap Buffer Overflow via lrz procheader() Pathname third-party-advisory