🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #4094

Bug#1153605: fltk1.4: CVE-2026-116723 CVE-2026-116724

#4094
From: Aaron M. Ucko
Date: Wed, 11 Nov 2026 03:20
73 lines
4497 bytes
--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Moritz M=C3=BChlenhoff <jmm@inutil.org> writes:

> The following vulnerabilities were published for fltk1.4.

Thanks for the report!  I expect the practical impact will be low
(particularly given that dillo bypasses libfltk-images1.* and moreover
still builds against 1.3 even in unstable) but have prepared a security
update for trixie (stable, into which 1.4 barely squeaked through) per
the attached debdiff; should I proceed with an upload to the security
queue?  (Testing and unstable remain affected too; I'll upload a fix
there soon, but that doesn't require coordination with anyone.)

--=20
Aaron M. Ucko, KB1CJC (amu at alum.mit.edu, ucko at debian.org)
http://www.mit.edu/~amu/ | http://stuff.mit.edu/cgi/finger/?amu@monk.mit.edu

--=-=-=
Content-Type: text/x-patch
Content-Disposition: attachment; filename=fltk1.4_1.4.3-1+deb13u1.debdiff

diff -Nru fltk1.4-1.4.3/debian/changelog fltk1.4-1.4.3/debian/changelog
--- fltk1.4-1.4.3/debian/changelog	2025-04-29 21:00:37.000000000 -0400
+++ fltk1.4-1.4.3/debian/changelog	2026-11-10 21:23:50.000000000 -0500
@@ -1,3 +1,10 @@
+fltk1.4 (1.4.3-1+deb13u1) trixie-security; urgency=medium
+
+  * src/Fl_BMP_Image.cxx: Backport upstream buffer and integer overflow
+    fixes (CVE-2026-116723, CVE-2026-116724).  (Closes: #1153605.)
+
+ -- Aaron M. Ucko <ucko@debian.org>  Tue, 10 Nov 2026 21:23:50 -0500
+
 fltk1.4 (1.4.3-1) unstable; urgency=medium
 
   * Final 1.4.3 (and likely 1.4.x) release, with only formal changes
diff -Nru fltk1.4-1.4.3/debian/patches/debian-changes fltk1.4-1.4.3/debian/patches/debian-changes
--- fltk1.4-1.4.3/debian/patches/debian-changes	2025-04-29 21:00:37.000000000 -0400
+++ fltk1.4-1.4.3/debian/patches/debian-changes	2026-11-10 21:23:50.000000000 -0500
@@ -585,6 +585,29 @@
  
  # Build commands and filename extensions...
  .SUFFIXES:	.0 .1 .3 .6 .c .cxx .mm .h .fl .man .o .z $(EXEEXT)
+--- fltk1.4-1.4.3.orig/src/Fl_BMP_Image.cxx
++++ fltk1.4-1.4.3/src/Fl_BMP_Image.cxx
+@@ -254,6 +254,11 @@ void Fl_BMP_Image::load_bmp_(Fl_Image_Re
+   if (colors_used == 0 && depth <= 8)
+     colors_used = 1 << depth;
+ 
++  if (colors_used > 256) {
++    ld(ERR_FORMAT);
++    return;
++  }
++
+   for (int i = 0; i < colors_used; i++) {
+     // Read BGR color...
+     colormap[i][0] = rdr.read_byte();
+@@ -282,7 +287,7 @@ void Fl_BMP_Image::load_bmp_(Fl_Image_Re
+     ld(ERR_FORMAT);
+     return;
+   }
+-  array = new uchar[width * height * bDepth];
++  array = new uchar[(size_t)width * height * bDepth];
+   alloc_array = 1;
+ 
+   // Read the image data...
 --- fltk1.4-1.4.3.orig/src/Makefile
 +++ fltk1.4-1.4.3/src/Makefile
 @@ -398,6 +398,9 @@ PSCPPFILES = \

--=-=-=--
Technical Details
Message-ID: <NY72q-b923-7@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.corradoroberto.it!diesel.cu.mi.it!bofh.it!news.nic.it!robomod
References: <NXRTH-b0fx-7@gated-at.bofh.it> <NXRTH-b0fx-7@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.corradoroberto.it!diesel.cu.mi.it!bofh.it!news.nic.it!robomod
From: "Aaron M. Ucko" <ucko@debian.org>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1153605: fltk1.4: CVE-2026-116723 CVE-2026-116724
Date: Wed, 11 Nov 2026 04:20:02 +0100
Message-ID: <NY72q-b923-7@gated-at.bofh.it>
References: <NXRTH-b0fx-7@gated-at.bofh.it> <NXRTH-b0fx-7@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Wed Nov 11 03:11:08 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.7
Reply-To: "Aaron M. Ucko" <ucko@debian.org>, 1153605@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: team+fltk@tracker.debian.org
X-Debian-Pr-Message: followup 1153605
X-Debian-Pr-Package: src:fltk1.4
X-Debian-Pr-Keywords: upstream security
X-Debian-Pr-Source: fltk1.4
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
X-Debian-User: ucko
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2001960
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 73
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Cc: 1153605@bugs.debian.org
X-Original-Date: Tue, 10 Nov 2026 22:08:56 -0500
X-Original-Message-ID: <udl8q30m5dj.fsf@ucko.debian.net>
X-Original-References: <avL6b1EMsvXm2tAk@pisco.westfalen.local> <avL6b1EMsvXm2tAk@pisco.westfalen.local>