CVE-2026-105842

lrzsz before 0.13.0 Heap Buffer Overflow via lrz procheader() Pathname

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

Analysis

AI-generated

Technical impact

lrzsz before version 0.13.0 contains a heap buffer overflow in the procheader() function of the lrz receive utility. The overflow occurs when a malicious ZMODEM sender supplies a filename up to 8192 bytes, which is copied into the Pathname buffer using sprintf or strcpy, corrupting heap memory and causing the lrz process to crash. The known impact is a denial of service.

Affected Systems

Affected systems include all installations of Uwe Ohse’s lrzsz utility prior to version 0.13.0. Any older release is vulnerable because the fix is introduced in 0.13.0.

Risk and Exploitability

The CVSS score of 6.1 indicates moderate severity. EPSS is not available, and the vulnerability is not listed in the CISA KEV catalog, so current exploitation activity is unknown. The attack vector is inferred to be remote, as a ZMODEM sender can transmit a malicious filename over the network to the lrz program. An attacker with access to the lrz receive process, whether locally or remotely, can trigger the overflow and cause the target to crash.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to lrzsz 0.13.0 or later to eliminate the vulnerable procheader() implementation.
  • If an upgrade is not feasible, run lrzsz under a non‑privileged account and restrict file system write permissions to prevent cascade damage.
  • Disable ZMODEM transfers or replace lrzsz with a newer, supported file transfer tool that does not expose this buffer overflow.

Generated by OpenCVE AI on October 7, 2026 at 03:12 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': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title lrzsz before 0.13.0 Heap Buffer Overflow via lrz procheader() Pathname
First Time appeared Lrzsz Project
Lrzsz Project lrzsz
Weaknesses CWE-122
CPEs cpe:2.3:a:lrzsz_project:lrzsz:*:*:*:*:*:*:*:*
Vendors & Products Lrzsz Project
Lrzsz Project lrzsz
References
Metrics cvssV3_1

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

cvssV4_0

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

Weaknesses
  • CWE-120

    Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')

  • CWE-122

    Heap-based Buffer Overflow

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 6, 2026, 7:30 PM
Reserved
Oct 5, 2026, 10:00 PM
Status
Deferred
Published
Oct 6, 2026, 2:17 PM
Modified
Oct 6, 2026, 8:17 PM
Severity
Moderate
Public date
Oct 6, 2026, 1:35 PM