Integer overflow in Gerbv - CVE-2021-40394
Published: December 10, 2021
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to integer overflow in the RS-274X aperture macro outline primitive functionality. A remote attacker can use a specially crafted gerber file, trigger integer overflow and execute arbitrary code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
Affected software
Debian Linux
gerbv (Debian package)
How to mitigate CVE-2021-40394
gerbv (Debian package) - update to 2.7.0-2+deb11u2