🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.devel.release
3 messages
3 total messages Started by Hugh McMaster Sun, 11 Oct 2026 12:10
Bug#1150614: bookworm-pu: package freetype/2.12.1+dfsg-5+deb12u5
#24
Author: Hugh McMaster
Date: Sun, 11 Oct 2026 12:10
128 lines
6462 bytes
This is a multi-part MIME message sent by reportbug.


--===============3717885507906588974==
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: bookworm
X-Debbugs-Cc: freetype@packages.debian.org
Control: affects -1 + src:freetype
User: release.debian.org@packages.debian.org
Usertags: pu

[ Reason ]
CVE-2026-95512: Prevent denial of service via repeated subroutine allocations
in the CID font loader.

Crafted CID fonts can trigger repeated subroutine allocations and
decryptions across many font dictionaries during face loading,
causing severe memory and CPU exhaustion.

[ Impact ]
A remote attacker could exploit a vulnerability in FreeType's CID font loader
by tricking a user into opening content that embeds or references a specially
crafted CID-keyed font. This crafted font can cause repeated allocations and
decryptions of subroutine data across multiple font dictionaries, leading to
excessive memory and CPU consumption. This can result in a denial of service
(DoS) for the application or service processing the font, potentially causing
it to hang or terminate.

[ Tests ]
Manual testing.

[ Risks ]
The patch was developed by an upstream FreeType developer and verified by
another.

[ 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 ]
This upload adds an upstream patch to fix CVE-2026-95512. It is the same patch
applied to Sid and Forky, and will be applied to Trixie too.

[ Other info ]
Debian Security Team advised no DSA with my agreement.

--===============3717885507906588974==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="freetype_2.12.1+dfsg-5+deb12u5.diff"

diff -Nru freetype-2.12.1+dfsg/debian/changelog freetype-2.12.1+dfsg/debian/changelog
--- freetype-2.12.1+dfsg/debian/changelog	2025-03-15 06:57:00.000000000 +1100
+++ freetype-2.12.1+dfsg/debian/changelog	2026-10-11 22:19:01.000000000 +1100
@@ -1,3 +1,9 @@
+freetype (2.12.1+dfsg-5+deb12u5) bookworm; urgency=medium
+
+  * debian/patches: Fix CVE-2026-95512 (Closes: #1149953).
+
+ -- Hugh McMaster <hmc@debian.org>  Sun, 11 Oct 2026 22:19:01 +1100
+
 freetype (2.12.1+dfsg-5+deb12u4) bookworm-security; urgency=high
 
   * Non-maintainer upload by the Security Team.
diff -Nru freetype-2.12.1+dfsg/debian/patches/CVE-2026-95512.patch freetype-2.12.1+dfsg/debian/patches/CVE-2026-95512.patch
--- freetype-2.12.1+dfsg/debian/patches/CVE-2026-95512.patch	1970-01-01 10:00:00.000000000 +1000
+++ freetype-2.12.1+dfsg/debian/patches/CVE-2026-95512.patch	2026-10-11 22:15:24.000000000 +1100
@@ -0,0 +1,41 @@
+From f3ca71c9900fe860849b3163a6e2c1e765b291d9 Mon Sep 17 00:00:00 2001
+From: Alexei Podtelezhnikov <apodtele@gmail.com>
+Date: Mon, 7 Sep 2026 15:02:23 -0400
+Subject: [PATCH] * src/cid/cidload.c (cid_read_subrs): Limit overlaps.
+
+Overlaps between subroutine dictionaries can be useful but prone to
+abuses. The arbitrary limit can be adjusted in the future. Fixes #1457.
+
+Bug: https://gitlab.freedesktop.org/freetype/freetype/-/work_items/1457
+Bug-Debian: https://bugs.debian.org/1149953
+Last-Update: 2026-10-05
+
+---
+ src/cid/cidload.c | 9 +++++++++
+ 1 file changed, 9 insertions(+)
+
+--- a/src/cid/cidload.c
++++ b/src/cid/cidload.c
+@@ -521,6 +521,7 @@
+     CID_Subrs      subr;
+     FT_UInt        max_offsets = 0;
+     FT_ULong*      offsets = NULL;
++    FT_ULong       cum_len = 0;
+     PSAux_Service  psaux = (PSAux_Service)face->psaux;
+ 
+ 
+@@ -588,6 +589,14 @@
+       /* now, compute the size of subrs charstrings, */
+       /* allocate, and read them                     */
+       data_len = offsets[num_subrs] - offsets[0];
++      cum_len += data_len;
++
++      if ( cum_len / 4 > stream->size )
++      {
++        FT_ERROR(( "cid_read_subrs: excessive overlaps\n" ));
++        error = FT_THROW( Invalid_File_Format );
++        goto Fail;
++      }
+ 
+       if ( FT_QNEW_ARRAY( subr->code, num_subrs + 1 ) ||
+            FT_QALLOC( subr->code[0], data_len )       )
diff -Nru freetype-2.12.1+dfsg/debian/patches/series freetype-2.12.1+dfsg/debian/patches/series
--- freetype-2.12.1+dfsg/debian/patches/series	2025-03-15 06:56:20.000000000 +1100
+++ freetype-2.12.1+dfsg/debian/patches/series	2026-10-11 22:14:37.000000000 +1100
@@ -9,3 +9,4 @@
 disable_COLRv1.patch
 get_colr_glyph_paint.patch
 Minimal-stop-gap-fix-for-CVE-2025-27363.patch
+CVE-2026-95512.patch

--===============3717885507906588974==--
Processed: bookworm-pu: package freetype/2.12.1+dfsg-5+deb12u5
#66
Author: Debian Bug Tracking System
Date: Sun, 11 Oct 2026 12:10
11 lines
2358 bytes
Processing control commands:

> affects -1 + src:freetype
Bug #1150614 [release.debian.org] bookworm-pu: package freetype/2.12.1+dfsg-5+deb12u5
Added indication that 1150614 affects src:freetype

-- 
1150614: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1150614
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
Bug#1150614: marked as done (bookworm-pu: package freetype/2.12.1+dfsg-5+deb12u5)
#507
Author: Debian Bug Tracking System
Date: Sat, 07 Nov 2026 12:20
287 lines
14090 bytes
This is a multi-part message in MIME format...

------------=_1794053701-725794-0
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"

Your message dated Sat, 07 Nov 2026 12:13:16 +0000
with message-id <3a2ad004ad3ecf088c573dfa29005c9c11ff476a.camel@adam-barrat=
t.org.uk>
and subject line Re: Bug#1150614: bookworm-pu: package freetype/2.12.1+dfsg=
-5+deb12u5
has caused the Debian Bug report #1150614,
regarding bookworm-pu: package freetype/2.12.1+dfsg-5+deb12u5
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
1150614: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D1150614
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

------------=_1794053701-725794-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at submit) by bugs.debian.org; 11 Oct 2026 12:05:38 +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=-132.3 required=4.0 tests=ALL_TRUSTED,BAYES_00,
	BODY_INCLUDES_CONTROL_AFFECTS,BODY_INCLUDES_PACKAGE,DKIMWL_WL_HIGH,
	DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FOURLA,
	FROMDEVELOPER,GMAIL,HAS_PACKAGE,MD5_SHA1_SUM,SPF_HELO_NONE,SPF_PASS,
	USER_IN_DKIM_WELCOMELIST,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, 18; hammy, 150; neutral, 284; spammy,
	0. spammytokens:
	hammytokens:0.000-+--Hx-spam-relays-external:sk:stravin,
	0.000-+--H*RT:sk:stravin, 0.000-+--Hx-spam-relays-external:311,
	0.000-+--H*RT:311, 0.000-+--H*RT:108
Return-path: <hmc@debian.org>
Received: from stravinsky.debian.org ([2001:41b8:202:deb::311:108]:54326)
	by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
	(Exim 4.96)
	(envelope-from <hmc@debian.org>)
	id 1xFsJ9-00AosV-14
	for submit@bugs.debian.org;
	Sun, 11 Oct 2026 12:05:38 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org;
	s=smtpauto.stravinsky; h=X-Debian-User:Date:Message-ID:Subject:To:From:
	MIME-Version:Content-Type:Reply-To:Cc:Content-Transfer-Encoding:Content-ID:
	Content-Description:In-Reply-To:References;
	bh=G4vOqPLt9Ut4jbQ1E0w/68B3QDPWawi5tjF8AGwuFg8=; b=ViqfkOhlod2R9r+VK71IQND5Rx
	LkFUyRLqxKHiAissuFQfpGEinFk+Mo5W95RwhN8hQSxFoqNHiob4NWN5k4zm9yTJhUgrO1UmKIZmo
	bD1/oyeB0KX/28WT+5tZ9SIJKBWvcvt+A00O105LOEQak84IHoFiyUuSbMSEBzFwNBiEpduYb64EZ
	5DclRuKAIscQ25TMfIjQwqPnh70Fr/nwuLUCuOBVxgwIHq+Wy7zoqyRYdhc+a67ZN7BhMnJFpnzzN
	Xa0ZKuURjM2eVE6N0d6g6tfJxE/68bsLKi0ftacw+fFZ8LhBH9bgSlyaG56sccYopar04fTBYXj/i
	rsB6hBHQ==;
Received: from authenticated-user
	by stravinsky.debian.org with esmtpsa (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
	(Exim 4.96)
	(envelope-from <hmc@debian.org>)
	id 1xFsJ5-0024IB-0U;
	Sun, 11 Oct 2026 12:05:37 +0000
Content-Type: multipart/mixed; boundary="===============3717885507906588974=="
MIME-Version: 1.0
From: Hugh McMaster <hmc@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: bookworm-pu: package freetype/2.12.1+dfsg-5+deb12u5
Message-ID: <179172033070.57636.6790062579252896736.reportbug@debian>
X-Mailer: reportbug 13.2.0+nmu1
Date: Sun, 11 Oct 2026 23:05:30 +1100
X-Debian-User: hmc
Delivered-To: submit@bugs.debian.org

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


--===============3717885507906588974==
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: bookworm
X-Debbugs-Cc: freetype@packages.debian.org
Control: affects -1 + src:freetype
User: release.debian.org@packages.debian.org
Usertags: pu

[ Reason ]
CVE-2026-95512: Prevent denial of service via repeated subroutine allocations
in the CID font loader.

Crafted CID fonts can trigger repeated subroutine allocations and
decryptions across many font dictionaries during face loading,
causing severe memory and CPU exhaustion.

[ Impact ]
A remote attacker could exploit a vulnerability in FreeType's CID font loader
by tricking a user into opening content that embeds or references a specially
crafted CID-keyed font. This crafted font can cause repeated allocations and
decryptions of subroutine data across multiple font dictionaries, leading to
excessive memory and CPU consumption. This can result in a denial of service
(DoS) for the application or service processing the font, potentially causing
it to hang or terminate.

[ Tests ]
Manual testing.

[ Risks ]
The patch was developed by an upstream FreeType developer and verified by
another.

[ 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 ]
This upload adds an upstream patch to fix CVE-2026-95512. It is the same patch
applied to Sid and Forky, and will be applied to Trixie too.

[ Other info ]
Debian Security Team advised no DSA with my agreement.

--===============3717885507906588974==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="freetype_2.12.1+dfsg-5+deb12u5.diff"

diff -Nru freetype-2.12.1+dfsg/debian/changelog freetype-2.12.1+dfsg/debian/changelog
--- freetype-2.12.1+dfsg/debian/changelog	2025-03-15 06:57:00.000000000 +1100
+++ freetype-2.12.1+dfsg/debian/changelog	2026-10-11 22:19:01.000000000 +1100
@@ -1,3 +1,9 @@
+freetype (2.12.1+dfsg-5+deb12u5) bookworm; urgency=medium
+
+  * debian/patches: Fix CVE-2026-95512 (Closes: #1149953).
+
+ -- Hugh McMaster <hmc@debian.org>  Sun, 11 Oct 2026 22:19:01 +1100
+
 freetype (2.12.1+dfsg-5+deb12u4) bookworm-security; urgency=high
 
   * Non-maintainer upload by the Security Team.
diff -Nru freetype-2.12.1+dfsg/debian/patches/CVE-2026-95512.patch freetype-2.12.1+dfsg/debian/patches/CVE-2026-95512.patch
--- freetype-2.12.1+dfsg/debian/patches/CVE-2026-95512.patch	1970-01-01 10:00:00.000000000 +1000
+++ freetype-2.12.1+dfsg/debian/patches/CVE-2026-95512.patch	2026-10-11 22:15:24.000000000 +1100
@@ -0,0 +1,41 @@
+From f3ca71c9900fe860849b3163a6e2c1e765b291d9 Mon Sep 17 00:00:00 2001
+From: Alexei Podtelezhnikov <apodtele@gmail.com>
+Date: Mon, 7 Sep 2026 15:02:23 -0400
+Subject: [PATCH] * src/cid/cidload.c (cid_read_subrs): Limit overlaps.
+
+Overlaps between subroutine dictionaries can be useful but prone to
+abuses. The arbitrary limit can be adjusted in the future. Fixes #1457.
+
+Bug: https://gitlab.freedesktop.org/freetype/freetype/-/work_items/1457
+Bug-Debian: https://bugs.debian.org/1149953
+Last-Update: 2026-10-05
+
+---
+ src/cid/cidload.c | 9 +++++++++
+ 1 file changed, 9 insertions(+)
+
+--- a/src/cid/cidload.c
++++ b/src/cid/cidload.c
+@@ -521,6 +521,7 @@
+     CID_Subrs      subr;
+     FT_UInt        max_offsets = 0;
+     FT_ULong*      offsets = NULL;
++    FT_ULong       cum_len = 0;
+     PSAux_Service  psaux = (PSAux_Service)face->psaux;
+ 
+ 
+@@ -588,6 +589,14 @@
+       /* now, compute the size of subrs charstrings, */
+       /* allocate, and read them                     */
+       data_len = offsets[num_subrs] - offsets[0];
++      cum_len += data_len;
++
++      if ( cum_len / 4 > stream->size )
++      {
++        FT_ERROR(( "cid_read_subrs: excessive overlaps\n" ));
++        error = FT_THROW( Invalid_File_Format );
++        goto Fail;
++      }
+ 
+       if ( FT_QNEW_ARRAY( subr->code, num_subrs + 1 ) ||
+            FT_QALLOC( subr->code[0], data_len )       )
diff -Nru freetype-2.12.1+dfsg/debian/patches/series freetype-2.12.1+dfsg/debian/patches/series
--- freetype-2.12.1+dfsg/debian/patches/series	2025-03-15 06:56:20.000000000 +1100
+++ freetype-2.12.1+dfsg/debian/patches/series	2026-10-11 22:14:37.000000000 +1100
@@ -9,3 +9,4 @@
 disable_COLRv1.patch
 get_colr_glyph_paint.patch
 Minimal-stop-gap-fix-for-CVE-2025-27363.patch
+CVE-2026-95512.patch

--===============3717885507906588974==--

------------=_1794053701-725794-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at 1150614-done) by bugs.debian.org; 7 Nov 2026 12:13: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=-7.2 required=4.0 tests=BAYES_00,DKIM_SIGNED,
	DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,HAS_BUG_NUMBER,
	RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham
	autolearn_force=no version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 17; hammy, 108; neutral, 18; spammy,
	0. spammytokens: hammytokens:0.000-+--bookworm, 0.000-+--H*u:Evolution,
	 0.000-+--H*F:D*adam-barratt.org.uk,
	0.000-+--H*rp:D*adam-barratt.org.uk, 0.000-+--H*M:barratt
Return-path: <adam@adam-barratt.org.uk>
Received: from adsbarratt.vs.mythic-beasts.com ([2a00:1098:86:f9::1]:53870)
	by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
	(Exim 4.96)
	(envelope-from <adam@adam-barratt.org.uk>)
	id 1xPfIZ-0032Qq-2C
	for 1150614-done@bugs.debian.org;
	Sat, 07 Nov 2026 12:13:32 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
	d=adam-barratt.org.uk; s=ab20190809; h=MIME-Version:Content-Transfer-Encoding
	:Content-Type:References:In-Reply-To:Date:To:From:Subject:Message-ID:Sender:
	Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From:
	Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:
	List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive;
	bh=UzXlAVRv132JFBdot1cuegIeCJBndqzljW4b0CzidR0=; b=fXhZHQF/oJ7EbZ5g/LnNrWRU5t
	oCR7N1pqFUsXiCqAkAmUNH4xRyPDaicHam+2z7DR6bZEPkBE/QzfbixaYGDW5sRr8sP1LTzROTEDa
	C7NoiDyShtq+x7PcYTfSFfYbS01pCQyMHNeuBRspkNc8sf3EZwI/50KnKzYz8YzmXh8BP3Lt/+uys
	iB5HbFYWoHgcR+0A/kA1ECEjCsqtrNpi/dKL7wlHZyMIBgKAnraNvJUSNAWjDrLL3iXkhiCmsMZkk
	ar9oJvcR9VqSSAJwUCfi/FJLjrzsGtHx+FArsFGCYrQaVvqDvLEmuBKBSE0vAqK9jRJ1JL0mwalLL
	pnXzQ4EA==;
Received: from [212.187.182.164] (port=60134 helo=darzee)
	by adsbarratt.vs.mythic-beasts.com with esmtp (Exim 4.96 #2 (Debian))
	(envelope-from <adam@adam-barratt.org.uk>)
	id 1xPfIU-001B5C-32;
	Sat, 07 Nov 2026 12:13:27 +0000
Received: from [::1]
	by darzee with esmtp (Exim 4.96)
	(envelope-from <adam@adam-barratt.org.uk>)
	id 1xPfIU-00B4Do-2E;
	Sat, 07 Nov 2026 12:13:26 +0000
Message-ID: <3a2ad004ad3ecf088c573dfa29005c9c11ff476a.camel@adam-barratt.org.uk>
Subject: Re: Bug#1150614: bookworm-pu: package freetype/2.12.1+dfsg-5+deb12u5
From: "Adam D. Barratt" <adam@adam-barratt.org.uk>
To: Hugh McMaster <hmc@debian.org>, 1150614-done@bugs.debian.org
Date: Sat, 07 Nov 2026 12:13:16 +0000
In-Reply-To: <179172033070.57636.6790062579252896736.reportbug@debian>
References: <179172033070.57636.6790062579252896736.reportbug@debian>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
User-Agent: Evolution 3.46.4-2+deb12u1 
MIME-Version: 1.0
X-ADSB-Scan-Signature: 01191a5d7f49a28571b6981b779cbf87

On Sun, 2026-10-11 at 23:05 +1100, Hugh McMaster wrote:
> Package: release.debian.org
> Severity: normal
> Tags: bookworm

SRM haven't managed bookworm for a few months now. Please co-ordinate
any potential updates to bookwork with the LTS Team.

Regards,

Adam
------------=_1794053701-725794-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