CVE-2026-105840

lrzsz before 0.13.0 Path Traversal via lrz Restricted Mode checkpath()

Published Oct 6, 2026 CVSS 4.0 · 7.7 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The vulnerability allows a malicious ZMODEM sender to transmit files whose names include absolute paths. When lrz operates in restricted mode, its checkpath() function fails to reject '../' sequences unless built with a specific flag, enabling the sender to target any file that the receiving user can write. This results in arbitrary write privileges, compromising the integrity of the system.

Affected Systems

The flaw affects the Uwe Ohse lrzsz package in versions before 0.13.0. Any installation that uses the lrz receive utility, particularly when it is executed under a user with write permissions, is at risk.

Risk and Exploitability

With a CVSS score of 7.7 the vulnerability is considered medium to high severity. The EPSS score is not available, indicating that current exploitation data is uncertain. The vulnerability is not listed in CISA’s KEV catalog, but it can be exploited by an attacker who can send ZMODEM files to the vulnerable system. Inference suggests that the attack is remote and requires network access to the lrz service or local exploitation if the utility is run by a privileged user.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to lrzsz 0.13.0 or later, which fixes the checkpath() validation
  • If an immediate upgrade is not possible, rebuild lrzsz with the --enable-pubdir flag to enforce path checks during restricted mode
  • Restrict the user permissions under which lrz receives files so that only the intended files can be written, thereby limiting the impact of any remaining path exploitation

Generated by OpenCVE AI on October 6, 2026 at 18:34 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Uwe Ohse
Uwe Ohse lrzsz
Vendors & Products Uwe Ohse
Uwe Ohse lrzsz
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title lrzsz before 0.13.0 Path Traversal via lrz Restricted Mode checkpath()
First Time appeared Lrzsz Project
Lrzsz Project lrzsz
Weaknesses CWE-22
CPEs cpe:2.3:a:lrzsz_project:lrzsz:*:*:*:*:*:*:*:*
Vendors & Products Lrzsz Project
Lrzsz Project lrzsz
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 7.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 9, 2026, 12:59 AM
Reserved
Oct 5, 2026, 10:00 PM
Status
Deferred
Published
Oct 6, 2026, 2:17 PM
Modified
Oct 9, 2026, 2:16 AM
Severity
Important
Public date
Oct 6, 2026, 1:35 PM