{"id":"MGASA-2023-0101","summary":"Updated xfig packages fix security vulnerability","details":"A potential buffer overflow exists in the file src/w_help.c at line 55.\nSpecifically, the length of the string returned by getenv(\"LANG\") may\nbecome very long and cause a buffer overflow while executing the sprintf()\nfunction. This vulnerability could potentially allow an attacker to\nexecute arbitrary code or cause a denial-of-service condition.\n(CVE-2021-40241)\n","modified":"2026-04-16T04:43:01.296008058Z","published":"2023-03-18T22:16:28Z","upstream":["CVE-2021-40241"],"references":[{"type":"ADVISORY","url":"https://advisories.mageia.org/MGASA-2023-0101.html"},{"type":"REPORT","url":"https://bugs.mageia.org/show_bug.cgi?id=31650"},{"type":"WEB","url":"https://www.debian.org/lts/security/2023/dla-3353"}],"affected":[{"package":{"name":"xfig","ecosystem":"Mageia:8","purl":"pkg:rpm/mageia/xfig?arch=source&distro=mageia-8"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.2.7b-1.1.mga8"}]}],"ecosystem_specific":{"section":"core"},"database_specific":{"source":"https://advisories.mageia.org/MGASA-2023-0101.json"}}],"schema_version":"1.7.5","credits":[{"name":"Mageia","contact":["https://wiki.mageia.org/en/Packages_Security_Team"],"type":"COORDINATOR"}]}