Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-30498

A flaw was found in libcaca. A heap buffer overflow in export.c in function export_tga might lead to memory corruption and other potential consequences.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-30498
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 11:16 UTC · Revision 1

Source evidence

CVE-2021-30498

core-osv · Original source

Published 26 May 2021, 22:15 UTC

A flaw was found in libcaca. A heap buffer overflow in export.c in function export_tga might lead to memory corruption and other potential consequences.

osv:CVE-2021-30498
Complete source record
{
  "id": "e21df3c4a9bfa870e7e2f9f5bb575ad0ec900d9d546eb84fad93f4bdaa2ba80a",
  "url": "https://osv.dev/vulnerability/CVE-2021-30498",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-30498",
    "summary": "A flaw was found in libcaca. A heap buffer overflow in export.c in function export_tga might lead to memory corruption and other potential consequences.",
    "evidence": "osv:CVE-2021-30498",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2021-30498",
      "aliases": [
        "CVE-2021-30498"
      ],
      "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/cacalabs/libcaca",
              "type": "GIT",
              "events": [
                {
                  "introduced": "887871432195b4516093e32db112c6c5e6e92f3e"
                },
                {
                  "last_affected": "caae67dce5d72ceceac79468bed47b58ea8e4a29"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:libcaca_project:libcaca:0.99:beta14:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0.99-beta14"
                      },
                      {
                        "last_affected": "0.99-beta14"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:libcaca_project:libcaca:0.99:beta15:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0.99-beta15"
                      },
                      {
                        "last_affected": "0.99-beta15"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:libcaca_project:libcaca:0.99:beta16:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0.99-beta16"
                      },
                      {
                        "last_affected": "0.99-beta16"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:libcaca_project:libcaca:0.99:beta17:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0.99-beta17"
                      },
                      {
                        "last_affected": "0.99-beta17"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:libcaca_project:libcaca:0.99:beta18:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0.99-beta18"
                      },
                      {
                        "last_affected": "0.99-beta18"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:libcaca_project:libcaca:0.99:beta19:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0.99-beta19"
                      },
                      {
                        "last_affected": "0.99-beta19"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "0.99-beta14",
            "0.99-beta15",
            "0.99-beta16",
            "0.99-beta17",
            "0.99-beta18",
            "0.99-beta19",
            "v0.99.beta19",
            "v0.99.beta18",
            "v0.99.beta17",
            "v0.99.beta16",
            "v0.99.beta15",
            "v0.99.beta14"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-30498.json"
          }
        }
      ],
      "modified": "2026-10-20T10:53:44.042823050Z",
      "provider": "osv",
      "references": [
        "https://lists.debian.org/debian-lts-announce/2024/04/msg00004.html",
        "https://lists.debian.org/debian-lts-announce/2025/07/msg00019.html",
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6WFGYICNTMNDNMDDUV4G2RYFB5HNJCOV/",
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PC7EGOEQ5C4OD66ZUJJIIYEXBTZOCMZX/",
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZSBCRN6EGQJUVOSD4OEEQ6XORHEM2CUL/",
        "https://bugzilla.redhat.com/show_bug.cgi?id=1948675",
        "https://github.com/cacalabs/libcaca/issues/53"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*",
              "cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*",
              "cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*"
            ],
            "vendor_product": "fedoraproject:fedora",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "34"
                  },
                  {
                    "last_affected": "34"
                  },
                  {
                    "introduced": "35"
                  },
                  {
                    "last_affected": "35"
                  },
                  {
                    "introduced": "36"
                  },
                  {
                    "last_affected": "36"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2021-30498",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 384555,
  "published_at": "2021-05-26T22:15:08.157+00:00"
}