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
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 <[email protected]>  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

Reply via email to