As reported on November 20, 2026, the Solidity team released version 0.8.39 to fix a medium-severity bug that could corrupt storage data without an error. The bug could occur when copying a recursive struct, or an array of such structs, from storage into a storage location containing the source data.
According to the team, affected versions were 0.4.9 through 0.8.38 when using the evmasm compilation pipeline, and 0.8.13 through 0.8.38 when using the IR pipeline. The fix adds a runtime check, which incurs additional gas costs.
After scanning verified contracts in the Sourcify database, the team said it found no deployed contracts that performed the affected copy operation.

