CVE Vulnerabilities

CVE-2021-40589

Integer Underflow (Wrap or Wraparound)

Published: Jun 08, 2022 | Modified: Nov 21, 2024
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
root.io logo minimus.io logo echo.ai logo

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

NameVendorStart VersionEnd Version
Zangband-dataZangband-data_project2.7.5 (including)2.7.5 (including)
ZangbandUbuntubionic*
ZangbandUbuntufocal*
ZangbandUbuntuimpish*
ZangbandUbuntukinetic*
ZangbandUbuntulunar*
ZangbandUbuntumantic*
ZangbandUbuntuoracular*
ZangbandUbuntuplucky*

References