Division by zero in Exiv2 - CVE-2020-18774

 

Division by zero in Exiv2 - CVE-2020-18774

Published: December 22, 2023


Vulnerability identifier: #VU84707
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2020-18774
CWE-ID: CWE-369
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to a divide by zero error within the printLong() function in tags_int.cpp. A remote attacker can pass a specially crafted file to the application and perform a denial of service (DoS) attack.


Affected software

Exiv2
Gentoo Linux
media-gfx/exiv2

How to mitigate CVE-2020-18774

Install updates from vendor's website.

Exiv2 - update to 0.27
media-gfx/exiv2 - update to 0.28.1

External References

Related Security Bulletins