Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 792339 (CVE-2021-30498, CVE-2021-30499, CVE-2022-0856) - media-libs/libcaca: Heap buffer overflow (CVE-2021-{30498,30499})
Summary: media-libs/libcaca: Heap buffer overflow (CVE-2021-{30498,30499})
Status: IN_PROGRESS
Alias: CVE-2021-30498, CVE-2021-30499, CVE-2022-0856
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal minor
Assignee: Gentoo Security
URL:
Whiteboard: B3 [upstream]
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-26 23:55 UTC by Sam James
Modified: 2022-08-17 18:13 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-05-26 23:55:30 UTC
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."

https://github.com/cacalabs/libcaca/issues/53
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-05-27 00:54:23 UTC
* CVE-2021-30499

Description:
"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."

https://github.com/cacalabs/libcaca/issues/54
Comment 2 NATTkA bot gentoo-dev 2021-07-29 17:22:10 UTC Comment hidden (obsolete)
Comment 3 NATTkA bot gentoo-dev 2021-07-29 17:30:24 UTC Comment hidden (obsolete)
Comment 4 NATTkA bot gentoo-dev 2021-07-29 17:38:20 UTC Comment hidden (obsolete)
Comment 5 NATTkA bot gentoo-dev 2021-07-29 17:46:28 UTC Comment hidden (obsolete)
Comment 6 NATTkA bot gentoo-dev 2021-07-29 18:02:27 UTC Comment hidden (obsolete)
Comment 7 NATTkA bot gentoo-dev 2021-07-29 18:10:43 UTC
Package list is empty or all packages have requested keywords.
Comment 8 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2022-03-13 14:05:22 UTC
CVE-2022-0856 (https://github.com/cacalabs/libcaca/issues/65):

libcaca is affected by a Divide By Zero issue via img2txt, which allows a remote malicious user to cause a Denial of Service
Comment 9 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2022-08-17 18:13:32 UTC
CVE-2021-30498 and CVE-2021-30499 are fixed in v0.99.beta20