Skip to content

Commit df2b42e

Browse files
d/gdk-pixbuf: security update to 2.44.6+dfsg-1 (CVE-2026-5201)
Source: https://salsa.debian.org/gnome-team/gdk-pixbuf/-/tree/debian/2.44.6+dfsg-1 CVE-2026-5201: JPEG loader heap buffer overflow via improper validation of color component counts
1 parent 72845fb commit df2b42e

6 files changed

Lines changed: 121 additions & 7 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
/subprojects/*/
2+
.pc/

debian/changelog

Lines changed: 107 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,110 @@
1+
gdk-pixbuf (2.44.6+dfsg-1) unstable; urgency=high
2+
3+
* New upstream release
4+
- CVE-2026-5201 Heap overflow via improper validation of color
5+
component counts (Closes: #1132501)
6+
* Remove test patch applied in new release
7+
* Remove transitional libgdk-pixbuf2.0-0-udeb
8+
* Update Standards Version to 4.7.4
9+
10+
-- Jeremy Bícha <jbicha@ubuntu.com> Thu, 02 Apr 2026 14:04:10 -0400
11+
12+
gdk-pixbuf (2.44.5+dfsg-4) unstable; urgency=medium
13+
14+
* Add patch to support JPEG2000 (Closes: #815612)
15+
* Bump minimum glycin to 2.0.8 for this to work
16+
17+
-- Jeremy Bícha <jbicha@ubuntu.com> Sat, 14 Feb 2026 10:24:34 -0500
18+
19+
gdk-pixbuf (2.44.5+dfsg-3) unstable; urgency=medium
20+
21+
* Re-enable glycin for loong64
22+
* Release to unstable
23+
24+
-- Jeremy Bícha <jbicha@ubuntu.com> Mon, 09 Feb 2026 07:00:40 -0500
25+
26+
gdk-pixbuf (2.44.5+dfsg-2) experimental; urgency=medium
27+
28+
[ Alessandro Astone ]
29+
* d/control, d/rules: Enable glycin on i386
30+
31+
[ Carlos Henrique Lima Melara ]
32+
* d/rules: remove useless if clause in dh_auto_test override
33+
34+
[ Jeremy Bícha ]
35+
* Disable glycin for loong64 because it isn't fully bootstrapped yet.
36+
glycin is now enabled on all other Debian Release Architectures, but not
37+
enabled on any Debian ports.
38+
* Bump Standards Version to 4.7.3
39+
40+
[ Simon McVittie ]
41+
* Opt into Salsa CI
42+
43+
-- Jeremy Bícha <jbicha@ubuntu.com> Thu, 05 Feb 2026 13:50:28 -0500
44+
45+
gdk-pixbuf (2.44.5+dfsg-1) experimental; urgency=medium
46+
47+
* New upstream release
48+
* d/rules: Re-enable build test gating
49+
* d/p: Rebase patches
50+
* d/patches: Fix tests with older gdk-pixbuf installed in the rootfs
51+
* d/patches: Use the native xpm and xbm loaders instead of glycin
52+
53+
-- Alessandro Astone <alessandro.astone@canonical.com> Thu, 29 Jan 2026 10:56:51 +0100
54+
55+
gdk-pixbuf (2.44.4+dfsg-3) experimental; urgency=medium
56+
57+
* Enable the legacy non-glycin XPM & XBM loaders for glycin architectures
58+
(Closes: #1120607)
59+
60+
-- Jeremy Bícha <jbicha@ubuntu.com> Wed, 12 Nov 2025 22:37:30 -0500
61+
62+
gdk-pixbuf (2.44.4+dfsg-2) experimental; urgency=medium
63+
64+
* Switch to glycin for release architectures and loong64 except i386
65+
(Closes: #1116981, #1071271) (LP: #2122289)
66+
* Depend on glycin-thumbnailers on those architectures
67+
* libgdk-pixbuf2.0-bin no longer contains a thumbnailer on those
68+
architectures, but still contains gdk-pixbuf-pixdata and
69+
gdk-pixbuf-csource, so stop recommending it on those architectures
70+
* Use dh-exec to manage architecture-specific install rules
71+
* Follow Fedora's example and disable auto features
72+
73+
-- Jeremy Bícha <jbicha@ubuntu.com> Wed, 12 Nov 2025 07:06:13 -0500
74+
75+
gdk-pixbuf (2.44.4+dfsg-1) unstable; urgency=medium
76+
77+
* New upstream release
78+
* Remove bitmap patch applied in new release
79+
80+
-- Jeremy Bícha <jbicha@ubuntu.com> Tue, 21 Oct 2025 13:28:37 -0400
81+
82+
gdk-pixbuf (2.44.3+dfsg-3) unstable; urgency=medium
83+
84+
* Cherry-pick proposed patch to fix bitmap loading, as seen in
85+
the window buttons feature for the Xfce panel
86+
87+
-- Jeremy Bícha <jbicha@ubuntu.com> Wed, 01 Oct 2025 14:37:38 -0400
88+
89+
gdk-pixbuf (2.44.3+dfsg-2) unstable; urgency=medium
90+
91+
* Release to unstable
92+
93+
-- Jeremy Bícha <jbicha@ubuntu.com> Wed, 01 Oct 2025 06:45:40 -0400
94+
95+
gdk-pixbuf (2.44.3+dfsg-1) experimental; urgency=medium
96+
97+
* New upstream release
98+
* Update configure options
99+
- Don't switch to glycin yet
100+
- Explicitly disable native Android loader
101+
- Disable tiff for udeb
102+
- Disable thumbnailer for udeb
103+
- Keep jpeg & png as "built-in" loaders since that was the previous default
104+
* Remove 3 patches applied in new release
105+
106+
-- Jeremy Bícha <jbicha@ubuntu.com> Tue, 30 Sep 2025 13:45:03 -0400
107+
1108
gdk-pixbuf (2.42.12+dfsg-5) unstable; urgency=medium
2109

3110
* Team upload

gdk-pixbuf/lzw.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ lzw_decoder_feed (LZWDecoder *self,
208208
/* Invalid code received - just stop here */
209209
if (self->code >= self->code_table_size) {
210210
self->last_code = self->eoi_code;
211-
return output_length;
211+
return n_written;
212212
}
213213

214214
/* Convert codeword into indexes */

gdk-pixbuf/meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ pkgconfig.generate(
380380
'gdk_pixbuf_cache_file=${gdk_pixbuf_binarydir}/loaders.cache',
381381
'gdk_pixbuf_csource=${bindir}/gdk-pixbuf-csource',
382382
'gdk_pixbuf_pixdata=${bindir}/gdk-pixbuf-pixdata',
383-
'gdk_pixbuf_query_loaders=${bindir}/gdk-pixbuf-query-loaders',
383+
'gdk_pixbuf_query_loaders=${libdir}/@0@/gdk-pixbuf-query-loaders'.format(gdk_pixbuf_api_name),
384384
],
385385
requires: 'gobject-2.0',
386386
subdirs: gdk_pixbuf_api_name,

tests/meson.build

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ installed_tests = {
7272
},
7373
'pixbuf-fail': { 'suites': ['conform', 'slow'], },
7474
'pixbuf-icon-serialize': { 'suites': ['conform'], },
75-
'pixbuf-randomly-modified': { 'suites': ['slow'], },
75+
'pixbuf-randomly-modified': { 'suites': ['slow', 'flaky'], },
7676
'pixbuf-threads': { 'suites': ['io'], },
7777
'pixbuf-gif': {
7878
'suites': ['io'],
@@ -138,7 +138,6 @@ test_data = [
138138
'bug143608-comment.jpg',
139139
'bug725582-testrotate.jpg',
140140
'bug725582-testrotate.png',
141-
'bug753605-atsize.jpg',
142141
'cve-2015-4491.bmp',
143142
'large.png',
144143
'large.jpg',

tests/pixbuf-jpeg.c

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,12 @@ test_at_size (void)
127127
return;
128128
}
129129

130+
if (!g_file_test (g_test_get_filename (G_TEST_DIST, "bug753605-atsize.jpg", NULL), G_FILE_TEST_EXISTS))
131+
{
132+
g_test_skip ("non-free test data removed");
133+
return;
134+
}
135+
130136
ref = gdk_pixbuf_new_from_file (g_test_get_filename (G_TEST_DIST, "bug753605-atsize.jpg", NULL), &error);
131137
g_assert_no_error (error);
132138
g_object_unref (ref);
@@ -196,10 +202,11 @@ test_jpeg_fbfbfbfb (void)
196202
g_assert_no_error (error);
197203

198204
gdk_pixbuf_loader_close (loader, &error);
199-
g_assert_error (error, GDK_PIXBUF_ERROR, GDK_PIXBUF_ERROR_CORRUPT_IMAGE);
200205

201-
pixbuf = gdk_pixbuf_loader_get_pixbuf (loader);
202-
g_assert_nonnull (pixbuf);
206+
if (error != NULL && error->domain == GDK_PIXBUF_ERROR && error->code == GDK_PIXBUF_ERROR_INSUFFICIENT_MEMORY)
207+
g_test_message ("OK: failed reporting insufficient memory: %s", error->message);
208+
else
209+
g_assert_error (error, GDK_PIXBUF_ERROR, GDK_PIXBUF_ERROR_CORRUPT_IMAGE);
203210

204211
g_object_unref (loader);
205212
g_free (contents);

0 commit comments

Comments
 (0)