CVE-2021-40589
ZAngband zangband-data 2.7.5 is affected by an integer underflow vulnerability in src/tk/plat.c...
ZAngband zangband-data 2.7.5 is affected by an integer underflow vulnerability in src/tk/plat.c through the variable fileheader.bfOffBits.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
9.8
ZAngband zangband-data 2.7.5 is affected by an integer underflow vulnerability in src/tk/plat.c through the variable fileheader.bfOffBits.
- Record
CVE-2021-40589- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - CVSS 2.0
- 7.5 High
AV:N/AC:L/Au:N/C:P/I:P/A:P - Weakness
- CWE-191
- Updated
- 2026-11-02
CVE List No score
ZAngband zangband-data 2.7.5 is affected by an integer underflow vulnerability in src/tk/plat.c through the variable fileheader.bfOffBits.
- Record
CVE-2021-40589- Updated
- 2026-11-02
EUVDEUVD-2021-27764 No score
ZAngband zangband-data 2.7.5 is affected by an integer underflow vulnerability in src/tk/plat.c through the variable fileheader.bfOffBits.
- Record
EUVD-2021-27764- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-fqmc-vqrg-5v32
9.8
ZAngband zangband-data 2.7.5 is affected by an integer underflow vulnerability in src/tk/plat.c...
ZAngband zangband-data 2.7.5 is affected by an integer underflow vulnerability in src/tk/plat.c through the variable fileheader.bfOffBits.
- Record
GHSA-fqmc-vqrg-5v32- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-191
- Updated
- 2026-11-02
OSV
9.8
ZAngband zangband-data 2.7.5 is affected by an integer underflow vulnerability in src/tk/plat.c through the variable fileheader.bfOffBits.
- Record
CVE-2021-40589- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2021-40589
9.8
ZAngband zangband-data 2.7.5 is affected by an integer underflow vulnerability in src/tk/plat.c through the variable fileheader.bfOffBits.
- Record
DEBIAN-CVE-2021-40589- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2021-40589
9.8
ZAngband zangband-data 2.7.5 is affected by an integer underflow vulnerability in src/tk/plat.c through the variable fileheader.bfOffBits.
- Record
UBUNTU-CVE-2021-40589- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
zangbandDebian:12 |
All versions, plus listed versions 1:2.2.7-21:2.6.1-0.21:2.7.0-0.11:2.7.3-21:2.7.3-3 Show 20 moreShow less1:2.7.3-3.11:2.7.5pre1-11:2.7.5pre1-101:2.7.5pre1-111:2.7.5pre1-121:2.7.5pre1-131:2.7.5pre1-141:2.7.5pre1-151:2.7.5pre1-161:2.7.5pre1-171:2.7.5pre1-21:2.7.5pre1-31:2.7.5pre1-41:2.7.5pre1-51:2.7.5pre1-61:2.7.5pre1-71:2.7.5pre1-81:2.7.5pre1-91:2.7.5pre1-9.12.10e-3 |
None known |
zangbandDebian:13 |
All versions, plus listed versions 1:2.2.7-21:2.6.1-0.21:2.7.0-0.11:2.7.3-21:2.7.3-3 Show 20 moreShow less1:2.7.3-3.11:2.7.5pre1-11:2.7.5pre1-101:2.7.5pre1-111:2.7.5pre1-121:2.7.5pre1-131:2.7.5pre1-141:2.7.5pre1-151:2.7.5pre1-161:2.7.5pre1-171:2.7.5pre1-21:2.7.5pre1-31:2.7.5pre1-41:2.7.5pre1-51:2.7.5pre1-61:2.7.5pre1-71:2.7.5pre1-81:2.7.5pre1-91:2.7.5pre1-9.12.10e-3 |
None known |
zangbandDebian:14 |
All versions, plus listed versions 1:2.2.7-21:2.6.1-0.21:2.7.0-0.11:2.7.3-21:2.7.3-3 Show 20 moreShow less1:2.7.3-3.11:2.7.5pre1-11:2.7.5pre1-101:2.7.5pre1-111:2.7.5pre1-121:2.7.5pre1-131:2.7.5pre1-141:2.7.5pre1-151:2.7.5pre1-161:2.7.5pre1-171:2.7.5pre1-21:2.7.5pre1-31:2.7.5pre1-41:2.7.5pre1-51:2.7.5pre1-61:2.7.5pre1-71:2.7.5pre1-81:2.7.5pre1-91:2.7.5pre1-9.12.10e-3 |
None known |
zangbandUbuntu:16.04:LTS |
All versions, plus listed versions 1:2.7.5pre1-9.11:2.7.5pre1-101:2.7.5pre1-111:2.7.5pre1-11build1 |
None known |
zangbandUbuntu:18.04:LTS |
All versions, plus listed versions 1:2.7.5pre1-11build1 |
None known |
zangbandUbuntu:20.04:LTS |
All versions, plus listed versions 1:2.7.5pre1-12 |
None known |
zangbandUbuntu:22.04:LTS |
All versions, plus listed versions 1:2.7.5pre1-13 |
None known |
zangbandUbuntu:24.04:LTS |
All versions, plus listed versions 1:2.7.5pre1-141:2.7.5pre1-14build11:2.7.5pre1-14build2 |
None known |
zangbandUbuntu:25.10 |
All versions, plus listed versions 1:2.7.5pre1-15 |
None known |
zangbandUbuntu:26.10 |
All versions, plus listed versions 1:2.7.5pre1-15build11:2.7.5pre1-161:2.7.5pre1-17 |
None known |
zangbandUbuntu:26.04:LTS |
All versions, plus listed versions 1:2.7.5pre1-151:2.7.5pre1-15build1 |
None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2021-40589 is a critical vulnerability (CVSS 9.8) in Zangband-data Project Zangband-data, published June 8, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.40%, the 72nd percentile. No source names a fixed version.