Description
A heap-based buffer overflow in _cairo_image_surface_create_from_jpeg() in extensions/cairo_io/cairo-image-surface-jpeg.c in GNOME gThumb before 3.8.3 and Linux Mint Pix before 2.4.5 allows attackers to cause a crash and potentially execute arbitrary code via a crafted JPEG file.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | gthumb | 3:3.8.3-0.1 | — |
| Debian 13 | gthumb | 3:3.8.3-0.1 | — |
| Debian 12 | gthumb | 3:3.8.3-0.1 | — |
| Debian 9 | gthumb | 3:3.4.4.1-5+deb9u2 | DLA-2749-1 |
| Debian 8 | gthumb | 3:3.3.1-2.1+deb8u2 | DLA-2066-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | gthumb | 3:3.8.0-2.1ubuntu0.1 | USN-5680-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 18.04 LTS | gthumb | 3:3.6.1-1ubuntu0.1~esm1 | USN-5681-1 |
| Ubuntu Pro 16.04 LTS | gthumb | 3:3.4.3-1ubuntu0.1~esm1 | USN-5681-1 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 1 repository
-
Fysac/CVE-2019-20326 ★ 1 · Jan 3, 2020
Heap buffer overflow in GNOME gThumb and Linux Mint Pix
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 4
- USN-5681-1 gThumb vulnerabilities Ubuntu Security Notices (USN) · Jun 25, 2026
- USN-5680-1 gThumb vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 2026
- DLA-2066-1 gthumb - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-2749-1 gthumb - security update Debian Security (DSA / DLA) · Mar 9, 2026
References
- https://gitlab.gnome.org/GNOME/gthumb/commit/4faa5ce2358812d23a1147953ee76f59631590ad
- https://gitlab.gnome.org/GNOME/gthumb/commit/ca8f528209ab78935c30e42fe53bdf1a24f3cb44
- https://gitlab.gnome.org/GNOME/gthumb/commits/master/extensions/cairo_io/cairo-image-surface-jpeg.c
- https://github.com/Fysac/CVE-2019-20326
- GLSA-202008-05 vendor-advisory
- [debian-lts-announce] 20210829 [SECURITY] [DLA 2749-1] gthumb security update mailing-list