🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.maint.x
1 messages
1 total messages Started by Salvatore Bonaccorso Sat, 21 Nov 2026 15:50
Bug#1154283: libfontenc: diff for NMU version 1:1.1.8-1.1
#25
Author: Salvatore Bonaccorso
Date: Sat, 21 Nov 2026 15:50
61 lines
3457 bytes
--/mQN9zuJAoz2WGEu
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Control: tags 1154283 + patch
Control: tags 1154283 + pending


Dear maintainer,

I've prepared an NMU for libfontenc (versioned as 1:1.1.8-1.1) and
uploaded it to DELAYED/2. Please feel free to tell me if I
should cancel it.

Regards,
Salvatore

--/mQN9zuJAoz2WGEu
Content-Type: text/x-diff; charset=us-ascii
Content-Disposition: attachment; filename=libfontenc-1.1.8-1.1-nmu.diff

diffstat for libfontenc_1.1.8-1 libfontenc_1.1.8-1.1

 libfontenc-1.1.8/debian/changelog |    8 ++++++++
 src/encparse.c                    |    4 +++-
 2 files changed, 11 insertions(+), 1 deletion(-)

diff -u libfontenc-1.1.8/debian/changelog libfontenc-1.1.8/debian/changelog
--- libfontenc-1.1.8/debian/changelog
+++ libfontenc-1.1.8/debian/changelog
@@ -1,3 +1,11 @@
+libfontenc (1:1.1.8-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * encparse: fix heap out-of-bounds write in setCode() (CVE-2026-109908)
+    (Closes: #1154283)
+
+ -- Salvatore Bonaccorso <carnil@debian.org>  Sat, 21 Nov 2026 16:17:51 +0100
+
 libfontenc (1:1.1.8-1) unstable; urgency=medium
 
   [ Debian Janitor ]
only in patch2:
unchanged:
--- libfontenc-1.1.8.orig/src/encparse.c
+++ libfontenc-1.1.8/src/encparse.c
@@ -455,9 +455,11 @@
     if (row_size == 0)
         index = from;
     else {
-        if ((value1 & 0xFF) >= row_size)
+        if ((from & 0xFF) >= row_size)
             return 0;           /* ignore out of range mappings */
         index = (from >> 8) * row_size + (from & 0xFF);
+        if (index > 0xFFFF)
+            return 0;           /* ignore mappings that exceed the encoding size */
     }
 
     /* Optimize away useless identity mappings.  This is only expected

--/mQN9zuJAoz2WGEu--
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