Article View: linux.debian.devel.release
Article #965Bug#1138662: marked as done (trixie-pu: package pygments/2.18.0+dfsg-2+deb13u1)
From: Debian Bug Tracking System
Date: Sat, 21 Nov 2026 09:30
Date: Sat, 21 Nov 2026 09:30
287 lines
14912 bytes
14912 bytes
This is a multi-part message in MIME format...
------------=_1795253342-3308225-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-00000008t2t-37HH@coccia.debian.org>
and subject line Released in 13.8
has caused the Debian Bug report #1138662,
regarding trixie-pu: package pygments/2.18.0+dfsg-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
1138662: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D1138662
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
------------=_1795253342-3308225-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
Received: (at submit) by bugs.debian.org; 1 Jun 2026 22:19: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=-20.1 required=4.0 tests=BAYES_00,
BODY_INCLUDES_PACKAGE,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,
DKIM_VALID_EF,FOURLA,FREEMAIL_FROM,HAS_PACKAGE,MD5_SHA1_SUM,
RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,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, 55; hammy, 150; neutral, 246; spammy,
0. spammytokens: hammytokens:0.000-+--XDebbugsCc,
0.000-+--X-Debbugs-Cc, 0.000-+--trixie, 0.000-+--H*Ad:N*Bug,
0.000-+--H*Ad:N*Tracking
Return-path: <mpolkorny@gmail.com>
Received: from mail-vk1-xa2f.google.com ([2607:f8b0:4864:20::a2f]:43122)
by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_128_GCM:128)
(Exim 4.96)
(envelope-from <mpolkorny@gmail.com>)
id 1wUAyq-008GGz-1e
for submit@bugs.debian.org;
Mon, 01 Jun 2026 22:19:32 +0000
Received: by mail-vk1-xa2f.google.com with SMTP id 71dfb90a1353d-59be89d310aso1970203e0c.0
for <submit@bugs.debian.org>; Mon, 01 Jun 2026 15:19:32 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20251104; t=1780352370; x=1780957170; darn=bugs.debian.org;
h=date:message-id:subject:to:from:mime-version:from:to:cc:subject
:date:message-id:reply-to;
bh=d+7FDMXHsgB8YyjhSeBrxeeHbKh4pbtqgE3FcqUOpR4=;
b=mfznUMWmFSyvej0vV01ehYpBuZeapb5Ep996qiNGi9N0ljqX2MXKMGkc3l/eNtdKSM
mDDDem4Yx+X4NV113T69VoFQt1+++i2uygIx99asdO2KJl5Ou3GfAJN10QjzihWWg+SD
7qsSwltd3qO/eEvIAjtWS5owTd67W17s3Pi//+m6R6q9gPJx9e5tZsORJCXzHrx3TpNU
ylGlRgAEusDWtGT+J54iLwFviIUlYv3Y/KS1JBnxL5mtY7vFiNYYLYSfjq/4z6nCos+N
fZCbyIHOdhK6DXV7dKdo4l/CS69RNjQGhuYP08hZfN0F2RZ4ilueNeL6C+E89BtnVJO4
8SCw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20251104; t=1780352370; x=1780957170;
h=date:message-id:subject:to:from:mime-version:x-gm-gg
:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
bh=d+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b90a1353d-5a3fb625037mr858252e0c.2.1780352370038;
Mon, 01 Jun 2026 15:19:30 -0700 (PDT)
Received: from localhost ([2804:868:d051:89b3:ac1c:d1f:9482:e70])
by smtp.gmail.com with ESMTPSA id 71dfb90a1353d-59b97abb8b8sm7348601e0c.8.2026.06.01.15.19.29
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Mon, 01 Jun 2026 15:19:29 -0700 (PDT)
Content-Type: multipart/mixed; boundary="===============6469505468659272083=="
MIME-Version: 1.0
From: Matheus Polkorny <mpolkorny@gmail.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: trixie-pu: package pygments/2.18.0+dfsg-2+deb13u1
Message-ID: <178035236570.310884.1780053739933123786.reportbug@polkorny>
X-Mailer: reportbug 13.2.0
Date: Mon, 01 Jun 2026 19:19:25 -0300
Delivered-To: submit@bugs.debian.org
This is a multi-part MIME message sent by reportbug.
--===============6469505468659272083==
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: pygments@packages.debian.org
Control: affects -1 + src:pygments
User: release.debian.org@packages.debian.org
Usertags: pu
[ Reason ]
Fix Potential ReDoS vulnerabilities in pygments:
CVE-2026-4539[1], CVE-2022-40896[2].
[ Impact ]
A specially crafted input can trigger excessive CPU consumption
due to inefficient regular expression processing in affected
lexers, leading to a denial of service condition.
[ Tests ]
The vulnerable code path was tested with the proposed
patch applied.
[ Risks ]
The changes are minimal and limited to the affected lexers.
They are direct backports of the upstream fixes and do not
modify unrelated functionality.
[ 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 ]
Backport the upstream fixes for CVE-2026-4539.
[ Other info ]
The merge request for unstable is open and awaiting review.
@piotr has reviewed this backport and will sponsor it.
--===============6469505468659272083==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="pygments.debdiff"
diff -Nru pygments-2.18.0+dfsg/debian/changelog pygments-2.18.0+dfsg/debian/changelog
--- pygments-2.18.0+dfsg/debian/changelog 2025-01-13 14:44:43.000000000 +0000
+++ pygments-2.18.0+dfsg/debian/changelog 2026-06-01 17:35:31.000000000 +0000
@@ -1,3 +1,12 @@
+pygments (2.18.0+dfsg-2+deb13u1) trixie; urgency=medium
+
+ * Team upload.
+ * d/patches: (Closes: #1132233)
+ - CVE-2026-4539: Import and backport upstream patch
+ (Potential ReDoS in AdlLexer)
+
+ -- Matheus Polkorny <mpolkorny@gmail.com> Mon, 01 Jun 2026 14:35:31 -0300
+
pygments (2.18.0+dfsg-2) unstable; urgency=medium
* Team upload.
diff -Nru pygments-2.18.0+dfsg/debian/patches/CVE-2026-4539.patch pygments-2.18.0+dfsg/debian/patches/CVE-2026-4539.patch
--- pygments-2.18.0+dfsg/debian/patches/CVE-2026-4539.patch 1970-01-01 00:00:00.000000000 +0000
+++ pygments-2.18.0+dfsg/debian/patches/CVE-2026-4539.patch 2026-06-01 17:35:31.000000000 +0000
@@ -0,0 +1,34 @@
+From: "zam." <zamkorong12@gmail.com>
+Date: Thu, 26 Mar 2026 04:48:59 +0700
+Subject: fix(lexers): prevent ReDoS in archetype lexer GUID and ID patterns
+ (#3064)
+
+Origin: upstream, https://github.com/pygments/pygments/commit/24b8aa76c6cd6d70f39c6dd605cce319c98e2ccc
+---
+ pygments/lexers/archetype.py | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/pygments/lexers/archetype.py b/pygments/lexers/archetype.py
+index b019c4f..650c51b 100644
+--- a/pygments/lexers/archetype.py
++++ b/pygments/lexers/archetype.py
+@@ -35,8 +35,8 @@ class AtomsLexer(RegexLexer):
+ (r'([ \t]*)(--.*)$', bygroups(Whitespace, Comment)),
+ ],
+ 'archetype_id': [
+- (r'([ \t]*)(([a-zA-Z]\w+(\.[a-zA-Z]\w+)*::)?[a-zA-Z]\w+(-[a-zA-Z]\w+){2}'
+- r'\.\w+[\w-]*\.v\d+(\.\d+){,2}((-[a-z]+)(\.\d+)?)?)',
++ (r'([ \t]*)(([a-zA-Z]\w{1,100}(\.[a-zA-Z]\w{1,100})*::)?[a-zA-Z]\w{1,100}(-[a-zA-Z]\w{1,100}){2}'
++ r'\.\w{1,100}[\w-]*\.v\d+(\.\d+){,2}((-[a-z]+)(\.\d+)?)?)',
+ bygroups(Whitespace, Name.Decorator)),
+ ],
+ 'date_constraints': [
+@@ -293,7 +293,7 @@ class AdlLexer(AtomsLexer):
+ # numbers and version ids
+ (r'\d+(\.\d+)*', Literal),
+ # Guids
+- (r'(\d|[a-fA-F])+(-(\d|[a-fA-F])+){3,}', Literal),
++ (r'[0-9a-fA-F]{1,36}(-[0-9a-fA-F]{1,36}){3,}', Literal),
+ (r'\w+', Name.Class),
+ (r'"', String, 'string'),
+ (r'=', Operator),
diff -Nru pygments-2.18.0+dfsg/debian/patches/series pygments-2.18.0+dfsg/debian/patches/series
--- pygments-2.18.0+dfsg/debian/patches/series 2025-01-13 14:41:33.000000000 +0000
+++ pygments-2.18.0+dfsg/debian/patches/series 2026-06-01 17:35:31.000000000 +0000
@@ -1,3 +1,4 @@
0001-docs-moved-to-python-pygments-doc-binary-package.patch
0002-pygments.bashcomp-Remove-hashbang-within-bash-comple.patch
0003-Disable-lexer-examples-in-documentation.patch
+CVE-2026-4539.patch
--===============6469505468659272083==--
------------=_1795253342-3308225-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
Received: (at 1138662-done) by bugs.debian.org; 21 Nov 2026 09:28:06 +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=-106.2 required=4.0 tests=ALL_TRUSTED,BAYES_00,
DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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, 8; hammy, 72; 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 mailly.debian.org ([2001:41b8:202:deb:6564:a62:52c3:4b72]:41390)
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 1xUhOB-00DrtK-0V
for 1138662-done@bugs.debian.org;
Sat, 21 Nov 2026 09:28:06 +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 mailly.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 1xUhO9-004hwr-01
for 1138662-done@bugs.debian.org;
Sat, 21 Nov 2026 09:28:05 +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=13GWdJZu9rqI7I0xXdvdTqw9qZ
t5QhvqfKC/i62CHHGG/TtcQbk7hraDVMeIzsCNfpwxmRsKh6es5wolfWAXIcpF4vyRrP8Z3808PDH
ILCYFGa+1HWsJj5y9gCANbsl5bGTviHcppsXkAveDND335aRmH61sKT+efbZUXFjLjZTHb3cq6nHf
jkGomrnBJ6t6aFk1PXj+9WDS015aWQoOPtzy67vAh1w7lGzLbXZdyEgXUwlUdZ7ytGeUtK9dn2OD3
/sAFuA0OKuK3g/lwf6SrPbf207Fcbc3OZXSlPVKu27yiXZca7droO3iKzlYHSv2Y5yuocjCHTQM1O
18xMwKEA==;
Received: from jmw by coccia.debian.org with local (Exim 4.98.2)
(envelope-from <jmw@coccia.debian.org>)
id 1xUhO7-00000008t2t-37HH
for 1138662-done@bugs.debian.org;
Sat, 21 Nov 2026 09:28:03 +0000
To: 1138662-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-00000008t2t-37HH@coccia.debian.org>
From: Jonathan Wiltshire <jmw@coccia.debian.org>
Date: Sat, 21 Nov 2026 09:28:03 +0000
X-CrossAssassin-Score: 70
Version: 13.8
This update was released as part of 13.8.
------------=_1795253342-3308225-0--
Technical Details
Message-ID:
<O1PzX-dff6-23@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!news-ams.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomodReferences:
<O1PzX-dff6-25@gated-at.bofh.it> <N1jiV-9ChF-5@gated-at.bofh.it>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-ams.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod From: "Debian Bug Tracking System" <owner@bugs.debian.org> Newsgroups: linux.debian.devel.release Subject: Bug#1138662: marked as done (trixie-pu: package pygments/2.18.0+dfsg-2+deb13u1) Date: Sat, 21 Nov 2026 10:30:01 +0100 Message-ID: <O1PzX-dff6-23@gated-at.bofh.it> References: <O1PzX-dff6-25@gated-at.bofh.it> <N1jiV-9ChF-5@gated-at.bofh.it> X-Mailbox-Line: From debian-release-request@lists.debian.org Sat Nov 21 09:29:39 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 1138662 X-Debian-Pr-Package: release.debian.org X-Debian-Pr-Keywords: trixie Reply-To: 1138662@bugs.debian.org Content-Type: multipart/mixed; boundary="----------=_1795253342-3308225-0" X-Mailing-List: <debian-release@lists.debian.org> archive/latest/189291 List-ID: <debian-release.lists.debian.org> List-URL: <https://lists.debian.org/debian-release/> List-Archive: https://lists.debian.org/msgid-search/handler.1138662.D1138662.17952532863305694.ackdone@bugs.debian.org Approved: robomod@news.nic.it Lines: 287 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Sat, 21 Nov 2026 09:29:02 +0000 X-Original-Message-ID: <handler.1138662.D1138662.17952532863305694.ackdone@bugs.debian.org> X-Original-References: <E1xUhO7-00000008t2t-37HH@coccia.debian.org> <178035236570.310884.1780053739933123786.reportbug@polkorny>