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)

Summary: media-libs/libcaca: Heap buffer overflow (CVE-2021-{30498,30499})
Product: Gentoo Security Reporter: Sam James <sam>
Component: VulnerabilitiesAssignee: Gentoo Security <security>
Status: IN_PROGRESS ---    
Severity: minor CC: media-video
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=772317
Whiteboard: B3 [upstream]
Package list:
Runtime testing required: ---

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