The Solidity compiler recently released version 0.8.39, with its main fix focused on storage safety. The team disclosed that the vulnerability is of medium severity and could, under certain conditions, silently corrupt stored data—that is, no error would be triggered during code execution, even though the stored contents had been unexpectedly changed.
The vulnerability is related to how recursive structs are handled. A flaw exists in code paths across multiple 0.8.x versions when a program attempts to copy a recursive struct from storage into a primary storage location that contains that struct. The official fix introduces a runtime overlap-checking mechanism. This change prevents conflicting writes, but also increases gas consumption.
The team conducted a comprehensive scan of contracts deployed on-chain and found that none are currently exposed to the risk. To date, no public cases indicate that the vulnerability has been exploited to cause actual losses.
The vulnerability is related to how recursive structs are handled. A flaw exists in code paths across multiple 0.8.x versions when a program attempts to copy a recursive struct from storage into a primary storage location that contains that struct. The official fix introduces a runtime overlap-checking mechanism. This change prevents conflicting writes, but also increases gas consumption.
The team conducted a comprehensive scan of contracts deployed on-chain and found that none are currently exposed to the risk. To date, no public cases indicate that the vulnerability has been exploited to cause actual losses.
