Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2020-21050

Libsixel prior to v1.8.3 contains a stack buffer overflow in the function gif_process_raster at fromgif.c.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2020-21050
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 12:34 UTC · Revision 1

Source evidence

CVE-2020-21050

core-osv · Original source

Published 14 Sept 2021, 16:15 UTC

Libsixel prior to v1.8.3 contains a stack buffer overflow in the function gif_process_raster at fromgif.c.

osv:CVE-2020-21050
Complete source record
{
  "id": "e3742eca7443527b1d788b3dd3f3ae261eeb8a35e20c3a18e0c06fbad3210fb6",
  "url": "https://osv.dev/vulnerability/CVE-2020-21050",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2020-21050",
    "summary": "Libsixel prior to v1.8.3 contains a stack buffer overflow in the function gif_process_raster at fromgif.c.",
    "evidence": "osv:CVE-2020-21050",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2020-21050",
      "aliases": [
        "CVE-2020-21050"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/saitoha/libsixel",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "9d9d1863f5c96f48d679aa666e915592c5b378d0"
                },
                {
                  "fixed": "7808a06b88c11dbc502318cdd51fa374f8cd47ee"
                },
                {
                  "fixed": "933670340dcd51e41d014d83e8d693688605b773"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:saitoha:libsixel:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "1.8.3"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "7808a06b88c11dbc502318cdd51fa374f8cd47ee"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "933670340dcd51e41d014d83e8d693688605b773"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v1.8.5"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v1.8.2",
            "v1.8.1",
            "v1.8.0",
            "v1.7.3",
            "v1.7.2",
            "v1.7.1",
            "v1.6.1",
            "v1.5.2",
            "v1.5.1",
            "v1.5.0",
            "v1.4.13",
            "v1.4.12",
            "v1.4.11",
            "v1.4.10",
            "v1.4.9",
            "v1.4.8",
            "v1.4.7",
            "v1.4.6",
            "v1.4.5",
            "v1.4.4",
            "v1.4.3",
            "v1.4.2",
            "v1.4.1",
            "v1.4.0",
            "v1.3.6",
            "v1.3.5",
            "v1.3.4",
            "v1.3.3",
            "v1.3.2",
            "v1.3.1",
            "v1.1.2",
            "v1.1.1",
            "v1.1.0",
            "v1.0.2",
            "v1.0.1",
            "v1.0.0",
            "v0.28.0",
            "v0.27.1",
            "v0.27.0",
            "v0.26.0",
            "v0.25.5",
            "v0.25.4",
            "v0.25.3",
            "v0.25.2",
            "v0.25.1",
            "v0.25.0",
            "v0.24.2",
            "v0.24.0",
            "v0.23.2",
            "v0.23.1",
            "v0.23.0",
            "v0.22.3",
            "v0.22.2",
            "v0.22.1",
            "v0.22.0",
            "v0.21.1",
            "v0.21.0",
            "v0.20.0",
            "v0.19.6",
            "v0.19.5",
            "v0.19.4",
            "v0.19.3",
            "v0.19.2",
            "v0.18.0",
            "v0.17.2",
            "v0.17.1",
            "v0.17.0",
            "v0.16.1",
            "v0.16.0",
            "v0.15.0",
            "v0.14.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-21050.json",
            "vanir_signatures": [
              {
                "id": "CVE-2020-21050-244d69a8",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "175574492598543277969436211512690864925",
                    "194531010564632863051193411201857485226",
                    "108804307067728025131035644261459305836",
                    "297906702356113557392178325411700024457",
                    "107787329303055701185448030896175380160",
                    "288015572335704952761465791591498123100",
                    "322721482439620773292953093602934770068",
                    "178929026358038916369051243438204807773",
                    "312421349585840974245558892660386465855",
                    "259498842521849967684086732118441106245",
                    "133920814791315351387894078653894310279",
                    "33007981887150821534680388865927131853",
                    "86036271831702688151604936154289079873",
                    "39883914856058095569596070340089687712",
                    "196345542841231424156007106882531784582"
                  ]
                },
                "source": "https://github.com/saitoha/libsixel/commit/7808a06b88c11dbc502318cdd51fa374f8cd47ee",
                "target": {
                  "file": "src/fromgif.c"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2020-21050-f426d9a7",
                "digest": {
                  "length": 1865,
                  "function_hash": "105840205852819351122098297945601229954"
                },
                "source": "https://github.com/saitoha/libsixel/commit/7808a06b88c11dbc502318cdd51fa374f8cd47ee",
                "target": {
                  "file": "src/fromgif.c",
                  "function": "gif_process_raster"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-20T13:52:23Z"
          }
        }
      ],
      "modified": "2026-10-20T13:52:23.399604234Z",
      "provider": "osv",
      "references": [
        "https://github.com/saitoha/libsixel/blob/master/ChangeLog",
        "https://github.com/saitoha/libsixel/releases/tag/v1.8.5",
        "https://bitbucket.org/netbsd/pkgsrc/commits/a27113e21179cbfbfae0c35f6a9edd6aa498faae",
        "https://github.com/saitoha/libsixel/commit/7808a06b88c11dbc502318cdd51fa374f8cd47ee",
        "https://github.com/saitoha/libsixel/issues/75",
        "https://cwe.mitre.org/data/definitions/121.html"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2020-21050",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 388312,
  "published_at": "2021-09-14T16:15:08.987+00:00"
}