Home
Home
Trends
Trends
Vulnerabilities
Vulnerabilities
News
News
Researchers
Researchers
Why dbugs?
Why dbugs?
Settings

Amxx

#23513of 60,753
12.8Total CVSS
Vulnerabilities · 2
Medium
2
PT-2025-29948
2025-07-17
6.9
CVE-2025-54070
Openzeppelin
Openzeppelin Contracts
The `lastIndexOf(bytes,byte,uint256)` function within the `Bytes.sol` library may access uninitialized memory under specific conditions. This occurs when the provided buffer length is empty (`buffer.length == 0`) and the position (`pos`) is not equal to the maximum value for an unsigned 256-bit integer (`type(uint256).max`). The `pos` argument could be used to access data outside the intended buffer boundaries, potentially leading to out-of-gas errors or the return of an invalid index. The function reads memory at offset `buffer + 0x20 + pos`. If the memory at that location matches the search pattern, the function returns an out-of-bounds index instead of the expected maximum value. Code relying on the function returning `type(uint256).max` for empty buffers or using the returned index without bounds checking may exhibit undefined behavior.
PT-2023-31356
2023-12-08
5.9
CVE-2023-49798
Openzeppelin
@Openzeppelin/Contracts-Upgradeable
A merge issue when porting the 5.0.1 patch to the 4.9 branch caused a line duplication in the `Multicall.sol` file. This results in all subcalls being executed twice, exposing users to unintentionally duplicate operations like asset transfers.