Every CVE Search/ Get API key

CVE-2021-40589

ZAngband zangband-data 2.7.5 is affected by an integer underflow vulnerability in src/tk/plat.c...

9.8 Critical

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

1.40%Up 0.5 points since Jun 9, 2022
90%50%10%1%

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 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0
7.5 HighAV: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 CriticalCVSS: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 CriticalCVSS: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 CriticalCVSS: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 CriticalCVSS: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

Affected packages
PackageAffectedFixed
zangband
Debian: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 less
1: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
zangband
Debian: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 less
1: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
zangband
Debian: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 less
1: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
zangband
Ubuntu: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
zangband
Ubuntu:18.04:LTS
All versions, plus listed versions
1:2.7.5pre1-11build1
None known
zangband
Ubuntu:20.04:LTS
All versions, plus listed versions
1:2.7.5pre1-12
None known
zangband
Ubuntu:22.04:LTS
All versions, plus listed versions
1:2.7.5pre1-13
None known
zangband
Ubuntu:24.04:LTS
All versions, plus listed versions
1:2.7.5pre1-141:2.7.5pre1-14build11:2.7.5pre1-14build2
None known
zangband
Ubuntu:25.10
All versions, plus listed versions
1:2.7.5pre1-15
None known
zangband
Ubuntu:26.10
All versions, plus listed versions
1:2.7.5pre1-15build11:2.7.5pre1-161:2.7.5pre1-17
None known
zangband
Ubuntu:26.04:LTS
All versions, plus listed versions
1:2.7.5pre1-151:2.7.5pre1-15build1
None known

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE 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.

References

MoveEnter Open