{"id":"CVE-2021-40589","aliases":["DEBIAN-CVE-2021-40589","EUVD-2021-27764","GHSA-fqmc-vqrg-5v32","UBUNTU-CVE-2021-40589"],"status":"published","title":"ZAngband zangband-data 2.7.5 is affected by an integer underflow vulnerability in src/tk/plat.c...","description":"ZAngband zangband-data 2.7.5 is affected by an integer underflow vulnerability in src/tk/plat.c through the variable fileheader.bfOffBits.","severity":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-10","score":0.01398,"percentile":0.72686,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-191"],"published":"2022-06-08T17:58:14Z","modified":"2026-10-23T18:03:33Z","affected":[{"source":"osv","ecosystem":"Debian:12","package":"zangband","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:2.2.7-2","1:2.6.1-0.2","1:2.7.0-0.1","1:2.7.3-2","1:2.7.3-3","1:2.7.3-3.1","1:2.7.5pre1-1","1:2.7.5pre1-10","1:2.7.5pre1-11","1:2.7.5pre1-12","1:2.7.5pre1-13","1:2.7.5pre1-14","1:2.7.5pre1-15","1:2.7.5pre1-16","1:2.7.5pre1-17","1:2.7.5pre1-2","1:2.7.5pre1-3","1:2.7.5pre1-4","1:2.7.5pre1-5","1:2.7.5pre1-6","1:2.7.5pre1-7","1:2.7.5pre1-8","1:2.7.5pre1-9","1:2.7.5pre1-9.1","2.10e-3"]},{"source":"osv","ecosystem":"Debian:13","package":"zangband","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:2.2.7-2","1:2.6.1-0.2","1:2.7.0-0.1","1:2.7.3-2","1:2.7.3-3","1:2.7.3-3.1","1:2.7.5pre1-1","1:2.7.5pre1-10","1:2.7.5pre1-11","1:2.7.5pre1-12","1:2.7.5pre1-13","1:2.7.5pre1-14","1:2.7.5pre1-15","1:2.7.5pre1-16","1:2.7.5pre1-17","1:2.7.5pre1-2","1:2.7.5pre1-3","1:2.7.5pre1-4","1:2.7.5pre1-5","1:2.7.5pre1-6","1:2.7.5pre1-7","1:2.7.5pre1-8","1:2.7.5pre1-9","1:2.7.5pre1-9.1","2.10e-3"]},{"source":"osv","ecosystem":"Debian:14","package":"zangband","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:2.2.7-2","1:2.6.1-0.2","1:2.7.0-0.1","1:2.7.3-2","1:2.7.3-3","1:2.7.3-3.1","1:2.7.5pre1-1","1:2.7.5pre1-10","1:2.7.5pre1-11","1:2.7.5pre1-12","1:2.7.5pre1-13","1:2.7.5pre1-14","1:2.7.5pre1-15","1:2.7.5pre1-16","1:2.7.5pre1-17","1:2.7.5pre1-2","1:2.7.5pre1-3","1:2.7.5pre1-4","1:2.7.5pre1-5","1:2.7.5pre1-6","1:2.7.5pre1-7","1:2.7.5pre1-8","1:2.7.5pre1-9","1:2.7.5pre1-9.1","2.10e-3"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"zangband","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:2.7.5pre1-9.1","1:2.7.5pre1-10","1:2.7.5pre1-11","1:2.7.5pre1-11build1"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"zangband","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:2.7.5pre1-11build1"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"zangband","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:2.7.5pre1-12"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"zangband","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:2.7.5pre1-13"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"zangband","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:2.7.5pre1-14","1:2.7.5pre1-14build1","1:2.7.5pre1-14build2"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"zangband","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:2.7.5pre1-15"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"zangband","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:2.7.5pre1-15build1","1:2.7.5pre1-16","1:2.7.5pre1-17"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"zangband","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:2.7.5pre1-15","1:2.7.5pre1-15build1"]}],"products":[{"vendor":"zangband-data_project","product":"zangband-data"}],"references":[{"url":"https://sourceforge.net/p/zangband/bugs/671/","tags":["x_refsource_MISC","x_transferred","Exploit","Issue Tracking","Third Party Advisory","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-40589"},{"url":"https://github.com/advisories/GHSA-fqmc-vqrg-5v32"},{"url":"https://security-tracker.debian.org/tracker/CVE-2021-40589","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2021-40589","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-40589","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2021-40589","description":"ZAngband zangband-data 2.7.5 is affected by an integer underflow vulnerability in src/tk/plat.c through the variable fileheader.bfOffBits.","status":"published","published":"2022-06-08T17:58:14Z","modified":"2024-08-04T02:44:10.889Z","updated_at":"2026-11-02T14:33:01.495293Z"}],"euvd":[{"id":"EUVD-2021-27764","description":"ZAngband zangband-data 2.7.5 is affected by an integer underflow vulnerability in src/tk/plat.c through the variable fileheader.bfOffBits.","status":"published","published":"2022-06-08T17:58:14Z","modified":"2024-08-04T02:44:10Z","updated_at":"2026-11-03T03:24:20.264881Z"}],"ghsa":[{"id":"GHSA-fqmc-vqrg-5v32","title":"ZAngband zangband-data 2.7.5 is affected by an integer underflow vulnerability in src/tk/plat.c...","description":"ZAngband zangband-data 2.7.5 is affected by an integer underflow vulnerability in src/tk/plat.c through the variable fileheader.bfOffBits.","status":"published","published":"2022-06-09T00:00:18Z","modified":"2023-01-27T05:04:04Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-191"],"updated_at":"2026-11-02T14:42:23.117332Z"}],"nvd":[{"id":"CVE-2021-40589","description":"ZAngband zangband-data 2.7.5 is affected by an integer underflow vulnerability in src/tk/plat.c through the variable fileheader.bfOffBits.","status":"published","published":"2022-06-08T18:15:08.13Z","modified":"2026-06-17T04:07:10.013Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-191"],"updated_at":"2026-11-02T14:07:06.501652Z"}],"osv":[{"id":"CVE-2021-40589","description":"ZAngband zangband-data 2.7.5 is affected by an integer underflow vulnerability in src/tk/plat.c through the variable fileheader.bfOffBits.","status":"published","published":"2022-06-08T18:15:08.13Z","modified":"2026-03-14T11:10:40.894457Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:44:21.249056Z"},{"id":"DEBIAN-CVE-2021-40589","description":"ZAngband zangband-data 2.7.5 is affected by an integer underflow vulnerability in src/tk/plat.c through the variable fileheader.bfOffBits.","status":"published","published":"2022-06-08T18:15:08.13Z","modified":"2026-10-23T18:03:33.526840607Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:45:35.521549Z"},{"id":"UBUNTU-CVE-2021-40589","description":"ZAngband zangband-data 2.7.5 is affected by an integer underflow vulnerability in src/tk/plat.c through the variable fileheader.bfOffBits.","status":"published","published":"2022-06-08T18:15:00Z","modified":"2026-10-17T12:56:20.838197452Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:54:29.220315Z"}]}}
