CVE-2021-40589

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

published June 8, 2022

CVSS
—
EPSS
1%
Percentile
71.8
In the wild
Unconfirmed
What it is

⚠️ A sneaky integer underflow could let attackers mess with memory — it's like a recipe where one wrong measurement leads to a total kitchen disaster! 🔥 Think of it as a chef who accidentally adds too much of an ingredient and ends up ruining the entire dish. This vulnerability allows for unintended memory manipulation, potentially leading to unpredictable program behavior. If exploited, this could lead to program crashes or even remote code execution, allowing an attacker to take control of the application. While not yet observed in the wild, the potential for chaos is absolutely devastating!

Put simply

Think of it as a chef who accidentally adds too much of an ingredient and ends up ruining the entire dish. This vulnerability allows for unintended memory manipulation, potentially leading to unpredictable program behavior. This vulnerability resides in zangband-data version 2.7.5, specifically in the fileheader.bfOffBits variable within src/tk/plat.c, where an integer underflow can occur, causing memory manipulation issues.

What to do

If exploited, this could lead to program crashes or even remote code execution, allowing an attacker to take control of the application. While not yet observed in the wild, the potential for chaos is absolutely devastating! Upgrade to the latest version of zangband-data to ensure you're protected against this underflow issue. Regularly audit your code for similar vulnerabilities and test your applications to catch any unexpected behaviors early. 🛡️ You've got this! With the right updates and vigilance, you'll keep your code safe and sound. 💪✨

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.01377 · 71.8th percentile
Published
2022-06-08T17:58Z
EPSS history
Timeline
  • 08 JUN 17:58Z
    ZAngband zangband-data 2.7.5 is affected by an integer underflow vulnerability in src/tk/plat.c through the variable fileheader.bfOffBits
    cvelistv5