ETH Price: $1,597.32 (+0.83%)

Solidity Bug Info

Bug Name Description Severity
HighOrderByteCleanStorage
For short types, the high order bytes were not cleaned properly and could overwrite existing data.
Types shorter than 32 bytes are packed together into the same 32 byte storage slot, but storage writes always write 32 bytes. For some types, the higher order bytes were not cleaned properly, which made it sometimes possible to overwrite a variable in storage when writing to another one.

- Link: https://blog.soliditylang.org/2016/11/01/security-alert-solidity-variables-can-overwritten-storage/
- First Introduced: 0.1.6
- Fixed in Version: 0.4.4
- Published:
- Severity<: high

high