Business Insights
  • Home
  • Crypto
  • Finance Expert
  • Business
  • Invest News
  • Investing
  • Trading
  • Forex
  • Videos
  • Economy
  • Tech
  • Contact

Archives

  • September 2025
  • August 2025
  • July 2025
  • June 2025
  • May 2025
  • April 2025
  • March 2025
  • February 2025
  • January 2025
  • December 2024
  • November 2024
  • October 2024
  • September 2024
  • August 2024
  • July 2024
  • June 2024
  • May 2024
  • April 2024
  • March 2024
  • February 2024
  • August 2023
  • January 2023
  • December 2021
  • July 2021
  • November 2019
  • October 2019
  • September 2019
  • August 2019
  • July 2019
  • June 2019
  • May 2019
  • April 2019
  • March 2019
  • February 2019
  • January 2019

Categories

  • Business
  • Crypto
  • Economy
  • Finance Expert
  • Forex
  • Invest News
  • Investing
  • Tech
  • Trading
  • Uncategorized
  • Videos
Apply Loan
Money Visa
Advertise Us
Money Visa
  • Home
  • Crypto
  • Finance Expert
  • Business
  • Invest News
  • Investing
  • Trading
  • Forex
  • Videos
  • Economy
  • Tech
  • Contact
Announcing the Trillion Dollar Security Initiative
  • Forex

Security Alert – Solidity – Variables can be overwritten in storage

  • September 4, 2025
  • Roubens Andy King
Total
0
Shares
0
0
0
Total
0
Shares
Share 0
Tweet 0
Pin it 0

Summary: In some situations, variables can overwrite other variables in storage.

Affected Solidity compiler versions: 0.1.6 to 0.4.3 (including 0.4.4 pre-release versions)

Detailed description:

Storage variables that are smaller than 256 bits are packed together into the same 256 bit slot if they can fit. If a value larger than what is allowed by the type is assigned to the first variable, that value will overwrite the second variable.

This means if an attacker can cause an overflow in the value of the first variable, then the second variable can be modified. Creating an overflow in the first variable is possible using arithmetics or by directly passing in a value from the call data (values in call data are aligned to 32 bytes, and padding is neither verified nor enforced).

Contracts that only use the types listed below for state variables are not affected. Arrays, mappings and structs (based on those following types) are also not affected:

  • signed integers, including sizes smaller than 256 bits
  • bytesNN types, including sizes smaller than 256 bits
  • unsigned integers (uint) of 256 bits

Contracts with types smaller than 256 bits that are never next to each other (note that state variables of base contracts are “pulled in”) are not affected.

The Ethereum multisignature wallet contract is not affected.
Note that addresses take up 160 bits, so contracts that only use addresses and 256-bit types are safe. Additionally, addresses and booleans are almost never manipulated via arithmetic operations in practice, so contracts using only addresses, booleans and 256 bit types should also be safe.

The following contracts may be affected:
Contracts containing two or more contiguous state variables where the sum of their sizes is less than 256 bits and the first state variable is not a signed integer and not of bytesNN type.

Types smaller than 256 bits include:
bool, enums, uint8, …, uint248, int8, …, int248, address, any contract type

Recommended action:

  • Recompile contracts that have not yet been deployed using at least Solidity release 0.4.4 (not the pre-release or nightly version).
  • Deactivate, remove funds from, or upgrade already deployed contracts.

This vulnerability was found by [github.com/catageek](https://github.com/catageek): [https://github.com/ethereum/solidity/issues/1306](https://github.com/ethereum/solidity/issues/1306)

Total
0
Shares
Share 0
Tweet 0
Pin it 0
Roubens Andy King

Previous Article
Unified security layers may accelerate institutional crypto adoption
  • Crypto

Unified security layers may accelerate institutional crypto adoption

  • September 3, 2025
  • Roubens Andy King
Read More
Next Article
Ethereum Eyes ,500 Amid Illiquid Supply Crunch And ETF Momentum
  • Crypto

Ethereum Eyes $5,500 Amid Illiquid Supply Crunch And ETF Momentum

  • September 4, 2025
  • Roubens Andy King
Read More
You May Also Like
Read More
  • Forex

Tom Lee Charts Path To $62,500

  • Roubens Andy King
  • September 4, 2025
Arbitrum kicks off M reward program to boost DeFi growth
Read More
  • Forex

Arbitrum kicks off $40M reward program to boost DeFi growth

  • Roubens Andy King
  • September 4, 2025
XRP Price Recovery Fails – Is It Doomed for Another Collapse?
Read More
  • Forex

XRP Price Recovery Fails – Is It Doomed for Another Collapse?

  • Roubens Andy King
  • September 3, 2025
BITCOIN AMSTERDAM X TREASURY ACQUISITION
Read More
  • Forex

BITCOIN AMSTERDAM X TREASURY ACQUISITION

  • Roubens Andy King
  • September 3, 2025
River’s Business Clients Reinvest 22% Of Profits Into Bitcoin
Read More
  • Forex

River’s Business Clients Reinvest 22% Of Profits Into Bitcoin

  • Roubens Andy King
  • September 3, 2025
US Bank Powers Back Into Bitcoin Custody With .7T Institutional Strength
Read More
  • Forex

US Bank Powers Back Into Bitcoin Custody With $11.7T Institutional Strength

  • Roubens Andy King
  • September 3, 2025
Is Binance Manipulating XRP Price And Driving The Crash? Analyst Gives Answers
Read More
  • Forex

Is Binance Manipulating XRP Price And Driving The Crash? Analyst Gives Answers

  • Roubens Andy King
  • September 3, 2025
Riot, CleanSpark Post Bitcoin Output Jump in August
Read More
  • Forex

Riot, CleanSpark Post Bitcoin Output Jump in August

  • Roubens Andy King
  • September 3, 2025

Recent Posts

  • Can AI bots steal your crypto? The rise of digital thieves
  • Tom Lee Charts Path To $62,500
  • Just 10 Wallets Control Half Of Ethereum: How SHIB Compares
  • Arbitrum kicks off $40M reward program to boost DeFi growth
  • Ethereum Eyes $5,500 Amid Illiquid Supply Crunch And ETF Momentum
Featured Posts
  • Can AI bots steal your crypto? The rise of digital thieves 1
    Can AI bots steal your crypto? The rise of digital thieves
    • September 4, 2025
  • Tom Lee Charts Path To $62,500
    • September 4, 2025
  • Just 10 Wallets Control Half Of Ethereum: How SHIB Compares
    • September 4, 2025
  • Arbitrum kicks off M reward program to boost DeFi growth 4
    Arbitrum kicks off $40M reward program to boost DeFi growth
    • September 4, 2025
  • Ethereum Eyes ,500 Amid Illiquid Supply Crunch And ETF Momentum 5
    Ethereum Eyes $5,500 Amid Illiquid Supply Crunch And ETF Momentum
    • September 4, 2025
Recent Posts
  • Unified security layers may accelerate institutional crypto adoption
    Unified security layers may accelerate institutional crypto adoption
    • September 3, 2025
  • XRP Price Recovery Fails – Is It Doomed for Another Collapse?
    XRP Price Recovery Fails – Is It Doomed for Another Collapse?
    • September 3, 2025
  • September meeting will be ‘close call’ for markets: Fmr. Fed pres.
    September meeting will be ‘close call’ for markets: Fmr. Fed pres.
    • September 3, 2025
Categories
  • Business (2,057)
  • Crypto (1,476)
  • Economy (117)
  • Finance Expert (1,687)
  • Forex (1,474)
  • Invest News (2,358)
  • Investing (1,445)
  • Tech (2,056)
  • Trading (2,024)
  • Uncategorized (2)
  • Videos (808)

Subscribe

Subscribe now to our newsletter

Money Visa
  • Privacy Policy
  • DMCA
  • Terms of Use
Money & Invest Advices

Input your search keywords and press Enter.