Vulnerability · Published May 26, 2021 · Assigned by redhat
CVE-2021-30498
High 7.8
In plain English
A high-severity out-of-bounds write in libcaca. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.3% (higher than 72% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)7.8High
Exploit odds (30 days)1.3%top 28.4% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | libcaca | 0.99_beta20-r0 | ALPINE-CVE-2021-30498 |
| Alpine:v3.21 | libcaca | 0.99_beta20-r0 | ALPINE-CVE-2021-30498 |
| Alpine:v3.22 | libcaca | 0.99_beta20-r0 | ALPINE-CVE-2021-30498 |
| Alpine:v3.23 | libcaca | 0.99_beta20-r0 | ALPINE-CVE-2021-30498 |
| Alpine:v3.24 | libcaca | 0.99_beta20-r0 | ALPINE-CVE-2021-30498 |
| Debian:12 | libcaca | 0.99.beta19-3 | DEBIAN-CVE-2021-30498 |
| Debian:13 | libcaca | 0.99.beta19-3 | DEBIAN-CVE-2021-30498 |
| Debian:14 | libcaca | 0.99.beta19-3 | DEBIAN-CVE-2021-30498 |
| Ubuntu:22.04:LTS | libcaca | 0.99.beta19-2.2ubuntu3 | UBUNTU-CVE-2021-30498 |
Affected products (as reported)
Weakness: CWE-787
References
- https://github.com/cacalabs/libcaca/issues/53
- https://bugzilla.redhat.com/show_bug.cgi?id=1948675
- FEDORA-2022-fc6b53e7a2 vendor-advisory
- FEDORA-2022-e3b9986722 vendor-advisory
- FEDORA-2022-3d291845d8 vendor-advisory
- https://lists.debian.org/debian-lts-announce/2024/04/msg00004.html
- https://lists.debian.org/debian-lts-announce/2025/07/msg00019.html