CVE Vulnerabilities

CVE-2021-40589

Integer Underflow (Wrap or Wraparound)

Published: Jun 08, 2022 | Modified: Jun 15, 2022
CVSS 3.x
9.8
CRITICAL
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.x
7.5 HIGH
AV:N/AC:L/Au:N/C:P/I:P/A:P
RedHat/V2
RedHat/V3
Ubuntu
MEDIUM

ZAngband zangband-data 2.7.5 is affected by an integer underflow vulnerability in src/tk/plat.c through the variable fileheader.bfOffBits.

Weakness

The product subtracts one value from another, such that the result is less than the minimum allowable integer value, which produces a value that is not equal to the correct result.

Affected Software

Name Vendor Start Version End Version
Zangband-data Zangband-data_project 2.7.5 (including) 2.7.5 (including)
Zangband Ubuntu bionic *
Zangband Ubuntu impish *
Zangband Ubuntu kinetic *
Zangband Ubuntu lunar *
Zangband Ubuntu mantic *

References