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
How to Recover a Lost Crypto Wallet Password or Seed Phrase in 2025
Read More
  • Forex

How to Recover a Lost Crypto Wallet Password or Seed Phrase in 2025

  • Roubens Andy King
  • September 6, 2025
BTCC Marketing Executive: Reputation and Research Now Drive Athlete Crypto Deals
Read More
  • Forex

BTCC Marketing Executive: Reputation and Research Now Drive Athlete Crypto Deals

  • Roubens Andy King
  • September 6, 2025
SUI Breakout Structure Builds – Can The Bulls Push Past .50?
Read More
  • Forex

SUI Breakout Structure Builds – Can The Bulls Push Past $3.50?

  • Roubens Andy King
  • September 6, 2025
Polygon Dev Accuses Trump-Linked WLFI of Stealing Tokens
Read More
  • Forex

Polygon Dev Accuses Trump-Linked WLFI of Stealing Tokens

  • Roubens Andy King
  • September 6, 2025
To fork or not to fork
Read More
  • Forex

To fork or not to fork

  • Roubens Andy King
  • September 6, 2025
Altcoin Season Here? Expert Says It May Be ‘Corporate’ This Time
Read More
  • Forex

Altcoin Season Here? Expert Says It May Be ‘Corporate’ This Time

  • Roubens Andy King
  • September 6, 2025
Why Buying Bitcoin in 2010 Probably Wouldn’t Make You a Millionaire
Read More
  • Forex

Why Buying Bitcoin in 2010 Probably Wouldn’t Make You a Millionaire

  • Roubens Andy King
  • September 6, 2025
Cycle Peak Indicates 95% Completion
Read More
  • Forex

Cycle Peak Indicates 95% Completion

  • Roubens Andy King
  • September 6, 2025

Recent Posts

  • Decentralized Money Didn’t Come From Nowhere
  • How to Recover a Lost Crypto Wallet Password or Seed Phrase in 2025
  • 3 Best Money Tips To Become Rich
  • Bitcoin Reaches $112,900 Ahead of US Jobs Report
  • BTCC Marketing Executive: Reputation and Research Now Drive Athlete Crypto Deals
Featured Posts
  • Decentralized Money Didn’t Come From Nowhere 1
    Decentralized Money Didn’t Come From Nowhere
    • September 6, 2025
  • How to Recover a Lost Crypto Wallet Password or Seed Phrase in 2025 2
    How to Recover a Lost Crypto Wallet Password or Seed Phrase in 2025
    • September 6, 2025
  • 3 Best Money Tips To Become Rich 3
    3 Best Money Tips To Become Rich
    • September 6, 2025
  • Bitcoin Reaches 2,900 Ahead of US Jobs Report 4
    Bitcoin Reaches $112,900 Ahead of US Jobs Report
    • September 6, 2025
  • BTCC Marketing Executive: Reputation and Research Now Drive Athlete Crypto Deals 5
    BTCC Marketing Executive: Reputation and Research Now Drive Athlete Crypto Deals
    • September 6, 2025
Recent Posts
  • Probability Of Fed Rate Cuts In September Almost At 100%
    Probability Of Fed Rate Cuts In September Almost At 100%
    • September 6, 2025
  • SUI Breakout Structure Builds – Can The Bulls Push Past .50?
    SUI Breakout Structure Builds – Can The Bulls Push Past $3.50?
    • September 6, 2025
  • Elliott’s plan for PepsiCo includes investing in some of its iconic brands, shedding others
    Elliott’s plan for PepsiCo includes investing in some of its iconic brands, shedding others
    • September 6, 2025
Categories
  • Business (2,057)
  • Crypto (1,530)
  • Economy (120)
  • Finance Expert (1,687)
  • Forex (1,529)
  • Invest News (2,359)
  • Investing (1,481)
  • Tech (2,056)
  • Trading (2,024)
  • Uncategorized (2)
  • Videos (811)

Subscribe

Subscribe now to our newsletter

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

Input your search keywords and press Enter.