# CVE-2021-30498: A flaw was found in libcaca.

- 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): 1.35%, higher than 72% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-05-26T00:00:00.000Z
- Modified: 2026-06-17T03:50:20.683Z
- Weaknesses: CWE-787
- Assigned by: redhat

## Description

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.

(As written by CVE List.)

## Affected

- libcaca: master
- libcaca_project libcaca: 0.99
- fedoraproject fedora: 34; 35; 36

## 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/cacalabs/libcaca/issues/53> (exploit, issue-tracking, third-party-advisory)
- <https://bugzilla.redhat.com/show_bug.cgi?id=1948675> (issue-tracking, third-party-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6WFGYICNTMNDNMDDUV4G2RYFB5HNJCOV/> (mailing-list, third-party-advisory, vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PC7EGOEQ5C4OD66ZUJJIIYEXBTZOCMZX/> (mailing-list, third-party-advisory, vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZSBCRN6EGQJUVOSD4OEEQ6XORHEM2CUL/> (mailing-list, third-party-advisory, vendor-advisory)
- <https://lists.debian.org/debian-lts-announce/2024/04/msg00004.html>
- <https://lists.debian.org/debian-lts-announce/2025/07/msg00019.html>

## Sources

- CVE List: [CVE-2021-30498](https://www.cve.org/CVERecord?id=CVE-2021-30498), CVE Terms of Use, modified 2025-11-03
- NVD: [CVE-2021-30498](https://nvd.nist.gov/vuln/detail/CVE-2021-30498), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-30498 · Whole record: https://cve.day/CVE-2021-30498.json · Rebuilt by cve.day 2026-11-25T22:58:01.555Z
