Article View: linux.debian.devel.release
Article #1062Bug#1150676: marked as done (trixie-pu: package lrzsz/0.12.21rc-0.2+deb13u1)
From: Debian Bug Tracking System
Date: Sat, 21 Nov 2026 09:50
Date: Sat, 21 Nov 2026 09:50
294 lines
14611 bytes
14611 bytes
This is a multi-part message in MIME format...
------------=_1795253378-3309269-0
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"
Your message dated Sat, 21 Nov 2026 09:28:03 +0000
with message-id <E1xUhO7-00000008t0C-0j1l@coccia.debian.org>
and subject line Released in 13.8
has caused the Debian Bug report #1150676,
regarding trixie-pu: package lrzsz/0.12.21rc-0.2+deb13u1
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)
--=20
1150676: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D1150676
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
------------=_1795253378-3309269-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
Received: (at submit) by bugs.debian.org; 12 Oct 2026 06:55:32 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
(2024-03-25) on buxtehude.debian.org
X-Spam-Level:
X-Spam-Status: No, score=-131.4 required=4.0 tests=ALL_TRUSTED,BAYES_00,
BODY_INCLUDES_CONTROL_AFFECTS,BODY_INCLUDES_PACKAGE,DKIMWL_WL_HIGH,
DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FROMDEVELOPER,
HAS_PACKAGE,SPF_HELO_NONE,SPF_PASS,USER_IN_DKIM_WELCOMELIST,
WORD_WITHOUT_VOWELS,XMAILER_REPORTBUG autolearn=ham autolearn_force=no
version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 16; hammy, 150; neutral, 292; spammy,
0. spammytokens:
hammytokens:0.000-+--Hx-spam-relays-external:sk:stravin,
0.000-+--H*RT:sk:stravin, 0.000-+--Hx-spam-relays-external:311,
0.000-+--H*RT:311, 0.000-+--H*RT:108
Return-path: <bage@debian.org>
Received: from stravinsky.debian.org ([2001:41b8:202:deb::311:108]:57932)
by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
(Exim 4.96)
(envelope-from <bage@debian.org>)
id 1xG9wa-00EKXy-30
for submit@bugs.debian.org;
Mon, 12 Oct 2026 06:55:32 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org;
s=smtpauto.stravinsky; h=X-Debian-User:Date:Message-ID:Subject:To:From:
MIME-Version:Content-Type:Reply-To:Cc:Content-Transfer-Encoding:Content-ID:
Content-Description:In-Reply-To:References;
bh=tPbwdEQm1A6Jv3w+coTiNSX8GZtfBRT8Blp6h99ZCsM=; b=iM+FdUjnlaCutXfq319grN72LZ
0KfID54SSD5PjrRUJ6bvvmCtPTW7XCSmg5wZaPPEVvTUaD7JFaJAfcFFw5af+1rsfhwqyc5aTlc9P
un7A6O3XVYU62FnSj771ZVFIJcDvJlp/K2yWRsBsfAhbZ7v9+huYTOGF3mE9mAKfpdsiTabc4abl+
V/JStm6sQ1y3RgrDyW7WQFMmVfNUhr8TEzPOE9AhML+DP452LxbyL1pn2c2XqW1WOGFtTWtlHsno2
248scl492iaFWFyLxv0H0f4wsi72z/fY90DAgPgweO65+SPzCEEM1BFKNH/XHyOPVz2y51WRWbnet
NvgrICYA==;
Received: from authenticated-user
by stravinsky.debian.org with esmtpsa (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
(Exim 4.96)
(envelope-from <bage@debian.org>)
id 1xG9wY-002fw4-27;
Mon, 12 Oct 2026 06:55:30 +0000
Content-Type: multipart/mixed; boundary="===============2929172900149134212=="
MIME-Version: 1.0
From: Bastian Germann <bage@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: trixie-pu: package lrzsz/0.12.21rc-0.2+deb13u1
Message-ID: <179178812954.2275.13597283438634341859.reportbug@duagon-BXN3S64.localdomain>
X-Mailer: reportbug 13.2.0+nmu1
Date: Mon, 12 Oct 2026 08:55:29 +0200
X-Debian-User: bage
Delivered-To: submit@bugs.debian.org
This is a multi-part MIME message sent by reportbug.
--===============2929172900149134212==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Package: release.debian.org
Severity: normal
Tags: trixie
X-Debbugs-Cc: lrzsz@packages.debian.org
Control: affects -1 + src:lrzsz
User: release.debian.org@packages.debian.org
Usertags: pu
[ Reason ]
Fix CVE-2026-105840 and CVE-2026-105842 (see #1150240).
[ Impact ]
Users are vulnerable to the two bugs.
[ Tests ]
Just compile-tested.
[ Risks ]
Two more checks and two additional NUL bytes. Pretty trivial, so not
very risky.
[ Checklist ]
[x] *all* changes are documented in the d/changelog
[x] I reviewed all changes and I approve them
[x] attach debdiff against the package in (old)stable
[x] the issue is verified as fixed in unstable
[ Changes ]
Include two upstream patches to address the two CVEs.
[ Other info ]
The maintainer agreed to this stable update request at #1150240.
--===============2929172900149134212==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="lrzsz_0.12.21rc-0.2+deb13u1.debdiff"
diff -Nru lrzsz-0.12.21rc/debian/changelog lrzsz-0.12.21rc/debian/changelog
--- lrzsz-0.12.21rc/debian/changelog 2025-01-01 13:16:48.000000000 +0100
+++ lrzsz-0.12.21rc/debian/changelog 2026-10-11 23:22:00.000000000 +0200
@@ -1,3 +1,14 @@
+lrzsz (0.12.21rc-0.2+deb13u1) trixie; urgency=medium
+
+ * CVE-2026-105840, 01-rz-reject-absolute-paths.diff:
+ reject sender-supplied absolute paths in rz restricted mode.
+ * CVE-2026-105842, 02-rz-terminate-received-strings.diff:
+ reject over-length received file names,
+ fixing an out-of-bounds read and a one-byte heap overwrite on
+ maximum-length ZFILE names; also terminate the receiver buffer.
+
+ -- Bastian Germann <bage@debian.org> Sun, 11 Oct 2026 23:22:00 +0200
+
lrzsz (0.12.21rc-0.2) unstable; urgency=medium
* Non-maintainer upload.
diff -Nru lrzsz-0.12.21rc/debian/patches/01-rz-reject-absolute-paths.diff lrzsz-0.12.21rc/debian/patches/01-rz-reject-absolute-paths.diff
--- lrzsz-0.12.21rc/debian/patches/01-rz-reject-absolute-paths.diff 1970-01-01 01:00:00.000000000 +0100
+++ lrzsz-0.12.21rc/debian/patches/01-rz-reject-absolute-paths.diff 2026-10-11 23:20:12.000000000 +0200
@@ -0,0 +1,18 @@
+Description: rz: reject absolute pathnames in restricted mode
+ Without PUBDIR (the Debian default build) checkpath() only rejected the
+ literal "../" and accepted sender-supplied absolute pathnames, so a remote
+ sender could create files and directories at any receiver-writable absolute
+ path. Reject a leading '/' when no PUBDIR is configured, restoring the
+ restricted-mode behaviour that rz(1) documents.
+Forwarded: no
+--- fixed.orig/src/lrz.c
++++ fixed/src/lrz.c
+@@ -1629,6 +1629,8 @@ checkpath(const char *name)
+ #ifdef PUBDIR
+ || (name[0]== '/' && strncmp(name, PUBDIR,
+ strlen(PUBDIR)))
++#else
++ || (name[0] == '/')
+ #endif
+ ) {
+ canit(STDOUT_FILENO);
diff -Nru lrzsz-0.12.21rc/debian/patches/02-rz-terminate-received-strings.diff lrzsz-0.12.21rc/debian/patches/02-rz-terminate-received-strings.diff
--- lrzsz-0.12.21rc/debian/patches/02-rz-terminate-received-strings.diff 1970-01-01 01:00:00.000000000 +0100
+++ lrzsz-0.12.21rc/debian/patches/02-rz-terminate-received-strings.diff 2026-10-11 23:20:12.000000000 +0200
@@ -0,0 +1,45 @@
+Description: rz: bound received file name length and terminate data subpackets
+ zrdata()/zrdat32() left the receive buffer unterminated, and procheader() then
+ read the name with strlen() and parsed trailing attributes at
+ name + 1 + strlen(name). A maximum-length ZFILE name without a NUL byte caused
+ an out-of-bounds read, and copying such a name into the PATH_MAX*2 Pathname
+ buffer overran it by one byte. Terminate the buffer after the payload, and
+ reject names of PATH_MAX or longer in procheader(): on this platform PATH_MAX
+ (4096) is below the receive buffer size, so the bound keeps both the attribute
+ parsing and the Pathname copy inside their buffers, and such names cannot name
+ a file anyway.
+Forwarded: no
+--- fixed.orig/src/zm.c
++++ fixed/src/zm.c
+@@ -576,6 +576,7 @@ crcfoo:
+ return ERROR;
+ }
+ *bytes_received = length - (end - buf);
++ *buf = '\0'; /* terminate: name/attn parsed as C string */
+ COUNT_BLK(*bytes_received);
+ VPRINTF(3,("zrdata: %lu %s", (unsigned long) (*bytes_received),
+ Zendnames[(d-GOTCRCE)&3]));
+@@ -636,6 +637,7 @@ crcfoo:
+ return ERROR;
+ }
+ *bytes_received = length - (end - buf);
++ *buf = '\0'; /* terminate: name/attn parsed as C string */
+ COUNT_BLK(*bytes_received);
+ VPRINTF(3,("zrdat32: %lu %s", (unsigned long) *bytes_received,
+ Zendnames[(d-GOTCRCE)&3]));
+--- fixed.orig/src/lrz.c
++++ fixed/src/lrz.c
+@@ -1141,6 +1141,13 @@ procheader(char *name, struct zm_fileinf
+ name=p;
+ }
+ }
++ if (strlen(name) >= PATH_MAX) {
++ /* over-long names cannot open and would overrun nameend/Pathname */
++ if (Verbose) {
++ vstringf(_("file name too long, skipped: %s\n"), name);
++ }
++ return ERROR;
++ }
+ name_static=malloc(strlen(name)+1);
+ if (!name_static)
+ error(1,0,_("out of memory"));
diff -Nru lrzsz-0.12.21rc/debian/patches/series lrzsz-0.12.21rc/debian/patches/series
--- lrzsz-0.12.21rc/debian/patches/series 2024-09-13 08:57:20.000000000 +0200
+++ lrzsz-0.12.21rc/debian/patches/series 2026-10-11 23:20:37.000000000 +0200
@@ -13,3 +13,5 @@
ansi2knr.diff
gettext_external.diff
ignore-intl.diff
+01-rz-reject-absolute-paths.diff
+02-rz-terminate-received-strings.diff
--===============2929172900149134212==--
------------=_1795253378-3309269-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
Received: (at 1150676-done) by bugs.debian.org; 21 Nov 2026 09:28:11 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
(2024-03-25) on buxtehude.debian.org
X-Spam-Level:
X-Spam-Status: No, score=-105.1 required=4.0 tests=BAYES_00,DKIM_SIGNED,
DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_PASS,
SPF_PASS,USER_IN_DKIM_WELCOMELIST,VERSION autolearn=ham
autolearn_force=no version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 7; hammy, 73; neutral, 16; spammy, 0.
spammytokens: hammytokens:0.000-+--H*r:sk:coccia., 0.000-+--H*m:coccia,
0.000-+--H*MI:coccia, 0.000-+--H*r:submission, 0.000-+--H*F:U*jmw
Return-path: <jmw@coccia.debian.org>
Received: from mitropoulos.debian.org ([2001:648:2ffc:deb:216:61ff:fe9d:958d]:60752)
by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
(Exim 4.96)
(envelope-from <jmw@coccia.debian.org>)
id 1xUhOG-00Druj-1x
for 1150676-done@bugs.debian.org;
Sat, 21 Nov 2026 09:28:11 +0000
Received: via submission
from C=NA,ST=NA,L=Ankh Morpork,O=Debian SMTP,OU=Debian SMTP CA,CN=coccia.debian.org,EMAIL=hostmaster@coccia.debian.org (verified)
by mitropoulos.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
(Exim 4.96)
(envelope-from <jmw@coccia.debian.org>)
id 1xUhO8-004ifH-2L
for 1150676-done@bugs.debian.org;
Sat, 21 Nov 2026 09:28:04 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
d=coccia.debian.org; s=smtpauto.coccia; h=Date:From:Message-Id:
Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:To:Reply-To:Cc:
Content-ID:Content-Description:In-Reply-To:References;
bh=j3C+QfqZhEAyGCz+F5Nny7uVPSJTnuL2JF6zBnHyDlM=; b=KRZeYsun9YCYtS4untnLbfOv/X
ukKl2Q2yOrlsbjKxi0ZoXtxF3Sn9d7Urn9iyXo+ExTHVcZSVeOIw+PHi+tkU28d1DGPMX3Rb+b7Kb
wT88DyQUqTq6l+Xewg0DEO8m8QGI5yHEsge1rHDu6csgsxSWxyuWaWlHPitnECrGF9/ABR9BRO2Va
Vn268nfyVnTmQ10E3XLNbrohmMGSSI3QDcgc7gViRCKmh7g67Sx4zrUkpKokLfRsx6RKWJQKJY/M8
ysI8JGzlPocTZ1LzYtNfhsr6p6+fr+n7YWL8seerp5tQOnZBfpzz1v6sHWYMSQMAbZeZmk4rP3cw4
WnbKPcSA==;
Received: from jmw by coccia.debian.org with local (Exim 4.98.2)
(envelope-from <jmw@coccia.debian.org>)
id 1xUhO7-00000008t0C-0j1l
for 1150676-done@bugs.debian.org;
Sat, 21 Nov 2026 09:28:03 +0000
To: 1150676-done@bugs.debian.org
Subject: Released in 13.8
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 8bit
Message-Id: <E1xUhO7-00000008t0C-0j1l@coccia.debian.org>
From: Jonathan Wiltshire <jmw@coccia.debian.org>
Date: Sat, 21 Nov 2026 09:28:03 +0000
X-CrossAssassin-Score: 112
Version: 13.8
This update was released as part of 13.8.
------------=_1795253378-3309269-0--
Technical Details
Message-ID:
<O1PTm-dfpW-235@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!newsfeed.pionier.net.pl!fu-berlin.de!bofh.it!news.nic.it!robomodReferences:
<O1PTm-dfpW-237@gated-at.bofh.it> <NNiaR-51N7-3@gated-at.bofh.it>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!newsfeed.pionier.net.pl!fu-berlin.de!bofh.it!news.nic.it!robomod From: "Debian Bug Tracking System" <owner@bugs.debian.org> Newsgroups: linux.debian.devel.release Subject: Bug#1150676: marked as done (trixie-pu: package lrzsz/0.12.21rc-0.2+deb13u1) Date: Sat, 21 Nov 2026 10:50:04 +0100 Message-ID: <O1PTm-dfpW-235@gated-at.bofh.it> References: <O1PTm-dfpW-237@gated-at.bofh.it> <NNiaR-51N7-3@gated-at.bofh.it> X-Original-To: Jonathan Wiltshire <jmw@coccia.debian.org> X-Mailbox-Line: From debian-release-request@lists.debian.org Sat Nov 21 09:42:24 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Amavis-Spam-Status: No, score=-2 tagged_above=-10000 required=5.3 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham autolearn_force=no MIME-Version: 1.0 X-Mailer: MIME-tools 5.510 (Entity 5.510) X-Debian-Pr-Message: closed 1150676 X-Debian-Pr-Package: release.debian.org X-Debian-Pr-Keywords: trixie Reply-To: 1150676@bugs.debian.org Content-Type: multipart/mixed; boundary="----------=_1795253378-3309269-0" X-Mailing-List: <debian-release@lists.debian.org> archive/latest/189355 List-ID: <debian-release.lists.debian.org> List-URL: <https://lists.debian.org/debian-release/> List-Archive: https://lists.debian.org/msgid-search/handler.1150676.D1150676.17952532913306198.ackdone@bugs.debian.org Approved: robomod@news.nic.it Lines: 294 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Sat, 21 Nov 2026 09:29:38 +0000 X-Original-Message-ID: <handler.1150676.D1150676.17952532913306198.ackdone@bugs.debian.org> X-Original-References: <E1xUhO7-00000008t0C-0j1l@coccia.debian.org> <179178812954.2275.13597283438634341859.reportbug@duagon-BXN3S64.localdomain>