Chain Future

Solidity, smart-contract development, developer tools and explained protocol engineering

Solidity v0.8.39 fixes recursive-struct storage bug

Developers working with recursive structs have a fix in Solidity v0.8.39. As reported on November 20, 2026, Solidity said the release addresses a medium-severity bug that could silently corrupt storage when a recursive struct was copied. The bug affected versions v0.4.9 through v0.8.38.

Solidity said a scan of contracts verified on Sourcify found no deployed contracts that performed the affected copy operation. That finding is limited to the contracts covered by the scan.

The release also fixes incorrect compilation of nested-tuple assignments and adds code-size warnings for the Amsterdam EVM version (EIP-7954).

Solidity said v0.8.39 would likely be the last release in the v0.8 series, with v0.9.0 next. The team plans to publish smaller releases more frequently rather than bundle many changes into a single large release.