A potential buffer overflow exists in the file src/w_help.c at line 55.
Specifically, the length of the string returned by getenv("LANG") may
become very long and cause a buffer overflow while executing the sprintf()
function. This vulnerability could potentially allow an attacker to
execute arbitrary code or cause a denial-of-service condition.
(CVE-2021-40241)
- https://bugs.mageia.org/show_bug.cgi?id=31650
- https://lists.debian.org/debian-lts-announce/2023/03/msg00005.html
- https://www.cve.org/CVERecord?id=CVE-2021-40241
- 8/core/xfig-3.2.7b-1.1.mga8
Get the latest Linux and open source security news straight to your inbox.