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

Archives

  • 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

Solidity Bugfix Release | Ethereum Foundation Blog

  • August 27, 2025
  • Roubens Andy King
Total
0
Shares
0
0
0
Total
0
Shares
Share 0
Tweet 0
Pin it 0

The latest version 0.4.25 release of Solidity fixes
two important bugs.
Another important bug has already been fixed in version 0.4.22 but it was only discovered recently that the bug existed.

Note that the Ethereum Foundation runs a bounty program for the code generator part of Solidity.

Cleanup of Exponent in Exponentiation

  • Likelihood of occurrence: very low
  • Exploitability: high
  • Discoverability by tests: low
  • Fixed in version: 0.4.25

Summary: Using short types in the exponent of an exponentiation operation can lead to invalid results.

The Solidity language allows integer types that are shorter than 256 bits, even though the Ethereum Virtual Machine
only knows types of exactly 256 bits. Because of that, higher order bits need to be set to zero from time to time.
For many operations, it is not relevant whether those bits are set to zero or not (addition is one example).
Because of that, the Solidity compiler delays this cleanup until it is needed in order to save gas.

In the very special circumstance that the exponent of the ** operator has a type that is shorter
than 256 bits, but not shorter than the type of the base and contains dirty higher order bits,
this can lead to an incorrect result. Note that literal exponents like in x ** 2 as well as
the case where the type of the base is uint256 or int256 are unaffected.

Note that a function parameter can have dirty higher order bits if called by a malicious entity,
and the same is true for data returned from functions of contracts deployed by malicious entities.

After having screened a large number of contracts, we deem this bug to affect only a very tiny number of
smart contracts, if any at all, because the regular uses of the exponentiation operator do not lead to the bug.

This bug was found by nweller.

Memory Corruption in Multi-Dimensional Array Decoder

  • Likelihood of occurrence: low
  • Exploitability: medium
  • Discoverability by tests: high
  • Introduced in version: 0.1.4
  • Fixed in version: 0.4.22

Summary: Calling functions of other contracts that return multi-dimensional fixed-size arrays results in memory corruption.

If Solidity code calls a function that returns a multi-dimensional fixed-size array,
the returned ABI-encoded data has to be converted to Solidity's internal representation
of arrays. In Solidity, multi-dimensional arrays are implemented as arrays of
memory pointers, while in the ABI, the data is encoded inline.
The decoder did not take this difference into account with the result that the returned
elements are interpreted as memory pointers and thus can cause memory
corruption if the return values are accessed. Calling functions with multi-dimensional
fixed-size array arguments is unaffected as is returning fixed-size arrays from function calls
if they are not used in a Solidity contract.
The bug is only in the component that decodes a multi-dimensional fixed-size array
that is returned from a function call from Solidity.

This bug was found by jmahhh.

Invalid Encoding of Structs in Events

  • Likelihood of occurrence: low
  • Exploitability: low
  • Discoverability by tests: high
  • Introduced in version: 0.4.17
  • Fixed in version: 0.4.25

Summary: Structs as event parameters are not handled properly.

Structs were not meant to be supported as event parameters without the new ABI encoder.
The compiler did accept them nevertheless, but encoded their memory address instead of their actual value.
Even with the new ABI encoder, structs cannot be indexed event parameters.

Now, structs are properly disallowed for the old encoder and if they are indexed also for the new encoder.

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

Previous Article
Trump’s secret weapon: Housing chief Bill Pulte morphs into attack dog, wielding America’s property records like a club
  • Finance Expert

Trump’s secret weapon: Housing chief Bill Pulte morphs into attack dog, wielding America’s property records like a club

  • August 27, 2025
  • Roubens Andy King
Read More
Next Article
Ethereum Foundation Grants Update – Wave III
  • Crypto

Ethereum Foundation Grants Update – Wave III

  • August 27, 2025
  • Roubens Andy King
Read More
You May Also Like
Ethereum Exchange Reserves Decline – Strong Accumulation Signal
Read More
  • Forex

Ethereum Exchange Reserves Decline – Strong Accumulation Signal

  • Roubens Andy King
  • August 30, 2025
Tether abandons plan to freeze USDT on legacy crypto networks, classifies them ‘unsupported’
Read More
  • Forex

Tether abandons plan to freeze USDT on legacy crypto networks, classifies them ‘unsupported’

  • Roubens Andy King
  • August 30, 2025
To Infinity and Beyond! | Ethereum Foundation Blog
Read More
  • Forex

To Infinity and Beyond! | Ethereum Foundation Blog

  • Roubens Andy King
  • August 29, 2025
Read More
  • Forex

Solana Breaks Out Of Ascending Triangle: Is $300 The Next Stop?

  • Roubens Andy King
  • August 29, 2025
Strategy Bitcoin lawsuit dismissed as investors withdraw case
Read More
  • Forex

Strategy Bitcoin lawsuit dismissed as investors withdraw case

  • Roubens Andy King
  • August 29, 2025
Binance Targeted For Alleged Market Manipulation
Read More
  • Forex

Binance Targeted For Alleged Market Manipulation

  • Roubens Andy King
  • August 29, 2025
Pudgy Penguins Token Declines Sharply in August Amid NFT Market Downturn
Read More
  • Forex

Pudgy Penguins Token Declines Sharply in August Amid NFT Market Downturn

  • Roubens Andy King
  • August 29, 2025
Ethereum Foundation pauses Ecosystem Support Program’s open grant applications
Read More
  • Forex

Ethereum Foundation pauses Ecosystem Support Program’s open grant applications

  • Roubens Andy King
  • August 29, 2025

Recent Posts

  • Apple’s iPhone 17 ‘Awe dropping’ event is on September 9 — Here’s what we expect
  • The Flippening? Ethereum ETFs Attract $4 Billion This Month, While Bitcoin Products Struggle
  • Ethereum Exchange Reserves Decline – Strong Accumulation Signal
  • Why Trump’s global tariffs were rejected in court — and what comes next
  • Here’s What the Wall Street Thinks About Revolution Medicines (RVMD)
Featured Posts
  • Apple’s iPhone 17 ‘Awe dropping’ event is on September 9 — Here’s what we expect 1
    Apple’s iPhone 17 ‘Awe dropping’ event is on September 9 — Here’s what we expect
    • August 30, 2025
  • The Flippening? Ethereum ETFs Attract  Billion This Month, While Bitcoin Products Struggle 2
    The Flippening? Ethereum ETFs Attract $4 Billion This Month, While Bitcoin Products Struggle
    • August 30, 2025
  • Ethereum Exchange Reserves Decline – Strong Accumulation Signal 3
    Ethereum Exchange Reserves Decline – Strong Accumulation Signal
    • August 30, 2025
  • Why Trump’s global tariffs were rejected in court — and what comes next 4
    Why Trump’s global tariffs were rejected in court — and what comes next
    • August 30, 2025
  • Here’s What the Wall Street Thinks About Revolution Medicines (RVMD) 5
    Here’s What the Wall Street Thinks About Revolution Medicines (RVMD)
    • August 30, 2025
Recent Posts
  • Why Erroding the Fed’s Independence Will Only Make It Harder to Track Mortgage Rates
    Why Erroding the Fed’s Independence Will Only Make It Harder to Track Mortgage Rates
    • August 30, 2025
  • Why TSMC (TSM) Dipped More Than Broader Market Today
    Why TSMC (TSM) Dipped More Than Broader Market Today
    • August 30, 2025
  • Labor Day 2025: What’s open & what’s closed?
    Labor Day 2025: What’s open & what’s closed?
    • August 30, 2025
Categories
  • Business (1,964)
  • Crypto (1,359)
  • Economy (115)
  • Finance Expert (1,623)
  • Forex (1,357)
  • Invest News (2,249)
  • Investing (1,379)
  • Tech (1,949)
  • Trading (1,933)
  • Uncategorized (2)
  • Videos (803)

Subscribe

Subscribe now to our newsletter

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

Input your search keywords and press Enter.