[From nobody Mon Aug  3 19:03:10 2026
Received: (at submit) by bugs.debian.org; 14 Jul 2026 06:52:27 +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=-10.0 required=4.0 tests=BAYES_00,FROMDEVELOPER,
 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, 14; hammy, 149; neutral, 48; spammy,
 1. spammytokens:0.941-+--H*r:bugs.debian.org
 hammytokens:0.000-+--H*F:U*carnil, 0.000-+--XDebbugsCc,
 0.000-+--X-Debbugs-Cc, 0.000-+--H*Ad:N*Bug, 0.000-+--H*Ad:N*Tracking
Return-path: &lt;carnil@debian.org&gt;
Received: via submission by buxtehude.debian.org with esmtp (Exim 4.96)
 (envelope-from &lt;carnil@debian.org&gt;) id 1wjX0C-008EC7-2t
 for submit@bugs.debian.org; Tue, 14 Jul 2026 06:52:27 +0000
Content-Type: text/plain; charset=&quot;us-ascii&quot;
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Salvatore Bonaccorso &lt;carnil@debian.org&gt;
To: Debian Bug Tracking System &lt;submit@bugs.debian.org&gt;
Subject: perl: CVE-2026-13221
Message-ID: &lt;178401194330.128875.7384276524797586445.reportbug@eldamar.lan&gt;
X-Mailer: reportbug 13.2.0+nmu1
Date: Tue, 14 Jul 2026 08:52:23 +0200
Delivered-To: submit@bugs.debian.org

Source: perl
Version: 5.40.1-8
Severity: important
Tags: security upstream
X-Debbugs-Cc: carnil@debian.org, Debian Security Team &lt;team@security.debian.org&gt;

Hi,

The following vulnerability was published for perl.

CVE-2026-13221[0]:
| Perl versions through 5.43.9 produce silently incorrect regular
| expression matches when an alternation of more than 65535 fixed
| string branches is compiled into a trie in Perl_study_chunk.  When
| such branches are combined into a trie, the delta between the first
| branch and the shared tail is stored in a 16-bit field. A branch
| count above 65535 overflows the field, and the trie's match decision
| table is truncated with no warning or error.  A pattern of this
| shape produces false positive matches (matching strings it should
| not) and false negative matches (failing to match strings it
| should). When such a pattern gates an access or filtering decision,
| the result is wrong.


If you fix the vulnerability please also make sure to include the
CVE (Common Vulnerabilities &amp; Exposures) id in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2026-13221
    https://www.cve.org/CVERecord?id=CVE-2026-13221
[1] https://lists.security.metacpan.org/cve-announce/msg/41780104/

Please adjust the affected versions in the BTS as needed.

Regards,
Salvatore
]