🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.devel.release
Article #1016

Bug#1151917: marked as done (trixie-pu: package dnspython/2.7.0-1 (CVE-2026-114605))

#1016
From: Debian Bug Tracking System
Date: Sat, 21 Nov 2026 09:50
301 lines
14376 bytes
This is a multi-part message in MIME format...

------------=_1795253381-3309376-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-00000008swK-16gq@coccia.debian.org>
and subject line Released in 13.8
has caused the Debian Bug report #1151917,
regarding trixie-pu: package dnspython/2.7.0-1 (CVE-2026-114605)
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
1151917: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D1151917
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

------------=_1795253381-3309376-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at submit) by bugs.debian.org; 24 Oct 2026 12:47:46 +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, 95; hammy, 150; neutral, 294; spammy,
	0. spammytokens: hammytokens:0.000-+--XDebbugsCc,
	0.000-+--X-Debbugs-Cc, 0.000-+--trixie, 0.000-+--autopkgtest,
	0.000-+--H*Ad:N*Bug
Return-path: <zigo@debian.org>
Received: via submission
	by buxtehude.debian.org with esmtp (Exim 4.96)
	(envelope-from <zigo@debian.org>)
	id 1xKbA3-000MUz-09
	for submit@bugs.debian.org;
	Sat, 24 Oct 2026 12:47:46 +0000
Content-Type: multipart/mixed; boundary="===============0006755993828501090=="
MIME-Version: 1.0
From: Thomas Goirand <zigo@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: trixie-pu: package dnspython/2.7.0-1 (CVE-2026-114605)
Message-ID: <179284605986.476851.8115970589242625212.reportbug@zbuz.infomaniak.ch>
X-Mailer: reportbug 13.2.0
Date: Sat, 24 Oct 2026 14:47:39 +0200
Delivered-To: submit@bugs.debian.org

This is a multi-part MIME message sent by reportbug.


--===============0006755993828501090==
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: dnspython@packages.debian.org
Control: affects -1 + src:dnspython
User: release.debian.org@packages.debian.org
Usertags: pu

Hi,

[ Reason ]
I've uploaded dnspython/2.7.0-1+deb13u1 fixing CVE-2026-114605.

[ Impact ]
Possible DoS with current Trixie version.

[ Tests ]
The patch adds a test, ran at package build time.

[ Risks ]
Not much, patch is simple.

[ 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

[ Other info ]
Note that autopkgtest are failing, but just right
the previous version (it's not the scope of this
upload to fix this).

Please approve dnspython/2.7.0-1+deb13u1

Cheers,

Thomas Goirand (zigo)

--===============0006755993828501090==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="dnspython_2.7.0-1+deb13u1.debdiff"

diff -Nru dnspython-2.7.0/debian/changelog dnspython-2.7.0/debian/changelog
--- dnspython-2.7.0/debian/changelog	2024-12-01 21:23:40.000000000 +0100
+++ dnspython-2.7.0/debian/changelog	2026-10-24 14:34:30.000000000 +0200
@@ -1,3 +1,13 @@
+dnspython (2.7.0-1+deb13u1) trixie; urgency=medium
+
+  * Backport upstream fix for CVE-2026-114605: limit DNS compression
+    pointer chains to 16 hops to prevent excessive CPU use (denial of
+    service) when parsing untrusted wire-format messages
+    (Closes: #1151842):
+    - 0001-Limit-decompression-to-a-chain-length-of-at-most-16-.patch
+
+ -- Thomas Goirand <zigo@debian.org>  Sat, 24 Oct 2026 14:34:30 +0200
+
 dnspython (2.7.0-1) unstable; urgency=medium
 
   * Team Upload
diff -Nru dnspython-2.7.0/debian/patches/0001-Limit-decompression-to-a-chain-length-of-at-most-16-.patch dnspython-2.7.0/debian/patches/0001-Limit-decompression-to-a-chain-length-of-at-most-16-.patch
--- dnspython-2.7.0/debian/patches/0001-Limit-decompression-to-a-chain-length-of-at-most-16-.patch	1970-01-01 01:00:00.000000000 +0100
+++ dnspython-2.7.0/debian/patches/0001-Limit-decompression-to-a-chain-length-of-at-most-16-.patch	2026-10-24 14:34:30.000000000 +0200
@@ -0,0 +1,92 @@
+Description: Limit decompression to a chain length of at most 16 pointers.
+ A maliciously crafted DNS message may cause dns.name.from_wire_parser()
+ to use excessive CPU for DNS name decompression.  Applications which
+ process untrusted DNS wire form messages with dnspython may be degraded
+ or DoS'd by the extra CPU use required (CVE-2026-114605,
+ GHSA-45c3-73f7-pv4m).
+ .
+ Credit: Evgenios Gkritsis, Constantinos Patsakis and George
+ Stergiopoulos.
+Author: Bob Halley <halley@dnspython.org>
+Date: Sat, 26 Sep 2026 13:38:07 -0700
+Origin: upstream, https://github.com/rthalley/dnspython/commit/b485e460c266540a1a09ca6d8d1d7b685b1d3023
+Bug: https://github.com/rthalley/dnspython/security/advisories/GHSA-45c3-73f7-pv4m
+Bug-Debian: https://bugs.debian.org/1151842
+Last-Update: 2026-10-24
+
+Index: dnspython/dns/name.py
+===================================================================
+--- dnspython.orig/dns/name.py
++++ dnspython/dns/name.py
+@@ -86,6 +86,10 @@ class BadPointer(dns.exception.FormError
+     """A DNS compression pointer points forward instead of backward."""
+ 
+ 
++class PointerChainTooLong(dns.exception.FormError):
++    """A DNS compression pointer chain was too long."""
++
++
+ class BadLabelType(dns.exception.FormError):
+     """The label type in DNS name wire format is unknown."""
+ 
+@@ -1064,6 +1068,9 @@ def from_text(
+     return Name(labels)
+ 
+ 
++MAX_COMPRESSION_POINTER_CHAIN = 16
++
++
+ # we need 'dns.wire.Parser' quoted as dns.name and dns.wire depend on each other.
+ 
+ 
+@@ -1082,6 +1089,7 @@ def from_wire_parser(parser: "dns.wire.P
+ 
+     labels = []
+     biggest_pointer = parser.current
++    hops = 0
+     with parser.restore_furthest():
+         count = parser.get_uint8()
+         while count != 0:
+@@ -1092,6 +1100,9 @@ def from_wire_parser(parser: "dns.wire.P
+                 if current >= biggest_pointer:
+                     raise BadPointer
+                 biggest_pointer = current
++                hops += 1
++                if hops > MAX_COMPRESSION_POINTER_CHAIN:
++                    raise PointerChainTooLong
+                 parser.seek(current)
+             else:
+                 raise BadLabelType
+Index: dnspython/tests/test_name.py
+===================================================================
+--- dnspython.orig/tests/test_name.py
++++ dnspython/tests/test_name.py
+@@ -739,6 +739,28 @@ class NameTestCase(unittest.TestCase):
+ 
+         self.assertRaises(dns.name.BadLabelType, bad)
+ 
++    def testCompressionChainLength(self):
++        # We're going to decode some wire starting two bytes from the end.  At this
++        # position is a pointer which points to four bytes from the end, and it points
++        # to one 6 bytes from the end, etc., until finally the 16th pointer points at
++        # offset zero, which is the root label followed by a byte of padding.  After
++        # all of this useless pointer hopping, we should get the root name.
++        w = b"\x00\x00\xc0\x00\xc0\x02\xc0\x04\xc0\x06\xc0\x08\xc0\x0a\xc0\x0c\xc0\x0e\xc0\x10\xc0\x12\xc0\x14\xc0\x16\xc0\x18\xc0\x1a\xc0\x1c\xc0\x1e"
++        self.assertEqual(len(w), 34)
++        starts = [c for c in w if c == 0xC0]
++        self.assertEqual(len(starts), dns.name.MAX_COMPRESSION_POINTER_CHAIN)
++
++        def bad():
++            # Now we make the wire one pointer longer, which is too long!
++            w1 = w + b"\xc0\x20"
++            self.assertEqual(len(w1), 36)
++            starts = [c for c in w1 if c == 0xC0]
++            self.assertEqual(len(starts), dns.name.MAX_COMPRESSION_POINTER_CHAIN + 1)
++            dns.name.from_wire(w1, 34)
++
++        self.assertEqual(dns.name.from_wire(w, 32)[0], dns.name.from_text("."))
++        self.assertRaises(dns.name.PointerChainTooLong, bad)
++
+     def testParent1(self):
+         n = dns.name.from_text("foo.bar.")
+         self.assertEqual(n.parent(), dns.name.from_text("bar."))
diff -Nru dnspython-2.7.0/debian/patches/series dnspython-2.7.0/debian/patches/series
--- dnspython-2.7.0/debian/patches/series	1970-01-01 01:00:00.000000000 +0100
+++ dnspython-2.7.0/debian/patches/series	2026-10-24 14:34:30.000000000 +0200
@@ -0,0 +1 @@
+0001-Limit-decompression-to-a-chain-length-of-at-most-16-.patch

--===============0006755993828501090==--

------------=_1795253381-3309376-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at 1151917-done) by bugs.debian.org; 21 Nov 2026 09:28:04 +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, 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 mailly.debian.org ([2001:41b8:202:deb:6564:a62:52c3:4b72]:41174)
	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 1xUhO9-00Driz-2Z
	for 1151917-done@bugs.debian.org;
	Sat, 21 Nov 2026 09:28:04 +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 1xUhO7-004hw8-1m
	for 1151917-done@bugs.debian.org;
	Sat, 21 Nov 2026 09:28:03 +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=Ni0hHOJwS8KKWJBvgDcSnbY0xs
	y/vQiy4Shw0K+YoDs3JROW9UJnRfKFgRtgq48aZw5bqP/rIR61s1HVlWsHjD7Ggb2dsojFevx21Qi
	CD5cC7jGdCjL/CZcIoK0WK+asprDYORIrbOnU819XFwjGagB6Obto6/+Lf4uO0wnDloOaymdmNTgJ
	tMjOcI0UkvvQvgGXdaeFO2lwza13jYTHstCIbI2bDMJCG/s7GiLsHgva36uNngViuo6ObiaSV7yqv
	Vz7fBDhfmNfntgveKznDuhqcDn6t8DmHU5tPGC3TbtUVefvjePQEuFVpNM6bMwJFeoyzGW2p6egGg
	LvE2u/lg==;
Received: from jmw by coccia.debian.org with local (Exim 4.98.2)
	(envelope-from <jmw@coccia.debian.org>)
	id 1xUhO6-00000008swK-16gq
	for 1151917-done@bugs.debian.org;
	Sat, 21 Nov 2026 09:28:02 +0000
To: 1151917-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-00000008swK-16gq@coccia.debian.org>
From: Jonathan Wiltshire <jmw@coccia.debian.org>
Date: Sat, 21 Nov 2026 09:28:02 +0000
X-CrossAssassin-Score: 45

Version: 13.8

This update was released as part of 13.8.
------------=_1795253381-3309376-0--
Technical Details
Message-ID: <O1PTk-dfpW-49@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!srl.newsdeef.eu!news.hispagatos.org!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
References: <O1PTk-dfpW-51@gated-at.bofh.it> <NRJm9-7B8l-3@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srl.newsdeef.eu!news.hispagatos.org!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#1151917: marked as done (trixie-pu: package dnspython/2.7.0-1  (CVE-2026-114605))
Date: Sat, 21 Nov 2026 10:50:02 +0100
Message-ID: <O1PTk-dfpW-49@gated-at.bofh.it>
References: <O1PTk-dfpW-51@gated-at.bofh.it> <NRJm9-7B8l-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:59 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 1151917
X-Debian-Pr-Package: release.debian.org
X-Debian-Pr-Keywords: trixie
Reply-To: 1151917@bugs.debian.org
Content-Type: multipart/mixed; boundary="----------=_1795253381-3309376-0"
X-Mailing-List: <debian-release@lists.debian.org> archive/latest/189361
List-ID: <debian-release.lists.debian.org>
List-URL: <https://lists.debian.org/debian-release/>
List-Archive: https://lists.debian.org/msgid-search/handler.1151917.D1151917.17952532843305341.ackdone@bugs.debian.org
Approved: robomod@news.nic.it
Lines: 301
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Sat, 21 Nov 2026 09:29:41 +0000
X-Original-Message-ID: <handler.1151917.D1151917.17952532843305341.ackdone@bugs.debian.org>
X-Original-References: <E1xUhO6-00000008swK-16gq@coccia.debian.org>
 <179284605986.476851.8115970589242625212.reportbug@zbuz.infomaniak.ch>