CVE-2026-105842
lrzsz before 0.13.0 Heap Buffer Overflow via lrz procheader() Pathname
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Passive
What an attacker can affect
- Confidentiality
- Low
- Integrity
- Low
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
6.1
lrzsz before 0.13.0 Heap Buffer Overflow via lrz procheader() Pathname
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.
- Record
CVE-2026-105842- CVSS 4.0
- 6.1 Medium
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 - CVSS 3.1
- 6.4 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:H - Weakness
- CWE-122
- Updated
- 2026-11-02
EUVDEUVD-2026-93394
6.1
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.
- Record
EUVD-2026-93394- CVSS 4.0
- 6.1 Medium
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 - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-3cw3-cf87-8pwp
6.1
lrzsz before 0.13.0 contains a heap-based buffer overflow vulnerability in procheader() of the...
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.
- Record
GHSA-3cw3-cf87-8pwp- CVSS 4.0
- 6.1 Medium
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - CVSS 3.1
- 6.4 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:H - Weakness
- CWE-122
- Updated
- 2026-11-02
NVD
6.1
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.
- Record
CVE-2026-105842- CVSS 4.0
- 6.1 Medium
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - CVSS 3.1
- 6.4 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:H - Weakness
- CWE-122
- Updated
- 2026-11-02
OSVDEBIAN-CVE-2026-105842
6.1
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.
- Record
DEBIAN-CVE-2026-105842- CVSS 4.0
- 6.1 Medium
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - Updated
- 2026-11-02
OSVUBUNTU-CVE-2026-105842
6.1
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.
- Record
UBUNTU-CVE-2026-105842- CVSS 4.0
- 6.1 Medium
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 - CVSS 3.1
- 6.4 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:H - Updated
- 2026-11-02
Show 4 moreShow less
OSVAZL-106670 No score
CVE-2026-105842 affecting package lrzsz 0.12.20-50
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.
- Record
AZL-106670- Updated
- 2026-11-05
OSVCLSA-2026-1792053113 No score
lrzsz: Fix of 3 CVEs
- CVE-2026-105840: lrz: reject absolute and escaping paths in restricted mode
- CVE-2026-105841: lrz: remove piping received files to a shell command
- CVE-2026-105842: lrz: terminate received data and bound file name length
- Record
CLSA-2026-1792053113- Updated
- 2026-11-02
OSVCLSA-2026-1792422501 No score
Fix CVE(s): CVE-2026-105840, CVE-2026-105841, CVE-2026-105842
- SECURITY UPDATE: absolute path names accepted in restricted mode
- debian/patches/CVE-2026-105840.patch: reject absolute path names in restricted mode in checkpath() in src/lrz.c and wcs() in src/lsz.c, not only in PUBDIR builds
- CVE-2026-105840
- SECURITY UPDATE: command injection via the pipe mode
- debian/patches/CVE-2026-105841.patch: remove the pipe mode that ran received files through a shell command when lrz was invoked as rzCOMMAND, in src/lrz.c
- CVE-2026-105841
- SECURITY UPDATE: heap buffer overflow via a long file name
- debian/patches/CVE-2026-105842.patch: allocate the received path name with strdup() instead of a fixed PATH_MAX*2 buffer, and NUL-terminate the ZFILE subpacket, in src/lrz.c
- CVE-2026-105842
- Record
CLSA-2026-1792422501- Updated
- 2026-11-02
OSVCLSA-2026-1792503867 No score
lrzsz: Fix of 3 CVEs
- CVE-2026-105840: reject absolute path names in restricted mode in lrz (received files) and lsz (sent files), not only in PUBDIR builds
- CVE-2026-105841: remove the pipe mode that ran received files through a shell command when lrz was invoked as rzCOMMAND
- CVE-2026-105842: allocate the received path name with strdup() instead of a fixed PATH_MAX*2 buffer, and NUL-terminate the ZFILE subpacket
- Record
CLSA-2026-1792503867- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
lrzszAzure Linux:3 |
through 0.12.20-50 | None known |
lrzszTuxCare:AlmaLinux:9.2 From an advisory covering 3 CVEs |
before 0.12.20-55.el9.tuxcare.els1 | 0.12.20-55.el9.tuxcare.els1 |
lrzszTuxCare:Ubuntu:18.04 From an advisory covering 3 CVEs |
before 0.12.21-10~build0.18.04.1+tuxcare.els1 | 0.12.21-10~build0.18.04.1+tuxcare.els1 |
lrzszTuxCare:AlmaLinux:9.6 From an advisory covering 3 CVEs |
before 0.12.20-55.el9_6.tuxcare.els1 | 0.12.20-55.el9_6.tuxcare.els1 |
lrzszDebian:12 |
All versions, plus listed versions 0.12.21-100.12.21-110.12.21rc-0.10.12.21rc-0.20.12.21rc-0.3 Show 6 moreShow less0.12.21rc-10.12.21rc-20.12.21rc-30.12.21rc-40.12.21rc-50.13.1-1 |
None known |
lrzszDebian:13 |
All versions, plus listed versions 0.12.21rc-0.20.12.21rc-0.30.12.21rc-10.12.21rc-20.12.21rc-30.12.21rc-40.12.21rc-50.13.1-1 |
None known |
lrzszDebian:14 |
before 0.12.21rc-5, plus listed versions 0.12.21rc-0.20.12.21rc-0.30.12.21rc-10.12.21rc-20.12.21rc-30.12.21rc-4 |
0.12.21rc-5 |
lrzszUbuntu:14.04:LTS |
All versions, plus listed versions 0.12.21-50.12.21-70.12.21-10~build0.14.04.1 |
None known |
lrzszUbuntu:16.04:LTS |
All versions, plus listed versions 0.12.21-80.12.21-10~build0.16.04.1 |
None known |
lrzszUbuntu:18.04:LTS |
All versions, plus listed versions 0.12.21-80.12.21-8build10.12.21-10~build0.18.04.1 |
None known |
Show 5 moreShow less
| Package | Affected | Fixed |
|---|---|---|
lrzszUbuntu:20.04:LTS |
All versions, plus listed versions 0.12.21-10 |
None known |
lrzszUbuntu:22.04:LTS |
All versions, plus listed versions 0.12.21-10 |
None known |
lrzszUbuntu:24.04:LTS |
All versions, plus listed versions 0.12.21-100.12.21-110.12.21-11build1 |
None known |
lrzszUbuntu:26.10 |
All versions, plus listed versions 0.12.21rc-0.30.12.21rc-10.12.21rc-20.12.21rc-4 |
None known |
lrzszUbuntu:26.04:LTS |
All versions, plus listed versions 0.12.21rc-0.20.12.21rc-0.3 |
None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected | ||
| facts | OSV | |
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2026-105842 is a medium vulnerability (CVSS 6.1) in Microsoft Lrzsz, published October 6, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.21%, the 10th percentile. Fixed in lrzsz 0.12.21rc-5.
References
ohse.de/uwe/software/lrzsz/NEWS-0.13.0.html
ohse.de/uwe/software/lrzsz.html
vulncheck.com/advisories/lrzsz-before-0.13.0-heap-buffer-overflow-via-lrz-procheader-pathname
nvd.nist.gov/vuln/detail/CVE-2026-105842
github.com/advisories/GHSA-3cw3-cf87-8pwp
errata.tuxcare.com/els_os/almalinux9.2esu/CLSA-2026-1792053113.html
Show 7 moreShow less
nvd.nist.gov/vuln/detail/CVE-2026-105840
nvd.nist.gov/vuln/detail/CVE-2026-105841
errata.tuxcare.com/els_os/ubuntu18.04els/CLSA-2026-1792422501.html
errata.tuxcare.com/els_os/tuxcare9.6esu/CLSA-2026-1792503867.html
security-tracker.debian.org/tracker/CVE-2026-105842
ubuntu.com/security/CVE-2026-105842
cve.org/CVERecord?id=CVE-2026-105842