CVE-2021-30498
CVE-2021-30498 is a high-severity vulnerability in Libcaca Project Libcaca with a CVSS 3.x base score of 7.8. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-787.
Key facts
- Severity: High (CVSS 3.x base score 7.8)
- CVSS v2: 6.8
- EPSS exploit prediction: 1% (68th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-787
- Affected product: Libcaca Project Libcaca
- Published:
- Last modified:
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.
Frequently asked questions
- What is 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.
- How severe is CVE-2021-30498?
- CVE-2021-30498 has a CVSS 3.x base score of 7.8, rated high severity. It is exploitable over local access with low attack complexity, requires no privileges and user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2021-30498 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (68th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2021-30498?
- CVE-2021-30498 primarily affects Libcaca Project Libcaca. In total, 9 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2021-30498?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- When was CVE-2021-30498 published?
- CVE-2021-30498 was published on 2021-05-26 and last updated on 2026-06-17.
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1948675
- https://github.com/cacalabs/libcaca/issues/53
- https://lists.debian.org/debian-lts-announce/2024/04/msg00004.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://lists.debian.org/debian-lts-announce/2025/07/msg00019.html
Affected products (9)
- cpe:2.3:a:libcaca_project:libcaca:0.99:beta14:*:*:*:*:*:*
- cpe:2.3:a:libcaca_project:libcaca:0.99:beta15:*:*:*:*:*:*
- cpe:2.3:a:libcaca_project:libcaca:0.99:beta16:*:*:*:*:*:*
- cpe:2.3:a:libcaca_project:libcaca:0.99:beta17:*:*:*:*:*:*
- cpe:2.3:a:libcaca_project:libcaca:0.99:beta18:*:*:*:*:*:*
- cpe:2.3:a:libcaca_project:libcaca:0.99:beta19:*:*:*:*:*:*
- cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
- cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
- cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*
More vulnerabilities in Libcaca Project Libcaca
- CVE-2018-20549 — High (CVSS 8.8): There is an illegal WRITE memory access at caca/file.c (function caca_file_read) in libcaca 0.99.beta19.
- CVE-2018-20548 — High (CVSS 8.8): There is an illegal WRITE memory access at common-image.c (function load_image) in libcaca 0.99.beta19 for 1bpp data.
- CVE-2018-20545 — High (CVSS 8.8): There is an illegal WRITE memory access at common-image.c (function load_image) in libcaca 0.99.beta19 for 4bpp data.
- CVE-2018-20547 — High (CVSS 8.1): There is an illegal READ memory access at caca/dither.c (function get_rgba_default) in libcaca 0.99.beta19 for 24bpp…
- CVE-2018-20546 — High (CVSS 8.1): There is an illegal READ memory access at caca/dither.c (function get_rgba_default) in libcaca 0.99.beta19 for the…
- CVE-2021-30499 — High (CVSS 7.8): A flaw was found in libcaca. A buffer overflow of export.c in function export_troff might lead to memory corruption and…
All CVEs affecting Libcaca Project Libcaca →
Other CWE-787 (Out-of-bounds Write) vulnerabilities
- CVE-2026-42369 — Critical (CVSS 10.0): GV-VMS V20 is a Video Monitoring Software used to gather the feeds of many surveillance cameras and manage other…
- CVE-2026-4746 — Critical (CVSS 10.0): Out-of-bounds Write vulnerability in timeplus-io proton (base/poco/Foundation/src modules). This vulnerability is…
- CVE-2025-43300 — Critical (CVSS 10.0): An out-of-bounds write issue was addressed with improved bounds checking. This issue is fixed in iOS 15.8.5 and iPadOS…
- CVE-2025-24201 — Critical (CVSS 10.0): An out-of-bounds write issue was addressed with improved checks to prevent unauthorized actions. This issue is fixed in…
- CVE-2024-42479 — Critical (CVSS 10.0): llama.cpp provides LLM inference in C/C++. The unsafe `data` pointer member in the `rpc_tensor` structure can cause…
- CVE-2024-39791 — Critical (CVSS 10.0): Stack-based buffer overflow vulnerabilities affecting Vonets industrial wifi bridge relays and wifi bridge…