CVE-2021-30499 json
A flaw was found in libcaca.
published 2021-05-26 5 y ago modified 2026-06-17 4 mo ago also EUVD-2021-17420
- cvss
- 7.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.2%
- EPSS 1.2% chance of exploitation in 30 days, percentile 69%
- public exploits
- 0
- none known
Summary
A flaw was found in libcaca. A buffer overflow of export.c in function export_troff might lead to memory corruption and other potential consequences.
Patch / fix
- libcaca Debian 14, Debian 13, Debian 12 0.99.beta19-3
debian advisories DEBIAN-CVE-2021-30499
- libcaca Ubuntu 18.04 LTS 0.99.beta19-2ubuntu0.18.04.3
- libcaca Ubuntu 20.04 LTS 0.99.beta19-2.1ubuntu1.20.04.2
- libcaca Ubuntu 22.04 LTS 0.99.beta19-2.2ubuntu3
- libcaca Ubuntu Pro 14.04 LTS 0.99.beta18-1ubuntu5.1+esm2
- libcaca Ubuntu Pro 16.04 LTS 0.99.beta19-2ubuntu0.16.04.2+esm1
ubuntu advisories UBUNTU-CVE-2021-30499
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- libcaca SLES 11 SP4-LTSS, SLE Point of Sale 11 SP3 0.99.beta13b-49.3.1
- libcaca SLES for SAP 12 SP5, SLES for SAP 12 SP4, SLES for SAP 12 SP3 +11 more 0.99.beta18-14.6.1
- libcaca SLES for SAP 15 SP2, SLES 15 SP2-LTSS, SLES 15 SP2-BCL +8 more 0.99.beta19.git20171003-11.3.1
- libcaca SLES for SAP 15 SP1, SLES for SAP 15, SLES 15-LTSS +7 more 0.99.beta19.git20171003-3.8.1
suse advisories SUSE-SU-2022:14909-1SUSE-SU-2022:0820-1SUSE-SU-2022:0769-1SUSE-SU-2022:0754-1
- libcaca openSUSE Leap 15.3 0.99.beta19.git20171003-11.3.1
opensuse advisories openSUSE-SU-2022:0769-1
- libcaca Alpine 3.24, Alpine 3.23, Alpine 3.22 +7 more 0.99_beta20-r0
alpine advisories ALPINE-CVE-2021-30499
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- libcaca Arch Linux 0.99.beta19-5
arch linux advisories AVG-1806
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2021-30499 updated cvss 8.1
libcaca: Global buffer overflow of export.c in function export_troff
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.24% chance of exploitation in the next 30 days, higher than 69% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/cacalabs/libcaca/issues/54 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Affected products
- n/a libcaca
Classification
References
-
github.com
/cacalabs/libcaca/issues/54
exploit, issue-tracking, third-party-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/6WFGYICNTMNDNMDDUV4G2RYFB5HNJCOV/
vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/PC7EGOEQ5C4OD66ZUJJIIYEXBTZOCMZX/
vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/ZSBCRN6EGQJUVOSD4OEEQ6XORHEM2CUL/
vendor-advisory
-
bugzilla.redhat.com
/show_bug.cgi?id=1948679
issue-tracking, third-party-advisory
- lists.debian.org /debian-lts-announce/2024/04/msg00004.html
- lists.debian.org /debian-lts-announce/2025/07/msg00019.html
Sources
- CVE List CVE-2021-30499
- NVD CVE-2021-30499
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.