{"id":"USN-9405-1","summary":"xfig vulnerability","details":"It was discovered that Xfig did not properly handle the LANG environment\nvariable under certain circumstances, leading to a buffer overflow. An\nattacker could possibly use this issue to cause Xfig to crash, resulting in\na denial of service, or possibly execute arbitrary code.","modified":"2026-12-03T20:59:12.864899873Z","published":"2026-12-02T04:24:57Z","related":["UBUNTU-CVE-2021-40241"],"upstream":["CVE-2021-40241","UBUNTU-CVE-2021-40241"],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-9405-1"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-40241"}],"affected":[{"package":{"name":"xfig","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/xfig?arch=source&distro=esm-apps-legacy%2Fxenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:3.2.5.c-7ubuntu0.1~esm1"}]}],"versions":["1:3.2.5.c-5","1:3.2.5.c-6","1:3.2.5.c-7"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro","binaries":[{"binary_name":"xfig","binary_version":"1:3.2.5.c-7ubuntu0.1~esm1"},{"binary_version":"1:3.2.5.c-7ubuntu0.1~esm1","binary_name":"xfig-libs"}]},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:Pro:16.04:LTS","cves":[{"id":"CVE-2021-40241","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"source":"NVD","type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"score":"medium","source":"SELF","type":"Ubuntu"}]}]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9405-1.json"}},{"package":{"name":"xfig","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/xfig?arch=source&distro=esm-apps%2Fbionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:3.2.6a-2ubuntu0.1~esm1"}]}],"versions":["1:3.2.6a-1","1:3.2.6a-2"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_version":"1:3.2.6a-2ubuntu0.1~esm1","binary_name":"xfig"},{"binary_name":"xfig-libs","binary_version":"1:3.2.6a-2ubuntu0.1~esm1"}]},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:Pro:18.04:LTS","cves":[{"id":"CVE-2021-40241","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"source":"NVD","type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"source":"SELF","type":"Ubuntu","score":"medium"}]}]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9405-1.json"}},{"package":{"name":"xfig","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/xfig?arch=source&distro=esm-apps%2Ffocal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:3.2.7b-2ubuntu0.1~esm1"}]}],"versions":["1:3.2.7a-3","1:3.2.7b-1","1:3.2.7b-2"],"ecosystem_specific":{"binaries":[{"binary_name":"xfig","binary_version":"1:3.2.7b-2ubuntu0.1~esm1"},{"binary_name":"xfig-libs","binary_version":"1:3.2.7b-2ubuntu0.1~esm1"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:Pro:20.04:LTS","cves":[{"id":"CVE-2021-40241","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"NVD","type":"CVSS_V3"},{"score":"medium","source":"SELF","type":"Ubuntu"}]}]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9405-1.json"}}],"schema_version":"1.9.2"}