Article View: linux.debian.bugs.dist
Article #546Bug#1150240: lrzsz: CVE-2026-105840 CVE-2026-105841 CVE-2026-105842
From: Bastian Germann
Date: Sun, 11 Oct 2026 21:20
Date: Sun, 11 Oct 2026 21:20
26 lines
3284 bytes
3284 bytes
The CVE-2026-105841 code is contained but not reachable. It is fixed by https://github.com/UweOhse/lrzsz/commit/9eef71ce20fda2b345ef8431359aec96121215bd Evidence from the packaging: - debian/rules:39 configures with --program-transform-name=s/l//, so bin_PROGRAMS=lrz lsz (src/Makefile.am:1) install as rz and sz, plus the install-exec-local links rb, rx, sb, sx (src/Makefile.am:18-29). No lrztar/rztar/lrzip name is shipped anywhere (tree-wide search: none). - Topipe is set only in chkinvok() when the basename — after stripping leading -/dir and an optional v/l — has a non-null char at index 2: if (s[2] && protocol!=ZM_XMODEM) Topipe = 1; (src/lrz.c:1578). Trigger requires a >=3 char suffixed name like rztar/lrztar. - All installed names are exactly 2 chars (rz, sz, rb, rx, sb), s[2] is \0), so Topipe is never set and the vulnerable popen(Pathname,"w") at src/lrz.c:1299 is unreachable via the packaged binaries. Two caveats: 1. The vulnerable code is still compiled in, so exposure is purely a matter of invocation name. A local user or an enclosing program that creates a suffixed symlink/copy (ln -s /usr/bin/rz lrztar) would re-enable it. This matches the CVE/NEWS wording that the bug "was only accessible if the installer gave appended some string to the lrz (or rz) commands name." Debian does not do this. 2. This is separate from the -C/--allow-remote-commands ZCOMMAND rexec path (upstream 3dbc195), which is opt-in and additionally forced off in Restricted mode (default).
Technical Details
Message-ID:
<NN97A-4X49-3@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!3.eu.feeder.erje.net!feeder.erje.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomodReferences:
<NLB7X-45TQ-9@gated-at.bofh.it>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!3.eu.feeder.erje.net!feeder.erje.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod From: Bastian Germann <bage@debian.org> Newsgroups: linux.debian.bugs.dist Subject: Bug#1150240: lrzsz: CVE-2026-105840 CVE-2026-105841 CVE-2026-105842 Date: Sun, 11 Oct 2026 23:20:02 +0200 Message-ID: <NN97A-4X49-3@gated-at.bofh.it> References: <NLB7X-45TQ-9@gated-at.bofh.it> X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Sun Oct 11 21:17:08 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.7 Reply-To: Bastian Germann <bage@debian.org>, 1150240@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: godisch@debian.org X-Debian-Pr-Message: followup 1150240 X-Debian-Pr-Package: src:lrzsz X-Debian-Pr-Keywords: security upstream X-Debian-Pr-Source: lrzsz MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Debian-User: bage X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1996321 List-ID: <debian-bugs-dist.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-dist/> Approved: robomod@news.nic.it Lines: 26 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Sun, 11 Oct 2026 23:14:35 +0200 X-Original-Message-ID: <asv8O5hHzgjcmyTH@duagon-BXN3S64.localdomain> X-Original-References: <179138429612.3058180.9413222907387133290.reportbug@eldamar.lan>