lrzsz — security advisory
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.
- Products
- lrzsz
- Affected versions
- 0.12.21-10, 0.12.21-10~build0.14.04.1, 0.12.21-10~build0.16.04.1, 0.12.21-10~build0.18.04.1, 0.12.21-11, 0.12.21-11build1, 0.12.21-5, 0.12.21-7, 0.12.21-8, 0.12.21-8build1, 0.12.21rc-0.2, 0.12.21rc-0.3, 0.12.21rc-1, 0.12.21rc-2, 0.12.21rc-4
- Fixed versions
- Not specified
- CVEs
- CVE-2026-105840
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 02:53 UTC · Revision 1
Source evidence
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.
osv:UBUNTU-CVE-2026-105840
lrzsz
Fixed versions: Not specified
lrzsz
Fixed versions: Not specified
lrzsz
Fixed versions: Not specified
lrzsz
Fixed versions: Not specified
lrzsz
Fixed versions: Not specified
lrzsz
Fixed versions: Not specified
lrzsz
Fixed versions: Not specified
lrzsz
Fixed versions: Not specified
Complete source record
{
"id": "e0326d0261d4706b059c4fb77dea02c3469a0c0a2980e11e6dbf99d9ace31b39",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-105840",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2026-105840",
"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 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.",
"evidence": "osv:UBUNTU-CVE-2026-105840",
"products": [
{
"name": {
"value": "lrzsz",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.12.21-5",
"evidence": "/affected/0/versions"
},
{
"value": "0.12.21-7",
"evidence": "/affected/0/versions"
},
{
"value": "0.12.21-10~build0.14.04.1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "lrzsz",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.12.21-8",
"evidence": "/affected/1/versions"
},
{
"value": "0.12.21-10~build0.16.04.1",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "lrzsz",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.12.21-8",
"evidence": "/affected/2/versions"
},
{
"value": "0.12.21-8build1",
"evidence": "/affected/2/versions"
},
{
"value": "0.12.21-10~build0.18.04.1",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "lrzsz",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.12.21-10",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "lrzsz",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.12.21-10",
"evidence": "/affected/4/versions"
}
]
},
{
"name": {
"value": "lrzsz",
"evidence": "/affected/5/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.12.21-10",
"evidence": "/affected/5/versions"
},
{
"value": "0.12.21-11",
"evidence": "/affected/5/versions"
},
{
"value": "0.12.21-11build1",
"evidence": "/affected/5/versions"
}
]
},
{
"name": {
"value": "lrzsz",
"evidence": "/affected/6/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.12.21rc-0.3",
"evidence": "/affected/6/versions"
},
{
"value": "0.12.21rc-1",
"evidence": "/affected/6/versions"
},
{
"value": "0.12.21rc-2",
"evidence": "/affected/6/versions"
},
{
"value": "0.12.21rc-4",
"evidence": "/affected/6/versions"
}
]
},
{
"name": {
"value": "lrzsz",
"evidence": "/affected/7/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.12.21rc-0.2",
"evidence": "/affected/7/versions"
},
{
"value": "0.12.21rc-0.3",
"evidence": "/affected/7/versions"
}
]
}
],
"severity": "high",
"structured": {
"id": "UBUNTU-CVE-2026-105840",
"aliases": [
"UBUNTU-CVE-2026-105840"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H"
},
{
"type": "CVSS_V4",
"score": "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"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "lrzsz",
"purl": "pkg:deb/ubuntu/lrzsz?arch=source&distro=trusty",
"ecosystem": "Ubuntu:14.04:LTS"
},
"versions": [
"0.12.21-5",
"0.12.21-7",
"0.12.21-10~build0.14.04.1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-105840.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "lrzsz",
"binary_version": "0.12.21-10~build0.14.04.1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "lrzsz",
"purl": "pkg:deb/ubuntu/lrzsz?arch=source&distro=xenial",
"ecosystem": "Ubuntu:16.04:LTS"
},
"versions": [
"0.12.21-8",
"0.12.21-10~build0.16.04.1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-105840.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "lrzsz",
"binary_version": "0.12.21-10~build0.16.04.1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "lrzsz",
"purl": "pkg:deb/ubuntu/lrzsz?arch=source&distro=bionic",
"ecosystem": "Ubuntu:18.04:LTS"
},
"versions": [
"0.12.21-8",
"0.12.21-8build1",
"0.12.21-10~build0.18.04.1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-105840.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "lrzsz",
"binary_version": "0.12.21-10~build0.18.04.1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "lrzsz",
"purl": "pkg:deb/ubuntu/lrzsz?arch=source&distro=focal",
"ecosystem": "Ubuntu:20.04:LTS"
},
"versions": [
"0.12.21-10"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-105840.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "lrzsz",
"binary_version": "0.12.21-10"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "lrzsz",
"purl": "pkg:deb/ubuntu/lrzsz?arch=source&distro=jammy",
"ecosystem": "Ubuntu:22.04:LTS"
},
"versions": [
"0.12.21-10"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-105840.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "lrzsz",
"binary_version": "0.12.21-10"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "lrzsz",
"purl": "pkg:deb/ubuntu/lrzsz?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"0.12.21-10",
"0.12.21-11",
"0.12.21-11build1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-105840.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "lrzsz",
"binary_version": "0.12.21-11build1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "lrzsz",
"purl": "pkg:deb/ubuntu/lrzsz?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"0.12.21rc-0.3",
"0.12.21rc-1",
"0.12.21rc-2",
"0.12.21rc-4"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-105840.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "lrzsz",
"binary_version": "0.12.21rc-4"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "lrzsz",
"purl": "pkg:deb/ubuntu/lrzsz?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"0.12.21rc-0.2",
"0.12.21rc-0.3"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-105840.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "lrzsz",
"binary_version": "0.12.21rc-0.3"
}
]
}
}
],
"modified": "2026-10-17T12:59:46.800977754Z",
"provider": "osv",
"upstream": [
"CVE-2026-105840"
],
"references": [
"https://ubuntu.com/security/CVE-2026-105840",
"https://www.cve.org/CVERecord?id=CVE-2026-105840",
"https://ohse.de/uwe/software/lrzsz/NEWS-0.13.0.html"
]
},
"related_cves": [
{
"value": "CVE-2026-105840",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/1/score"
},
"source_id": "core-osv",
"document_id": 359765,
"published_at": "2026-10-06T14:17:00+00:00"
}