Thread View: linux.debian.devel.release
1 messages
1 total messages
Started by Debian Bug Tracking System
Sat, 21 Nov 2026 09:40
Bug#1146808: marked as done (trixie-pu: package libtie-hash-regex-perl/1.14-3~deb13u1)
Author: Debian Bug Tracking System
Date: Sat, 21 Nov 2026 09:40
Date: Sat, 21 Nov 2026 09:40
420 lines
15329 bytes
15329 bytes
This is a multi-part message in MIME format...
------------=_1795253353-3308484-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:02 +0000
with message-id <E1xUhO6-00000008szJ-41SG@coccia.debian.org>
and subject line Released in 13.8
has caused the Debian Bug report #1146808,
regarding trixie-pu: package libtie-hash-regex-perl/1.14-3~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
1146808: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D1146808
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
------------=_1795253353-3308484-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
Received: (at submit) by bugs.debian.org; 5 Sep 2026 18:43: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=-31.9 required=4.0 tests=BAYES_00,
BODY_INCLUDES_CONTROL_AFFECTS,BODY_INCLUDES_PACKAGE,FOURLA,
FROMDEVELOPER,HAS_PACKAGE,MD5_SHA1_SUM,NO_RELAYS,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, 69; hammy, 150; neutral, 220; spammy,
0. spammytokens: hammytokens:0.000-+--XDebbugsCc,
0.000-+--X-Debbugs-Cc, 0.000-+--H*F:U*carnil, 0.000-+--trixie,
0.000-+--H*Ad:N*Bug
Return-path: <carnil@debian.org>
Received: via submission
by buxtehude.debian.org with esmtp (Exim 4.96)
(envelope-from <carnil@debian.org>)
id 1x2vMQ-000iBK-2H
for submit@bugs.debian.org;
Sat, 05 Sep 2026 18:43:32 +0000
Content-Type: multipart/mixed; boundary="===============3141041210699203885=="
MIME-Version: 1.0
From: Salvatore Bonaccorso <carnil@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: trixie-pu: package libtie-hash-regex-perl/1.14-3~deb13u1
Message-ID: <178863380874.1262022.17381409166599264124.reportbug@eldamar.lan>
X-Mailer: reportbug 13.2.0+nmu1
Date: Sat, 05 Sep 2026 20:43:28 +0200
Delivered-To: submit@bugs.debian.org
This is a multi-part MIME message sent by reportbug.
--===============3141041210699203885==
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: libtie-hash-regex-perl@packages.debian.org, team@security.debian.org, gregoa@debian.org, debian-perl@lists.debian.org, carnil@debian.org
Control: affects -1 + src:libtie-hash-regex-perl
User: release.debian.org@packages.debian.org
Usertags: pu
Hi SRM
This might be considered only for 13.8, as it is late for beeing
accepted. libtie-hash-regex-perl is affected by CVE-2026-77781, marked
as no-dsa.
The package did not got reports back from the same update in unstable,
and passes the debusine QA testing:
https://debusine.debian.net/debian/developers/work-request/1232243/
Regards,
Salvatore
--===============3141041210699203885==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="libtie-hash-regex-perl_1.14-3~deb13u1.debdiff"
diff -Nru libtie-hash-regex-perl-1.14/debian/changelog libtie-hash-regex-perl-1.14/debian/changelog
--- libtie-hash-regex-perl-1.14/debian/changelog 2022-10-15 16:59:51.000000000 +0000
+++ libtie-hash-regex-perl-1.14/debian/changelog 2026-09-05 12:19:30.000000000 +0000
@@ -1,3 +1,17 @@
+libtie-hash-regex-perl (1.14-3~deb13u1) trixie; urgency=medium
+
+ * Rebuild for trixie
+
+ -- Salvatore Bonaccorso <carnil@debian.org> Sat, 05 Sep 2026 14:19:30 +0200
+
+libtie-hash-regex-perl (1.14-3) unstable; urgency=medium
+
+ * Team upload.
+ * Tie::Hash::Regex throws an exception on unparseable lookup keys
+ (CVE-2026-77781)
+
+ -- Salvatore Bonaccorso <carnil@debian.org> Sat, 22 Aug 2026 13:56:22 +0200
+
libtie-hash-regex-perl (1.14-2) unstable; urgency=medium
[ Debian Janitor ]
diff -Nru libtie-hash-regex-perl-1.14/debian/patches/Fix-CVE-2026-77781.patch libtie-hash-regex-perl-1.14/debian/patches/Fix-CVE-2026-77781.patch
--- libtie-hash-regex-perl-1.14/debian/patches/Fix-CVE-2026-77781.patch 1970-01-01 00:00:00.000000000 +0000
+++ libtie-hash-regex-perl-1.14/debian/patches/Fix-CVE-2026-77781.patch 2026-09-05 12:19:30.000000000 +0000
@@ -0,0 +1,225 @@
+From: Dave Cross <dave@perlhacks.com>
+Date: Fri, 21 Aug 2026 13:41:51 +0100
+Subject: Fix CVE-2026-77781
+Origin: https://github.com/davorg-cpan/tie-hash-regex/commit/4239732cb76233543e2ded8ff5e0f238af152e0c
+Bug-Debian-Security: https://security-tracker.debian.org/tracker/CVE-2026-77781
+
+[Salvatore Bonaccorso: Drop version bump to 2.0.0 in module]
+---
+ Changes | 6 ++
+ lib/Tie/Hash/Regex.pm | 20 ++++--
+ t/cvs-2026-77781.t | 152 ++++++++++++++++++++++++++++++++++++++++++
+ 3 files changed, 174 insertions(+), 4 deletions(-)
+ create mode 100644 t/cvs-2026-77781.t
+
+diff --git a/lib/Tie/Hash/Regex.pm b/lib/Tie/Hash/Regex.pm
+index 2b9492cfe473..faffd02356e8 100644
+--- a/lib/Tie/Hash/Regex.pm
++++ b/lib/Tie/Hash/Regex.pm
+@@ -100,7 +100,8 @@ sub FETCH {
+
+ return $self->{$key} if !$is_re && exists $self->{$key};
+
+- $key = qr/$key/ unless $is_re;
++ $key = _compile($key) unless $is_re;
++ return unless defined $key;
+
+ # NOTE: wantarray will _never_ be true when FETCH is called
+ # using the standard hash semantics. I've put that piece
+@@ -130,7 +131,8 @@ sub EXISTS {
+
+ return 1 if !$is_re && exists $self->{$key};
+
+- $key = qr/$key/ unless $is_re;
++ $key = _compile($key) unless $is_re;
++ return unless defined $key;
+
+ /$key/ && return 1 for keys %$self;
+
+@@ -152,7 +154,8 @@ sub DELETE {
+
+ return delete $self->{$key} if !$is_re && exists $self->{$key};
+
+- $key = qr/$key/ unless $is_re;
++ $key = _compile($key) unless $is_re;
++ return unless defined $key;
+
+ for (keys %$self) {
+ if (/$key/) {
+@@ -161,6 +164,15 @@ sub DELETE {
+ }
+ }
+
++sub _compile {
++ my ($key) = @_;
++
++ my $re = eval { qr/$key/ };
++
++ # This will be undef if the "eval" failed
++ return $re;
++}
++
+ 1;
+ __END__
+
+diff --git a/t/cvs-2026-77781.t b/t/cvs-2026-77781.t
+new file mode 100644
+index 000000000000..22a1bcf3b699
+--- /dev/null
++++ b/t/cvs-2026-77781.t
+@@ -0,0 +1,152 @@
++use strict;
++use warnings;
++
++use Test::More;
++
++use Tie::Hash::Regex;
++
++sub fresh {
++ my %h;
++
++ tie %h, 'Tie::Hash::Regex';
++
++ $h{alice} = 'record-A';
++ $h{bob} = 'record-B';
++ $h{carol} = 'record-C';
++
++ return \%h;
++}
++
++#
++# First make sure the normal behaviour still works.
++#
++
++{
++ my $h = fresh();
++
++ is(
++ $h->{alice},
++ 'record-A',
++ 'exact lookup works',
++ );
++
++ is(
++ $h->{'^car'},
++ 'record-C',
++ 'regex lookup works',
++ );
++
++ is(
++ $h->{'^zzz'},
++ undef,
++ 'well-formed regex with no match returns undef',
++ );
++}
++
++#
++# Regression tests for CVE-2026-77781.
++#
++# A malformed regex used as a lookup key should be treated as a
++# non-match, rather than throwing an exception from FETCH, EXISTS
++# or DELETE.
++#
++
++my @payloads = (
++ '(',
++ '[',
++ '*',
++ '+',
++ '?',
++ '\\',
++ '(?<',
++ '(?{',
++);
++
++for my $payload (@payloads) {
++ subtest "malformed pattern '$payload'" => sub {
++ {
++ my $h = fresh();
++
++ my ($value, $error);
++
++ {
++ local $@;
++ eval {
++ $value = $h->{$payload};
++ 1;
++ } or $error = $@;
++ }
++
++ is(
++ $error,
++ undef,
++ 'FETCH does not die',
++ );
++
++ is(
++ $value,
++ undef,
++ 'FETCH treats malformed pattern as no match',
++ );
++ }
++
++ {
++ my $h = fresh();
++
++ my ($exists, $error);
++
++ {
++ local $@;
++ eval {
++ $exists = exists $h->{$payload};
++ 1;
++ } or $error = $@;
++ }
++
++ is(
++ $error,
++ undef,
++ 'EXISTS does not die',
++ );
++
++ ok(
++ !$exists,
++ 'EXISTS treats malformed pattern as no match',
++ );
++ }
++
++ {
++ my $h = fresh();
++
++ my ($deleted, $error);
++
++ {
++ local $@;
++ eval {
++ $deleted = delete $h->{$payload};
++ 1;
++ } or $error = $@;
++ }
++
++ is(
++ $error,
++ undef,
++ 'DELETE does not die',
++ );
++
++ is(
++ $deleted,
++ undef,
++ 'DELETE treats malformed pattern as no match',
++ );
++
++ is_deeply(
++ [sort keys %$h],
++ [qw(alice bob carol)],
++ 'failed DELETE leaves hash unchanged',
++ );
++ }
++ };
++}
++
++done_testing;
+--
+2.55.0
+
diff -Nru libtie-hash-regex-perl-1.14/debian/patches/series libtie-hash-regex-perl-1.14/debian/patches/series
--- libtie-hash-regex-perl-1.14/debian/patches/series 1970-01-01 00:00:00.000000000 +0000
+++ libtie-hash-regex-perl-1.14/debian/patches/series 2026-09-05 12:19:30.000000000 +0000
@@ -0,0 +1 @@
+Fix-CVE-2026-77781.patch
--===============3141041210699203885==--
------------=_1795253353-3308484-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
Received: (at 1146808-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*MI:coccia, 0.000-+--H*m: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]:60680)
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-00DruI-1n
for 1146808-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-004ifD-1k
for 1146808-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=YNvfXIy/z8E5bcZY5+8Ipw7LNY
ZjJQAugWS9BThKkrbekWqEW7inxSuFqPxzgLVPBsozr5iZY1mCOc4LmTToX3EH7BwN8q9ZXkQ2MBe
t6GevUc5J5BrMphdzdpfo7mvjxHx3r9T+oAMYfjibgZcxt98XAEOARtK53GQAw5AKkwlGFVYUTtmN
+R1FbZ+fDyW24Hu239rBqTBWVoWdjayPH4KAHj2m9KwfoYVBggdQVG7NqSdVA2y13+Mtjwddi9yDm
OKpd3r3CE8mZf7RgpHkoso2lSWGWd/rCSuPRklLrxxs9zlUihOpcGXwJbXSGNDT2dooAbXwLPsP8F
zXw8un5Q==;
Received: from jmw by coccia.debian.org with local (Exim 4.98.2)
(envelope-from <jmw@coccia.debian.org>)
id 1xUhO6-00000008szJ-41SG
for 1146808-done@bugs.debian.org;
Sat, 21 Nov 2026 09:28:02 +0000
To: 1146808-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: <E1xUhO6-00000008szJ-41SG@coccia.debian.org>
From: Jonathan Wiltshire <jmw@coccia.debian.org>
Date: Sat, 21 Nov 2026 09:28:02 +0000
X-CrossAssassin-Score: 90
Version: 13.8
This update was released as part of 13.8.
------------=_1795253353-3308484-0--
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads