Article View: linux.debian.bugs.dist
Article #2005Bug#1151964: trixie-pu: package php-league-flysystem/3.29.1-2+deb13u1
From: David Prévot
Date: Sun, 25 Oct 2026 18:10
Date: Sun, 25 Oct 2026 18:10
169 lines
7860 bytes
7860 bytes
--C67jImNvb6fJmxHw
Content-Type: multipart/mixed; boundary="GP0Gvv7PIfrI/hXU"
Content-Disposition: inline
--GP0Gvv7PIfrI/hXU
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Package: release.debian.org
Severity: normal
Tags: trixie
X-Debbugs-Cc: php-league-flysystem@packages.debian.org
Control: affects -1 + src:php-league-flysystem
User: release.debian.org@packages.debian.org
Usertags: pu
Hi,
I=E2=80=99d like to fix CVE-2026-102601 in Trixie that has been tagged as n=
o-dsa
by the security team. The patch is straightforward (yet, had to be
adapted) and includes an additional test case.
[ 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
Thanks in advance for considering.
Regards,
taffit
--GP0Gvv7PIfrI/hXU
Content-Type: text/x-diff; charset=iso-8859-1
Content-Disposition: attachment; filename=php-league-flysystem.patch
Content-Transfer-Encoding: quoted-printable
diff -Nru php-league-flysystem-3.29.1/debian/changelog php-league-flysystem=
-3.29.1/debian/changelog
--- php-league-flysystem-3.29.1/debian/changelog 2025-02-22 16:43:13.000000=
000 +0100
+++ php-league-flysystem-3.29.1/debian/changelog 2026-10-25 11:21:51.000000=
000 +0100
@@ -1,3 +1,10 @@
+php-league-flysystem (3.29.1-2+deb13u1) trixie; urgency=3Dmedium
+
+ * New debian/trixie branch for Trixie
+ * Report broken utf-8 as a corrupted path [CVE-2026-102601] (Closes: #11=
49886)
+
+ -- David Pr=E9vot <taffit@debian.org> Sun, 25 Oct 2026 11:21:51 +0100
+
php-league-flysystem (3.29.1-2) unstable; urgency=3Dmedium
=20
* Team upload
diff -Nru php-league-flysystem-3.29.1/debian/control php-league-flysystem-3=
=2E29.1/debian/control
--- php-league-flysystem-3.29.1/debian/control 2025-02-22 16:41:29.00000000=
0 +0100
+++ php-league-flysystem-3.29.1/debian/control 2026-10-25 11:13:52.00000000=
0 +0100
@@ -14,7 +14,7 @@
Standards-Version: 4.7.1
Homepage: https://flysystem.thephpleague.com/
Vcs-Browser: https://salsa.debian.org/php-team/pear/php-league-flysystem
-Vcs-Git: https://salsa.debian.org/php-team/pear/php-league-flysystem.git
+Vcs-Git: https://salsa.debian.org/php-team/pear/php-league-flysystem.git -=
b debian/trixie
Rules-Requires-Root: no
=20
Package: php-league-flysystem
diff -Nru php-league-flysystem-3.29.1/debian/gbp.conf php-league-flysystem-=
3.29.1/debian/gbp.conf
--- php-league-flysystem-3.29.1/debian/gbp.conf 2024-07-24 08:42:28.0000000=
00 +0200
+++ php-league-flysystem-3.29.1/debian/gbp.conf 2026-10-25 11:13:52.0000000=
00 +0100
@@ -1,5 +1,5 @@
[DEFAULT]
-debian-branch =3D debian/latest
+debian-branch =3D debian/trixie
pristine-tar =3D True
pristine-tar-commit =3D True
sign-tags =3D True
diff -Nru php-league-flysystem-3.29.1/debian/patches/0003-Report-broken-utf=
-8-as-a-corrupted-path.patch php-league-flysystem-3.29.1/debian/patches/000=
3-Report-broken-utf-8-as-a-corrupted-path.patch
--- php-league-flysystem-3.29.1/debian/patches/0003-Report-broken-utf-8-as-=
a-corrupted-path.patch 1970-01-01 01:00:00.000000000 +0100
+++ php-league-flysystem-3.29.1/debian/patches/0003-Report-broken-utf-8-as-=
a-corrupted-path.patch 2026-10-25 11:18:09.000000000 +0100
@@ -0,0 +1,40 @@
+From: Frank de Jonge <info@frankdejonge.nl>
+Date: Sat, 22 Aug 2026 14:53:53 +0200
+Subject: Report broken utf-8 as a corrupted path.
+
+Origin: backport, https://github.com/thephpleague/flysystem/commit/ef4a9a5=
57d769b5d472c403125716706a0d9cc77
+Bug: https://github.com/thephpleague/flysystem/security/advisories/GHSA-cx=
f4-7mrp-vvpr
+Bug-Debian: https://bugs.debian.org/1149886
+---
+ src/WhitespacePathNormalizer.php | 4 +++-
+ src/WhitespacePathNormalizerTest.php | 2 +-
+ 2 files changed, 4 insertions(+), 2 deletions(-)
+
+diff --git a/src/WhitespacePathNormalizer.php b/src/WhitespacePathNormaliz=
er.php
+index 135b22a..2edd943 100644
+--- a/src/WhitespacePathNormalizer.php
++++ b/src/WhitespacePathNormalizer.php
+@@ -16,7 +16,9 @@ class WhitespacePathNormalizer implements PathNormalizer
+=20
+ private function rejectFunkyWhiteSpace(string $path): void
+ {
+- if (preg_match('#\p{C}+#u', $path)) {
++ $match =3D preg_match('#\p{C}+#u', $path);
++
++ if ($match !=3D=3D 0) {
+ throw CorruptedPathDetected::forPath($path);
+ }
+ }
+diff --git a/src/WhitespacePathNormalizerTest.php b/src/WhitespacePathNorm=
alizerTest.php
+index bfafe6d..8066482 100644
+--- a/src/WhitespacePathNormalizerTest.php
++++ b/src/WhitespacePathNormalizerTest.php
+@@ -76,7 +76,7 @@ class WhitespacePathNormalizerTest extends TestCase
+=20
+ public static function dpFunkyWhitespacePaths(): iterable
+ {
+- return [["some\0/path.txt"], ["s\x09i.php"]];
++ return [["some\0/path.txt"], ["s\x09i.php"], ["foo\x80\x1bbar"]];
+ }
+=20
+ /**
diff -Nru php-league-flysystem-3.29.1/debian/patches/series php-league-flys=
ystem-3.29.1/debian/patches/series
--- php-league-flysystem-3.29.1/debian/patches/series 2025-02-22 16:36:38.0=
00000000 +0100
+++ php-league-flysystem-3.29.1/debian/patches/series 2026-10-25 11:18:09.0=
00000000 +0100
@@ -1,2 +1,3 @@
0001-Group-require-root-for-failing-autopkgtests.patch
0002-Modernize-PHPUnit-syntax.patch
+0003-Report-broken-utf-8-as-a-corrupted-path.patch
--GP0Gvv7PIfrI/hXU--
--C67jImNvb6fJmxHw
Content-Type: application/pgp-signature; name=signature.asc
-----BEGIN PGP SIGNATURE-----
iQEzBAABCAAdFiEEeHVNB7wJXHRI941mBYwc+UT2vTwFAmrd2n0ACgkQBYwc+UT2
vTyurAgAiZskxrLTr5Wkhhso5REds8pykN1Xj3Anmpj15fz+zm47Ct9UH7INlC/g
uBntsw8/lUqySi9m6zSv4PRvgQbdAJ0Q6sbyAHI2gIYERUH8z9gCQrhx//sJABMk
o9V1GaPpIjAkAR7lgLSBgBImfLwtPIJHSq7DHWjLWaYXKmvrJr5+cwTvneIlrsLy
b8jVuW0W30o8dh23e5HYDqd0uC2ZUpcL1udcaH9CGsRTpM0a/YH84CdQiuZA0NzD
XSHbI8w6ubN8eVh0UdspMDLvPtWp5BzdUVmhJng2u7CCJCHu3zptVN0IkQpgav1v
voF3+loscWHPt+wpDnU4tLRaHcStFw==
=caFo
-----END PGP SIGNATURE-----
--C67jImNvb6fJmxHw--
Technical Details
Message-ID:
<NSaPq-7PzO-109@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomodShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod From: David Prévot <taffit@debian.org> Newsgroups: linux.debian.bugs.dist,linux.debian.devel.release Subject: Bug#1151964: trixie-pu: package php-league-flysystem/3.29.1-2+deb13u1 Date: Sun, 25 Oct 2026 19:10:04 +0100 Message-ID: <NSaPq-7PzO-109@gated-at.bofh.it> X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Sun Oct 25 18:08:25 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.7 Reply-To: David Prévot <taffit@debian.org>, 1151964@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: php-league-flysystem@packages.debian.org, debian-release@lists.debian.org X-Debian-Pr-Message: report 1151964 X-Debian-Pr-Package: release.debian.org X-Debian-Pr-Keywords: trixie MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="C67jImNvb6fJmxHw" Content-Disposition: inline X-Reportbug-Version: 13.2.0+nmu1 X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1998697 List-ID: <debian-bugs-dist.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-dist/> Approved: robomod@news.nic.it Lines: 169 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Sun, 25 Oct 2026 11:31:25 +0100 X-Original-Message-ID: <at3afGECzeLQ2PuI@brocoli.tilapin.org>