Article View: linux.debian.bugs.dist
Article #4093Bug#1153604: fltk1.3: CVE-2026-116723 CVE-2026-116724
From: Aaron M. Ucko
Date: Wed, 11 Nov 2026 03:20
Date: Wed, 11 Nov 2026 03:20
124 lines
6510 bytes
6510 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.3.
Thanks for the report! I expect the practical impact will be low
(particularly given that dillo bypasses libfltk-images1.3t64) but have
prepared security updates for both bookworm (oldstable) and trixie
(stable) per the attached debdiffs; should I proceed with uploads 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.3_1.3.8-5+deb12u1.debdiff
diff -Nru fltk1.3-1.3.8/debian/changelog fltk1.3-1.3.8/debian/changelog
--- fltk1.3-1.3.8/debian/changelog 2022-09-07 23:16:48.000000000 -0400
+++ fltk1.3-1.3.8/debian/changelog 2026-11-10 21:22:10.000000000 -0500
@@ -1,3 +1,10 @@
+fltk1.3 (1.3.8-5+deb12u1) bookworm-security; urgency=medium
+
+ * src/Fl_BMP_Image.cxx: Backport upstream buffer and integer overflow
+ fixes (CVE-2026-116723, CVE-2026-116724). (Closes: #1153604.)
+
+ -- Aaron M. Ucko <ucko@debian.org> Tue, 10 Nov 2026 21:22:10 -0500
+
fltk1.3 (1.3.8-5) unstable; urgency=medium
* debian/fix-fltk-targets: Report command lines, which are now dynamic.
diff -Nru fltk1.3-1.3.8/debian/patches/debian-changes fltk1.3-1.3.8/debian/patches/debian-changes
--- fltk1.3-1.3.8/debian/patches/debian-changes 2022-09-07 23:16:48.000000000 -0400
+++ fltk1.3-1.3.8/debian/patches/debian-changes 2026-11-10 21:22:10.000000000 -0500
@@ -875,6 +875,29 @@
# Build commands and filename extensions...
.SUFFIXES: .0 .1 .3 .6 .c .cxx .mm .h .fl .man .o .z $(EXEEXT)
+--- fltk1.3-1.3.8.orig/src/Fl_BMP_Image.cxx
++++ fltk1.3-1.3.8/src/Fl_BMP_Image.cxx
+@@ -179,6 +179,11 @@ Fl_BMP_Image::Fl_BMP_Image(const char *b
+ if (colors_used == 0 && depth <= 8)
+ colors_used = 1 << depth;
+
++ if (colors_used > 256) {
++ ld(ERR_FORMAT);
++ return;
++ }
++
+ for (repcount = 0; repcount < colors_used; repcount ++) {
+ // Read BGR color...
+ if (fread(colormap[repcount], 1, 3, fp)==0) { /* ignore */ }
+@@ -205,7 +210,7 @@ Fl_BMP_Image::Fl_BMP_Image(const char *b
+ w(0); h(0); d(0); ld(ERR_FORMAT);
+ return;
+ }
+- array = new uchar[w() * h() * d()];
++ array = new uchar[(size_t)w() * h() * d()];
+ alloc_array = 1;
+
+ // Read the image data...
--- fltk1.3-1.3.8.orig/src/Makefile
+++ fltk1.3-1.3.8/src/Makefile
@@ -217,6 +217,9 @@ UTF8CFILES = \
--=-=-=
Content-Type: text/x-patch
Content-Disposition: attachment; filename=fltk1.3_1.3.11-2+deb13u1.debdiff
diff -Nru fltk1.3-1.3.11/debian/changelog fltk1.3-1.3.11/debian/changelog
--- fltk1.3-1.3.11/debian/changelog 2025-04-30 21:41:08.000000000 -0400
+++ fltk1.3-1.3.11/debian/changelog 2026-11-10 21:17:44.000000000 -0500
@@ -1,3 +1,10 @@
+fltk1.3 (1.3.11-2+deb13u1) trixie-security; urgency=medium
+
+ * src/Fl_BMP_Image.cxx: Backport upstream buffer and integer overflow
+ fixes (CVE-2026-116723, CVE-2026-116724). (Closes: #1153604.)
+
+ -- Aaron M. Ucko <ucko@debian.org> Tue, 10 Nov 2026 21:17:44 -0500
+
fltk1.3 (1.3.11-2) unstable; urgency=medium
* debian/control: Drop fluid (in favor of fltk1.4's) on hurd-any too,
diff -Nru fltk1.3-1.3.11/debian/patches/debian-changes fltk1.3-1.3.11/debian/patches/debian-changes
--- fltk1.3-1.3.11/debian/patches/debian-changes 2025-04-30 21:41:08.000000000 -0400
+++ fltk1.3-1.3.11/debian/patches/debian-changes 2026-11-10 21:17:44.000000000 -0500
@@ -862,6 +862,29 @@
# Build commands and filename extensions...
.SUFFIXES: .0 .1 .3 .6 .c .cxx .mm .h .fl .man .o .z $(EXEEXT)
+--- fltk1.3-1.3.11.orig/src/Fl_BMP_Image.cxx
++++ fltk1.3-1.3.11/src/Fl_BMP_Image.cxx
+@@ -179,6 +179,11 @@ Fl_BMP_Image::Fl_BMP_Image(const char *b
+ if (colors_used == 0 && depth <= 8)
+ colors_used = 1 << depth;
+
++ if (colors_used > 256) {
++ ld(ERR_FORMAT);
++ return;
++ }
++
+ for (repcount = 0; repcount < colors_used; repcount ++) {
+ // Read BGR color...
+ if (fread(colormap[repcount], 1, 3, fp)==0) { /* ignore */ }
+@@ -205,7 +210,7 @@ Fl_BMP_Image::Fl_BMP_Image(const char *b
+ w(0); h(0); d(0); ld(ERR_FORMAT);
+ return;
+ }
+- array = new uchar[w() * h() * d()];
++ array = new uchar[(size_t)w() * h() * d()];
+ alloc_array = 1;
+
+ // Read the image data...
--- fltk1.3-1.3.11.orig/src/Makefile
+++ fltk1.3-1.3.11/src/Makefile
@@ -217,6 +217,9 @@ UTF8CFILES = \
--=-=-=--
Technical Details
Message-ID:
<NY72p-b923-1@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomodReferences:
<NXRTH-b0fx-15@gated-at.bofh.it> <NXRTH-b0fx-15@gated-at.bofh.it>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod From: "Aaron M. Ucko" <ucko@debian.org> Newsgroups: linux.debian.bugs.dist Subject: Bug#1153604: fltk1.3: CVE-2026-116723 CVE-2026-116724 Date: Wed, 11 Nov 2026 04:20:01 +0100 Message-ID: <NY72p-b923-1@gated-at.bofh.it> References: <NXRTH-b0fx-15@gated-at.bofh.it> <NXRTH-b0fx-15@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>, 1153604@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: team+fltk@tracker.debian.org X-Debian-Pr-Message: followup 1153604 X-Debian-Pr-Package: src:fltk1.3 X-Debian-Pr-Keywords: security upstream X-Debian-Pr-Source: fltk1.3 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/2001959 List-ID: <debian-bugs-dist.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-dist/> Approved: robomod@news.nic.it Lines: 124 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Cc: 1153604@bugs.debian.org X-Original-Date: Tue, 10 Nov 2026 22:08:51 -0500 X-Original-Message-ID: <udla4ngm5do.fsf@ucko.debian.net> X-Original-References: <avL6Vtd0cC0BOPMe@pisco.westfalen.local> <avL6Vtd0cC0BOPMe@pisco.westfalen.local>