---
id: CVE-2026-105840
title: >-
  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
summary: >-
  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
  s…
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H'
cwe:
  - CWE-22
vendor: Uwe Ohse
product: lrzsz
affected:
  - lrzsz < 0.13.0
published: '2026-10-06'
updated: '2026-10-09'
sourceUpdated: '2026-10-09T02:16:55.510'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-105840'
references:
  - url: 'https://ohse.de/uwe/software/lrzsz.html'
    label: disclosure@vulncheck.com
  - url: 'https://ohse.de/uwe/software/lrzsz/NEWS-0.13.0.html'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/lrzsz-before-0.13.0-path-traversal-via-lrz-restricted-mode-checkpath
    label: disclosure@vulncheck.com
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-105840.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-105840'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2546590'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-105840'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-105840'
  - url: 'https://access.redhat.com/errata/RHSA-2026:83525'
  - url: 'https://access.redhat.com/errata/RHSA-2026:86056'
  - url: 'https://access.redhat.com/errata/RHSA-2026:89755'
tags:
  - nvd
  - cve.org
  - csaf
  - vex
  - red-hat
epss: 0.00313
epssPercentile: 0.24093
ingestedAt: '2026-10-06T14:00:19.149Z'
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-10-09T00:59:47.268162Z'
patched:
  - enterprise_linux_baseos_v_8
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Vendor advisories

- **Red Hat VEX** · Important · affected: Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 7 · no fix planned: Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 7 · updated 2026-10-26 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-105840.json)
- **RHSA-2026:83525** · Red Hat · fixed in: Red Hat Enterprise Linux BaseOS (v. 8) · released 2026-10-15 · [advisory](https://access.redhat.com/errata/RHSA-2026:83525)
- **RHSA-2026:86056** · Red Hat · fixed in: Red Hat Enterprise Linux BaseOS (v. 10) · released 2026-10-20 · [advisory](https://access.redhat.com/errata/RHSA-2026:86056)
- **RHSA-2026:89755** · Red Hat · fixed in: Red Hat Enterprise Linux BaseOS (v. 9) · released 2026-10-26 · [advisory](https://access.redhat.com/errata/RHSA-2026:89755)
