Heap-based Buffer Overflow Affecting lrzsz package, versions <0.12.21rc-0.2+deb13u1


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.21% (12th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ECHOLATEST-LRZSZ-20557226
  • published7 Oct 2026
  • disclosed6 Oct 2026

Introduced: 6 Oct 2026

CVE-2026-105842  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

Upgrade Echo:latest lrzsz to version 0.12.21rc-0.2+deb13u1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream lrzsz package and not the lrzsz package as distributed by Echo. See How to fix? for Echo:latest relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1