CVE-2025-57247 The BATBToken smart contract (address 0xfbf1388408670c02f0dbbb74251d8ded1d63b7a2, Compiler Version v0.8.26+commit.8a97fa7a) contains incorre
- Exploited in the wild
- Not known
- Fix
- None listed
What is CVE-2025-57247?
CVE-2025-57247 is a critical vulnerability in n/a, published on 6 Oct 2025.
Official description
The BATBToken smart contract (address 0xfbf1388408670c02f0dbbb74251d8ded1d63b7a2, Compiler Version v0.8.26+commit.8a97fa7a) contains incorrect access control implementation in whitelist management functions. The setColdWhiteList() and setSpecialAddress() functions in the base ERC20 contract are declared as public without proper access control modifiers, allowing any user to bypass transfer restrictions and manipulate special address settings. This enables unauthorized users to circumvent cold time transfer restrictions and potentially disrupt dividend distribution mechanisms, leading to privilege escalation and violation of the contract's intended tokenomics.
Weakness: CWE-284
Which versions are affected by CVE-2025-57247?
How do I fix CVE-2025-57247?
No fix has been published for CVE-2025-57247 yet. Limit exposure of the affected software until one is available.
Is CVE-2025-57247 being exploited?
There is no known exploitation of CVE-2025-57247 in the wild and no public exploit code.
Sources
Also known as GHSA-h4cr-6c88-hv52.