# CVE-2019-20326: A heap-based buffer overflow in cairoimagesurfacecreatefromjpeg() in extensions/cairoio/cairo-image-surface-jpeg.c in GNOME gThumb before 3…

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.19%, higher than 82% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2020-03-16T21:33:36.000Z
- Modified: 2026-06-17T02:30:15.757Z
- Weaknesses: CWE-787
- Assigned by: mitre

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

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- gnome gthumb: before 3.8.3
- linuxmint pix: before 2.4.5
- debian debian_linux: 9.0

## Every score

- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.8 Medium `AV:N/AC:M/Au:N/C:P/I:P/A:P`

## References

- <https://github.com/Fysac/CVE-2019-20326> (exploit, third-party-advisory)
- <https://gitlab.gnome.org/GNOME/gthumb/commit/4faa5ce2358812d23a1147953ee76f59631590ad> (patch, vendor-advisory)
- <https://gitlab.gnome.org/GNOME/gthumb/commit/ca8f528209ab78935c30e42fe53bdf1a24f3cb44> (vendor-advisory)
- <https://gitlab.gnome.org/GNOME/gthumb/commits/master/extensions/cairo_io/cairo-image-surface-jpeg.c> (vendor-advisory)
- <https://security.gentoo.org/glsa/202008-05> (third-party-advisory, vendor-advisory)
- <https://lists.debian.org/debian-lts-announce/2021/08/msg00027.html> (mailing-list, third-party-advisory)

## Sources

- CVE List: [CVE-2019-20326](https://www.cve.org/CVERecord?id=CVE-2019-20326), CVE Terms of Use, modified 2024-08-05
- NVD: [CVE-2019-20326](https://nvd.nist.gov/vuln/detail/CVE-2019-20326), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2019-20326 · Whole record: https://cve.day/CVE-2019-20326.json · Rebuilt by cve.day 2026-11-25T22:57:49.623Z
