Skip to main content

lrzsz EUVDEUVD-2026-93392

| CVE-2026-105840 HIGH
Path Traversal (CWE-22)
2026-10-06 VulnCheck GHSA-3hwf-cvfh-5874
7.7
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Victim invokes lrz to receive files
  2. Delivery
    Malicious ZMODEM sender transmits file with absolute pathname
  3. Exploit
    checkpath() fails to reject absolute path
  4. Execution
    Overwrite any user-writable file
  5. Impact
    Pivot to code execution via overwritten configs

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires three concrete conditions, not raw network reach: (1) the victim must actively run the lrz receive utility in its restricted mode and initiate/accept a ZMODEM transfer (UI:P / AT:P), (2) the binary must be built WITHOUT the --enable-pubdir option (the default), since only that build hardens checkpath(), and (3) the attacker must control the sending side of the ZMODEM session. The write primitive is further LIMITED to files that the receiving user account can already write - it does not by itself grant privilege escalation beyond that user, though overwriting that user's SSH keys, shell profiles, or cron files can extend impact. These user-interaction and restricted-mode prerequisites meaningfully reduce real-world exploitability below what the unauthenticated network vector alone suggests.

Impact

This is a genuine but conditional integrity/availability risk rather than a mass-exploitation emergency. The CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:N/UI:P) scores 7.7 (HIGH): network-reachable and unauthenticated (PR:N), but it carries both an attack requirement (AT:P) and passive user interaction (UI:P), meaning the victim must actually invoke lrz to receive a file from an attacker-controlled ZMODEM sender, and the receiver must be running in restricted mode built without --enable-pubdir. No EPSS score, SSVC decision, KEV entry, or POC was provided in the input - exploitation status is therefore 'no public exploit identified at time of analysis.' The absence of KEV/EPSS data means real-world exploitation frequency cannot be quantified from the provided sources. One signal to reconcile: the input vector rates confidentiality impact as VC:H, but the description describes only a file-WRITE/overwrite primitive ('write files outside the current directory', 'overwrite any file writable by the receiving user'), which is primarily an integrity and availability issue - confidentiality impact appears to be an indirect consequence (e.g., overwriting authorized_keys or shell profiles to pivot) rather than a direct data-disclosure capability; verify with vendor. Net: a real, patchable flaw worth remediating where lrzsz is used for untrusted serial/network transfers, but not a drop-everything internet-wide threat given the user-interaction and restricted-mode preconditions.

Exploit ScenarioDerived

A user runs lrz in restricted mode to receive files over a ZMODEM session (e.g., a serial console, terminal, or networked transfer) from a host they do not fully control. The malicious sender transmits a file whose name is an absolute path such as /home/victim/.ssh/authorized_keys; because checkpath() in src/lrz.c only blocks '../' sequences (and only when built with --enable-pubdir), the absolute path is accepted and the attacker overwrites any file the receiving user can write. No public POC was identified in the provided data.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 06, 2026

Arbitrary file write through path traversal in lrzsz before 0.13.0 lets a malicious ZMODEM sender place files outside the current directory - including by absolute pathname - when the victim runs the lrz receive utility in restricted mode. Exploitation requires the victim to actively initiate or accept a ZMODEM transfer (UI:P/AT:P), the binary to be built without the --enable-pubdir option (the default, since only that build hardens checkpath()), and the attacker to control the sending side; the primitive is limited to files the receiving user account can already write, though overwriting SSH keys, shell profiles, or cron entries can extend impact. No public exploit identified at time of analysis, and the risk is a conditional integrity/availability issue rather than a mass-exploitation emergency given the user-interaction and build-configuration prerequisites.

RemediationAI

Vendor-released patch: upgrade lrzsz to 0.13.0, the version whose release notes fix the checkpath() behavior, available from the project page at https://ohse.de/uwe/software/lrzsz.html and detailed in https://ohse.de/uwe/software/lrzsz/NEWS-0.13.0.html; if the patched build is not yet packaged by your distribution, confirm whether your package already carries the backport before assuming exposure. If upgrading is not immediately possible, rebuilding the same binary with --enable-pubdir is a concrete compensating control, but note the trade-off: pubdir mode confines received files to the configured public directory, which will break legitimate ZMODEM receives that expect to write elsewhere and changes the deployment model for users of lrz. A second compensating control is to stop running lrz in restricted mode for untrusted peers and to avoid accepting ZMODEM transfers from senders you do not control, treating any ZMODEM session as untrusted input; this eliminates the attack path but removes a convenience feature and requires user training. As a shorter-term containment measure, run receives under a dedicated low-privilege account whose home directory contains no SSH keys, shell profiles, or cron entries that could be overwritten to extend impact, accepting the operational overhead of an isolated receive user. Monitor the VulnCheck advisory for any updated exploitation or mitigation guidance.

Affected VersionsENISA

lrzsz 0 <0.13.0

Affected Packages

euvd lrzsz fix: 0.13.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

CVE-2026-105840 is a CWE-22 path traversal in lrzsz, the long-standing Unix implementation of the ZMODEM (sz/rz) file-transfer protocol, tracked against CPE cpe:2.3:a:uwe_ohse:lrzsz. The flaw sits in checkpath() in src/lrz.c, the routine that sanitizes filenames supplied by the remote ZMODEM sender during a receive operation. In restricted mode, checkpath() only rejects literal '../' sequences rather than canonicalizing and confining the destination to the current directory, so a sender can name a file with an absolute path (or a path that resolves outside the intended root) and the receiving process will write there; the code only fully hardens this check when the package is compiled with --enable-pubdir, which is not the default build configuration. Root cause class is improper limitation of a pathname to a restricted directory (CWE-22), i.e., missing canonicalization plus incomplete enforcement of the intended chroot-like boundary. The vendor's CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N) reflects network-delivered attack with attack requirements present and partial user interaction; our independent assessment maps this to CVSS 3.1 AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:H, so the demonstrable impact is integrity and availability of files writable by the receiving user, not confidentiality exposure or privilege escalation beyond that account.

Know when Lrzsz gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 7.7 HIGH
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
vuln.today AI 6.8 MEDIUM

Network ZMODEM but needs restricted-mode non-default build and victim-initiated receive, so AC:H and UI:R; write-only primitive gives I:H/A:H with no direct confidentiality, hence C:N.

3.1 AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:H
4.0 AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N
Red Hat 7.5 HIGH

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Oct 06, 2026 - 15:03 EUVD
CVE Published
Oct 06, 2026 - 13:35 cve.org
HIGH 7.7

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

lrzsz versions prior to 0.13.0 are affected by a high-severity path traversal vulnerability in the lrz receive utility that lets a malicious ZMODEM sender write files to arbitrary locations, potentially overwriting SSH keys, shell profiles, or cron entries. This could lead to unauthorized access, persistence, or operational disruption, but exploitation requires the victim to actively accept a ZMODEM transfer from an attacker-controlled sender and the software to be built without the --enable-pubdir option (the default). Leadership should prioritize assessing exposure and implementing interim mitigations, as no public exploit has been identified at time of analysis.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations include building lrzsz with the --enable-pubdir option to harden checkpath(), avoiding the use of lrz receive in restricted mode, refusing ZMODEM transfers from untrusted senders, enforcing least privilege so user accounts have minimal write permissions, and monitoring critical files for unauthorized changes.

Threat Intelligence Overview

EPSS Score
0.3%
Top 78% exploitable
Prevalence
Low
niche ZMODEM serial-transfer utility, packaged widely but rarely active in production
Data Quality
4 sources
Confidence: Medium
EUVD NVD CVE.org EPSS Vulnrichment Vendor VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy