🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.bugs.dist
4 messages
4 total messages Started by Moritz Mühlenhoff Tue, 10 Nov 2026 11:10
Bug#1153604: fltk1.3: CVE-2026-116723 CVE-2026-116724
#3986
Author: Moritz Mühlenhoff
Date: Tue, 10 Nov 2026 11:10
42 lines
3197 bytes
Source: fltk1.3
X-Debbugs-CC: team@security.debian.org
Severity: important
Tags: security

Hi,

The following vulnerabilities were published for fltk1.3.

CVE-2026-116723[0]:
| FLTK through 1.4.5 contains a stack-based buffer overflow
| vulnerability in Fl_BMP_Image::load_bmp_() that allows attackers to
| corrupt stack memory by supplying an oversized BMP colors_used
| field. Attackers can craft BMP or ICO files with colors_used above
| 256 to overflow the 768-byte colormap array, causing crashes or
| potential code execution.

https://github.com/fltk/fltk/issues/1632
https://github.com/fltk/fltk/commit/3a049d8262dc759cf9737339420e8457e24c0cb1

CVE-2026-116724[1]:
| FLTK through 1.4.5 contains an integer overflow vulnerability in
| Fl_BMP_Image::load_bmp_() that causes undersized pixel buffer
| allocation from file-supplied width and height. Attackers can supply
| a crafted BMP or ICO file with large dimensions so row decoding
| writes file-derived data past the heap buffer, corrupting the
| application heap.

https://github.com/fltk/fltk/issues/1632
https://github.com/fltk/fltk/commit/3a049d8262dc759cf9737339420e8457e24c0cb1

If you fix the vulnerabilities please also make sure to include the
CVE (Common Vulnerabilities & Exposures) ids in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2026-116723
    https://www.cve.org/CVERecord?id=CVE-2026-116723
[1] https://security-tracker.debian.org/tracker/CVE-2026-116724
    https://www.cve.org/CVERecord?id=CVE-2026-116724

Please adjust the affected versions in the BTS as needed.
Bug#1153604: fltk1.3: CVE-2026-116723 CVE-2026-116724
#4093
Author: Aaron M. Ucko
Date: Wed, 11 Nov 2026 03:20
124 lines
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 = \

--=-=-=--
Bug#1153604: fltk1.3: CVE-2026-116723 CVE-2026-116724
#4137
Author: Salvatore Bonaccorso
Date: Wed, 11 Nov 2026 13:20
24 lines
2833 bytes
Hi Aaron,

On Tue, Nov 10, 2026 at 10:08:51PM -0500, Aaron M. Ucko wrote:
> Moritz Mühlenhoff <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.)

A DSA for those issues are not warranted, we marked them no-dsa in the
tracker. Could you fix them for trixie via the upcoming point release?

bookworm is LTS now, and has no point releases but you can propose the
bookworm debdiff to the LTS Team which might issue a DLA.

Does this help?

Regards,
Salvatore
Bug#1153604: fltk1.3: CVE-2026-116723 CVE-2026-116724
#4336
Author: Aaron M. Ucko
Date: Fri, 13 Nov 2026 04:10
19 lines
2585 bytes
Salvatore Bonaccorso <carnil@debian.org> writes:

> A DSA for those issues are not warranted, we marked them no-dsa in the
> tracker. Could you fix them for trixie via the upcoming point release?

I've filed https://bugs.debian.org/1153875 accordingly.

> bookworm is LTS now, and has no point releases but you can propose the
> bookworm debdiff to the LTS Team which might issue a DLA.

I considered it, but it seems like a long shot.

> Does this help?

Yes, thanks!

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