Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2019-20326

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2019-20326
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 09:05 UTC · Revision 1

Source evidence

CVE-2019-20326

core-osv · Original source

Published 16 Mar 2020, 22:15 UTC

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.

osv:CVE-2019-20326
Complete source record
{
  "id": "c72fe75ac70e90815d4004067328e5f78c598fb9bddf8b32a44790d3c3f54253",
  "url": "https://osv.dev/vulnerability/CVE-2019-20326",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2019-20326",
    "summary": "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.",
    "evidence": "osv:CVE-2019-20326",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2019-20326",
      "aliases": [
        "CVE-2019-20326"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/gnome/gthumb",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "ca8f528209ab78935c30e42fe53bdf1a24f3cb44"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:gnome:gthumb:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "3.8.3"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "3.8.2",
            "3.8.1",
            "3.8.0",
            "3.7.2",
            "3.7.1",
            "3.6.1",
            "3.6.0",
            "3.5.4",
            "3.5.3",
            "3.5.2",
            "3.5.1",
            "3.4.1",
            "3.4.0",
            "3.3.4",
            "3.3.3",
            "3.3.2",
            "3.2.0",
            "3.1.4",
            "3.1.3",
            "3.1.2",
            "3.1.1",
            "3.0.1",
            "3.0.0",
            "2.90.3",
            "2.90.2",
            "2.90.1",
            "2.13.91",
            "2.13.90",
            "2.13.3",
            "2.13.2",
            "GTHUMB_2_13_1",
            "GTHUMB_2_12_0",
            "GTHUMB_2_11_92",
            "GTHUMB_2_11_91",
            "GTHUMB_2_11_90",
            "GTHUMB_2_11_6",
            "GTHUMB_2_11_5",
            "GTHUMB_2_11_4",
            "GTHUMB_2_11_3",
            "GTHUMB_2_11_2_1",
            "GTHUMB_2_11_2",
            "GTHUMB_2_11_1",
            "GTHUMB_2_10_1",
            "GTHUMB_2_10_0",
            "GTHUMB_2_9_3",
            "GTHUMB_2_9_2",
            "GTHUMB_2_9_1",
            "GTHUMB_2_7_9",
            "GTHUMB_2_7_8",
            "GTHUMB_2_7_7",
            "GTHUMB_2_7_6",
            "GTHUMB_2_7_5_1",
            "GTHUMB_2_7_5",
            "GTHUMB_2_7_4",
            "GTHUMB_2_7_3",
            "GTHUMB_2_4_0",
            "start"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-20326.json"
          }
        },
        {
          "ranges": [
            {
              "repo": "https://github.com/linuxmint/pix",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "60e4d161aa6c58b5355bc285a6d0a06ee04a4991"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:linuxmint:pix:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "2.4.5"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "2.4.4",
            "2.4.3",
            "2.4.2",
            "2.4.1",
            "2.4.0",
            "2.2.1",
            "2.2.0",
            "2.0.3",
            "2.0.2",
            "2.0.1",
            "2.0.0",
            "1.8.2",
            "1.8.1",
            "1.8.0",
            "master.mint18",
            "1.6.2",
            "1.6.1",
            "1.6.0",
            "1.4.5",
            "1.4.4",
            "1.4.3",
            "1.4.2",
            "1.4.1",
            "1.4.0",
            "1.2.1",
            "1.2.0",
            "1.0.6",
            "1.0.5",
            "1.0.4",
            "1.0.3",
            "1.0.2",
            "1.0.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-20326.json"
          }
        },
        {
          "ranges": [
            {
              "repo": "https://gitlab.gnome.org/gnome/gthumb",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "4faa5ce2358812d23a1147953ee76f59631590ad"
                },
                {
                  "fixed": "ca8f528209ab78935c30e42fe53bdf1a24f3cb44"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "fixed": "4faa5ce2358812d23a1147953ee76f59631590ad"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "ca8f528209ab78935c30e42fe53bdf1a24f3cb44"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "3.8.2",
            "3.8.1",
            "3.8.0",
            "3.7.2",
            "3.7.1",
            "3.6.1",
            "3.6.0",
            "3.5.4",
            "3.5.3",
            "3.5.2",
            "3.5.1",
            "3.4.1",
            "3.4.0",
            "3.3.4",
            "3.3.3",
            "3.3.2",
            "3.2.0",
            "3.1.4",
            "3.1.3",
            "3.1.2",
            "3.1.1",
            "3.0.1",
            "3.0.0",
            "2.90.3",
            "2.90.2",
            "2.90.1",
            "2.13.91",
            "2.13.90",
            "2.13.3",
            "2.13.2",
            "GTHUMB_2_13_1",
            "GTHUMB_2_12_0",
            "GTHUMB_2_11_92",
            "GTHUMB_2_11_91",
            "GTHUMB_2_11_90",
            "GTHUMB_2_11_6",
            "GTHUMB_2_11_5",
            "GTHUMB_2_11_4",
            "GTHUMB_2_11_3",
            "GTHUMB_2_11_2_1",
            "GTHUMB_2_11_2",
            "GTHUMB_2_11_1",
            "GTHUMB_2_10_1",
            "GTHUMB_2_10_0",
            "GTHUMB_2_9_3",
            "GTHUMB_2_9_2",
            "GTHUMB_2_9_1",
            "GTHUMB_2_7_9",
            "GTHUMB_2_7_8",
            "GTHUMB_2_7_7",
            "GTHUMB_2_7_6",
            "GTHUMB_2_7_5_1",
            "GTHUMB_2_7_5",
            "GTHUMB_2_7_4",
            "GTHUMB_2_7_3",
            "GTHUMB_2_4_0",
            "start"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-20326.json",
            "vanir_signatures": [
              {
                "id": "CVE-2019-20326-7e6b8481",
                "digest": {
                  "length": 8044,
                  "function_hash": "190570146874380948005349743122422906983"
                },
                "source": "https://gitlab.gnome.org/gnome/gthumb@4faa5ce2358812d23a1147953ee76f59631590ad",
                "target": {
                  "file": "extensions/cairo_io/cairo-image-surface-jpeg.c",
                  "function": "_cairo_image_surface_create_from_jpeg"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2019-20326-e2c1f3c6",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "119438977438693461586803994384772530619",
                    "35480740089566270441978501549344572455",
                    "71838117151021891516671634119327474900",
                    "217176081343619004235656596112380682561",
                    "205033367727630419954142509132989122390",
                    "143010593354799700167530627847400656740",
                    "149320870513665802398502119708311684098",
                    "17475053439708773680783958071435119823",
                    "303870756471842143342079490926129850173",
                    "153048170157115873281206117439286798967",
                    "83624499265539377306288489177279371166",
                    "206214604271297775734010960376675665223",
                    "208741833267028193460264524786318343454",
                    "72645997754060486035610160453070481149",
                    "38131006209269867587344459051192266802",
                    "89972704049667351032153708917157786752",
                    "303870756471842143342079490926129850173",
                    "153048170157115873281206117439286798967",
                    "83624499265539377306288489177279371166",
                    "206214604271297775734010960376675665223",
                    "159633334276651413161869510554762467033",
                    "72645997754060486035610160453070481149",
                    "38131006209269867587344459051192266802",
                    "89972704049667351032153708917157786752",
                    "303870756471842143342079490926129850173",
                    "153048170157115873281206117439286798967",
                    "83624499265539377306288489177279371166",
                    "206214604271297775734010960376675665223",
                    "190849595097629602552183065200181229011",
                    "72645997754060486035610160453070481149",
                    "38131006209269867587344459051192266802",
                    "89972704049667351032153708917157786752",
                    "303870756471842143342079490926129850173",
                    "153048170157115873281206117439286798967",
                    "83624499265539377306288489177279371166",
                    "206214604271297775734010960376675665223",
                    "190849595097629602552183065200181229011",
                    "72645997754060486035610160453070481149",
                    "38131006209269867587344459051192266802",
                    "89972704049667351032153708917157786752",
                    "303870756471842143342079490926129850173",
                    "153048170157115873281206117439286798967",
                    "83624499265539377306288489177279371166",
                    "206214604271297775734010960376675665223",
                    "208741833267028193460264524786318343454",
                    "72645997754060486035610160453070481149",
                    "38131006209269867587344459051192266802",
                    "89972704049667351032153708917157786752"
                  ]
                },
                "source": "https://gitlab.gnome.org/gnome/gthumb@4faa5ce2358812d23a1147953ee76f59631590ad",
                "target": {
                  "file": "extensions/cairo_io/cairo-image-surface-jpeg.c"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-24T14:06:25Z"
          }
        }
      ],
      "modified": "2026-10-24T14:06:25.760442725Z",
      "provider": "osv",
      "references": [
        "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://lists.debian.org/debian-lts-announce/2021/08/msg00027.html",
        "https://security.gentoo.org/glsa/202008-05",
        "https://gitlab.gnome.org/GNOME/gthumb/commit/4faa5ce2358812d23a1147953ee76f59631590ad",
        "https://github.com/Fysac/CVE-2019-20326"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "debian:debian_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "9.0"
                  },
                  {
                    "last_affected": "9.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2019-20326",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 443041,
  "published_at": "2020-03-16T22:15:14.59+00:00"
}