What’s Vulnerable › Vulnerabilities

CVE-2026-105840: lrzsz before 0.13.0 Path Traversal via lrz Restricted Mode checkpath()

Description

lrzsz before 0.13.0 contains a path traversal vulnerability in the lrz receive utility's restricted mode that allows malicious ZMODEM senders to write files outside the current directory using absolute pathnames. Because checkpath() in src/lrz.c only rejects '../' sequences unless built with --enable-pubdir, attackers can send files named with absolute paths to overwrite any file writable by the receiving user.

Affected products

How to fix

Upgrade to a fixed version: Uwe Ohse lrzsz 0.13.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-105840 or the next vulnerability affects your stack