🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.devel.release
5 messages
5 total messages Started by Hugh McMaster Sun, 11 Oct 2026 12:10
Bug#1150613: trixie-pu: package freetype/2.13.3+dfsg-1+deb13u2
#26
Author: Hugh McMaster
Date: Sun, 11 Oct 2026 12:10
133 lines
6548 bytes
This is a multi-part MIME message sent by reportbug.


--===============4396479581616461134==
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: 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.

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

--===============4396479581616461134==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="freetype_2.13.3+dfsg-1+deb13u2.diff"

diff -Nru freetype-2.13.3+dfsg/debian/changelog freetype-2.13.3+dfsg/debian/changelog
--- freetype-2.13.3+dfsg/debian/changelog	2026-03-18 07:21:54.000000000 +1100
+++ freetype-2.13.3+dfsg/debian/changelog	2026-10-11 21:53:20.000000000 +1100
@@ -1,3 +1,9 @@
+freetype (2.13.3+dfsg-1+deb13u2) trixie; urgency=medium
+
+  * debian/patches: Fix CVE-2026-95512 (Closes: #1149953).
+
+ -- Hugh McMaster <hmc@debian.org>  Sun, 11 Oct 2026 21:53:20 +1100
+
 freetype (2.13.3+dfsg-1+deb13u1) trixie-security; urgency=medium
 
   * CVE-2026-23865 (Closes: #1129606)
diff -Nru freetype-2.13.3+dfsg/debian/patches/CVE-2026-95512.patch freetype-2.13.3+dfsg/debian/patches/CVE-2026-95512.patch
--- freetype-2.13.3+dfsg/debian/patches/CVE-2026-95512.patch	1970-01-01 10:00:00.000000000 +1000
+++ freetype-2.13.3+dfsg/debian/patches/CVE-2026-95512.patch	2026-10-11 21:48:07.000000000 +1100
@@ -0,0 +1,46 @@
+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(+)
+
+diff --git a/src/cid/cidload.c b/src/cid/cidload.c
+index 1a0e6b156..b9ab1b9e0 100644
+--- a/src/cid/cidload.c
++++ b/src/cid/cidload.c
+@@ -517,6 +517,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;
+ 
+ 
+@@ -584,6 +585,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 )       )
+-- 
+GitLab
+
diff -Nru freetype-2.13.3+dfsg/debian/patches/series freetype-2.13.3+dfsg/debian/patches/series
--- freetype-2.13.3+dfsg/debian/patches/series	2026-03-18 07:21:34.000000000 +1100
+++ freetype-2.13.3+dfsg/debian/patches/series	2026-10-11 21:48:26.000000000 +1100
@@ -3,3 +3,4 @@
 no-web-fonts.patch
 hide-donations-information.patch
 CVE-2026-23865.patch
+CVE-2026-95512.patch

--===============4396479581616461134==--
Processed: trixie-pu: package freetype/2.13.3+dfsg-1+deb13u2
#67
Author: Debian Bug Tracking System
Date: Sun, 11 Oct 2026 12:10
11 lines
2349 bytes
Processing control commands:

> affects -1 + src:freetype
Bug #1150613 [release.debian.org] trixie-pu: package freetype/2.13.3+dfsg-1+deb13u2
Added indication that 1150613 affects src:freetype

-- 
1150613: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1150613
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
Bug#1150613: freetype 2.13.3+dfsg-1+deb13u2 flagged for acceptance
#524
Author: Adam D Barratt
Date: Sat, 07 Nov 2026 12:30
17 lines
2202 bytes
package release.debian.org
tags 1150613 = trixie pending
thanks

Hi,

The upload referenced by this bug report has been flagged for acceptance into the proposed-updates queue for Debian trixie.

Thanks for your contribution!

Upload details
==============

Package: freetype
Version: 2.13.3+dfsg-1+deb13u2

Explanation: fix denial of service issue [CVE-2026-95512]
Processed: freetype 2.13.3+dfsg-1+deb13u2 flagged for acceptance
#531
Author: Debian Bug Tracking System
Date: Sat, 07 Nov 2026 12:40
19 lines
2402 bytes
Processing commands for control@bugs.debian.org:

> package release.debian.org
Limiting to bugs with field 'package' containing at least one of 'release.debian.org'
Limit currently set to 'package':'release.debian.org'

> tags 1150613 = trixie pending
Bug #1150613 [release.debian.org] trixie-pu: package freetype/2.13.3+dfsg-1+deb13u2
Added tag(s) pending.
> thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
1150613: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1150613
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
Bug#1150613: marked as done (trixie-pu: package freetype/2.13.3+dfsg-1+deb13u2)
#1008
Author: Debian Bug Tracking System
Date: Sat, 21 Nov 2026 09:50
279 lines
13498 bytes
This is a multi-part message in MIME format...

------------=_1795253378-3309253-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-00000008swZ-1KoN@coccia.debian.org>
and subject line Released in 13.8
has caused the Debian Bug report #1150613,
regarding trixie-pu: package freetype/2.13.3+dfsg-1+deb13u2
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
1150613: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D1150613
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

------------=_1795253378-3309253-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at submit) by bugs.debian.org; 11 Oct 2026 12:03:01 +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, 71; hammy, 150; neutral, 238; 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]:58598)
	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 1xFsGc-00AoGv-1I
	for submit@bugs.debian.org;
	Sun, 11 Oct 2026 12:03:01 +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=rg36JLr4MQ1TojeWzZK4vDaKQ2wb3wmAmMUaJmbwnF0=; b=vD2973U8LnRJUZrGT8EQcbHS7R
	MQymnctkpS/EcuWmeEUuuJH/1httU5R9M6+jquylHjdJBwuGVKr54pFmeluWoggt96m052mO/Hi0J
	XzBFJi55Jkk02fF4llBA93gkeD9EkTqhAJJCCuDRvUGLIoQV38mcMqB5BoigyZrWmZ5/GGyTlIm0Z
	P6UzeW79py5oJdaaU90F8lelmWQ6oPS/rk8BbHfWYP2P1r6Mkml00LkGwUe1wwuPiB64hUC+siJBL
	Obdzn1d50U0HDqETpXuAkDn6IaEfruU0csSRQVDw6mDFzwmE6oEcmuoETXrvB+OhyB4SDlcs2nFix
	JOVIY48A==;
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 1xFsGY-00249q-1p;
	Sun, 11 Oct 2026 12:03:00 +0000
Content-Type: multipart/mixed; boundary="===============4396479581616461134=="
MIME-Version: 1.0
From: Hugh McMaster <hmc@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: trixie-pu: package freetype/2.13.3+dfsg-1+deb13u2
Message-ID: <179172016543.56328.15695217987948020367.reportbug@debian>
X-Mailer: reportbug 13.2.0+nmu1
Date: Sun, 11 Oct 2026 23:02:45 +1100
X-Debian-User: hmc
Delivered-To: submit@bugs.debian.org

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


--===============4396479581616461134==
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: 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.

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

--===============4396479581616461134==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="freetype_2.13.3+dfsg-1+deb13u2.diff"

diff -Nru freetype-2.13.3+dfsg/debian/changelog freetype-2.13.3+dfsg/debian/changelog
--- freetype-2.13.3+dfsg/debian/changelog	2026-03-18 07:21:54.000000000 +1100
+++ freetype-2.13.3+dfsg/debian/changelog	2026-10-11 21:53:20.000000000 +1100
@@ -1,3 +1,9 @@
+freetype (2.13.3+dfsg-1+deb13u2) trixie; urgency=medium
+
+  * debian/patches: Fix CVE-2026-95512 (Closes: #1149953).
+
+ -- Hugh McMaster <hmc@debian.org>  Sun, 11 Oct 2026 21:53:20 +1100
+
 freetype (2.13.3+dfsg-1+deb13u1) trixie-security; urgency=medium
 
   * CVE-2026-23865 (Closes: #1129606)
diff -Nru freetype-2.13.3+dfsg/debian/patches/CVE-2026-95512.patch freetype-2.13.3+dfsg/debian/patches/CVE-2026-95512.patch
--- freetype-2.13.3+dfsg/debian/patches/CVE-2026-95512.patch	1970-01-01 10:00:00.000000000 +1000
+++ freetype-2.13.3+dfsg/debian/patches/CVE-2026-95512.patch	2026-10-11 21:48:07.000000000 +1100
@@ -0,0 +1,46 @@
+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(+)
+
+diff --git a/src/cid/cidload.c b/src/cid/cidload.c
+index 1a0e6b156..b9ab1b9e0 100644
+--- a/src/cid/cidload.c
++++ b/src/cid/cidload.c
+@@ -517,6 +517,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;
+ 
+ 
+@@ -584,6 +585,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 )       )
+-- 
+GitLab
+
diff -Nru freetype-2.13.3+dfsg/debian/patches/series freetype-2.13.3+dfsg/debian/patches/series
--- freetype-2.13.3+dfsg/debian/patches/series	2026-03-18 07:21:34.000000000 +1100
+++ freetype-2.13.3+dfsg/debian/patches/series	2026-10-11 21:48:26.000000000 +1100
@@ -3,3 +3,4 @@
 no-web-fonts.patch
 hide-donations-information.patch
 CVE-2026-23865.patch
+CVE-2026-95512.patch

--===============4396479581616461134==--

------------=_1795253378-3309253-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at 1150613-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*m:coccia,
	 0.000-+--H*MI: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]:60832)
	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-00DruV-1q
	for 1150613-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-004if0-1k
	for 1150613-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=Z/eDgn2IuFasE5Cu9g/Sg9Um9t
	vCq8xjfqYJWX1y8kKniIdxIsPY3njXg6MckDBXF+pV6w/+nP0cMVYP5fu+15QdlKdRLhNlQh3O9xc
	dc1teYqLxQfbcPu+m+XSb+yTqZNOtqouXoVjR5LpBsjlFz/WvA9gD864xofiFW1L4MC7g+fAYICfB
	ffzp4458rYHxHjEGe/niP2ISDbduGwZHzkx1QmhJSrLypfjaUO0QIqp9irYJS0qdBhMwJ0tRVv3b3
	8aUOJl2yTqhNQQxFB3xxmJFDjFAR58C417gLCdyVsbC5jnPo8878MF8sM3/hr23PFDgaFDdsI5Lr3
	f7MDTKaw==;
Received: from jmw by coccia.debian.org with local (Exim 4.98.2)
	(envelope-from <jmw@coccia.debian.org>)
	id 1xUhO6-00000008swZ-1KoN
	for 1150613-done@bugs.debian.org;
	Sat, 21 Nov 2026 09:28:02 +0000
To: 1150613-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-00000008swZ-1KoN@coccia.debian.org>
From: Jonathan Wiltshire <jmw@coccia.debian.org>
Date: Sat, 21 Nov 2026 09:28:02 +0000
X-CrossAssassin-Score: 87

Version: 13.8

This update was released as part of 13.8.
------------=_1795253378-3309253-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