UBUNTU-CVE-2021-40589

Source
https://ubuntu.com/security/CVE-2021-40589
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-40589.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2021-40589
Upstream
Published
2022-06-08T18:15:00Z
Modified
2025-09-08T16:47:22Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

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

References

Affected packages

Ubuntu:22.04:LTS

zangband

Package

Name
zangband
Purl
pkg:deb/ubuntu/zangband@1:2.7.5pre1-13?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1:2.*

1:2.7.5pre1-13

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "1:2.7.5pre1-13",
            "binary_name": "zangband"
        },
        {
            "binary_version": "1:2.7.5pre1-13",
            "binary_name": "zangband-data"
        }
    ]
}

Ubuntu:24.04:LTS

zangband

Package

Name
zangband
Purl
pkg:deb/ubuntu/zangband@1:2.7.5pre1-14build2?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1:2.*

1:2.7.5pre1-14
1:2.7.5pre1-14build1
1:2.7.5pre1-14build2

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "1:2.7.5pre1-14build2",
            "binary_name": "zangband"
        },
        {
            "binary_version": "1:2.7.5pre1-14build2",
            "binary_name": "zangband-data"
        }
    ]
}

Ubuntu:25.04

zangband

Package

Name
zangband
Purl
pkg:deb/ubuntu/zangband@1:2.7.5pre1-15?arch=source&distro=plucky

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1:2.*

1:2.7.5pre1-14build2
1:2.7.5pre1-15

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "1:2.7.5pre1-15",
            "binary_name": "zangband"
        },
        {
            "binary_version": "1:2.7.5pre1-15",
            "binary_name": "zangband-data"
        }
    ]
}

Ubuntu:Pro:16.04:LTS

zangband

Package

Name
zangband
Purl
pkg:deb/ubuntu/zangband@1:2.7.5pre1-11build1?arch=source&distro=esm-apps/xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1:2.*

1:2.7.5pre1-9.1
1:2.7.5pre1-10
1:2.7.5pre1-11
1:2.7.5pre1-11build1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "1:2.7.5pre1-11build1",
            "binary_name": "zangband"
        },
        {
            "binary_version": "1:2.7.5pre1-11build1",
            "binary_name": "zangband-data"
        }
    ]
}

Ubuntu:Pro:18.04:LTS

zangband

Package

Name
zangband
Purl
pkg:deb/ubuntu/zangband@1:2.7.5pre1-11build1?arch=source&distro=esm-apps/bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1:2.*

1:2.7.5pre1-11build1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "1:2.7.5pre1-11build1",
            "binary_name": "zangband"
        },
        {
            "binary_version": "1:2.7.5pre1-11build1",
            "binary_name": "zangband-data"
        }
    ]
}

Ubuntu:Pro:20.04:LTS

zangband

Package

Name
zangband
Purl
pkg:deb/ubuntu/zangband@1:2.7.5pre1-12?arch=source&distro=esm-apps/focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1:2.*

1:2.7.5pre1-12

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "1:2.7.5pre1-12",
            "binary_name": "zangband"
        },
        {
            "binary_version": "1:2.7.5pre1-12",
            "binary_name": "zangband-data"
        }
    ]
}