Improper input validation in libcaca - CVE-2018-20549

 

Improper input validation in libcaca - CVE-2018-20549

Published: January 9, 2019 / Updated: September 27, 2022


Vulnerability identifier: #VU16898
CSH Severity: Low
CVSS v4: 4.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2018-20549
CWE-ID: CWE-20
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local attacker to cause DoS condition on the target system.

The vulnerability exists in the caca_file_read function, as defined in the caca/file.c file due to insufficient validation of user-supplied input. A local attacker can execute a file that submits malicious input, trigger an illegal write memory access condition that can be used to cause a DoS condition.


Affected software

libcaca
libcaca (Alpine package)
Opensuse

How to mitigate CVE-2018-20549

Install update from vendor's website.

libcaca - update to 0.99 beta20
libcaca (Alpine package) - update to 0.99_beta19-r3

External References

Related Security Bulletins