Download Latest Version Version 0.8.39 source code.zip (9.1 MB)
Home / v0.8.39
Name Modified Size InfoDownloads / Week
Parent folder
solc-macos 2026-11-19 32.2 MB
solc-static-linux 2026-11-19 15.8 MB
solc-static-linux-arm 2026-11-19 14.4 MB
solc-windows.exe 2026-11-19 9.7 MB
soljson.js 2026-11-19 10.9 MB
solidity_0.8.39.tar.gz 2026-11-19 9.7 MB
README.md 2026-11-19 2.6 kB
Version 0.8.39 source code.tar.gz 2026-11-19 3.6 MB
Version 0.8.39 source code.zip 2026-11-19 9.1 MB
Totals: 9 Items   105.4 MB 7

We are excited to announce the release of the Solidity Compiler v0.8.39!

This release fixes a security bug that yields a storage corruption when overwriting (by copying) a recursive struct in storage with a struct nested inside it. In addition, we've also fixed some other smaller bugs, as well as continuing our work on the experimental Ethdebug features.

Changelog

Important Bugfixes:

  • Code Generator: Fix storage corruption when overwriting a recursive struct in storage with a struct nested inside it. Copying a recursive struct between storage locations now performs a runtime overlap check, taking a memory snapshot of the source when the target contains it.

Compiler Features:

  • Commandline Interface: Omit the compilation record from --ethdebug-resources (experimental).
  • ethdebug: Populate the type and pointer tables of ethdebug/format/info/resources with type documents and layout-specific pointer templates for storage, transient storage, memory and calldata (experimental).
  • ethdebug: Stamp the ethdebug/format/program and ethdebug/format/info/resources outputs with their schema and the version of the ethdebug/format specification they follow (experimental).
  • EVM: Warn about exceeding the increased contract code size (64 KiB) and initcode size (128 KiB) limits instead of the EIP-170 and EIP-3860 limits when compiling for the Amsterdam EVM version (EIP-7954).
  • Standard JSON Interface: Omit the compilation record from ethdebug.resources (experimental).
  • Yul: Warn when the assembled bytecode of a compiled Yul object exceeds the EIP-170 (runtime code) or EIP-3860 (initcode) size limit, matching the existing warnings for Solidity input.

Bugfixes:

  • Code Generator: Fix tuple assignments swapping values when a nested tuple component occupying at least one stack slot grows during type conversion.
  • ethdebug: Fix incorrect source file IDs in instruction locations (experimental).
  • SMTChecker: Fix empty tuples being printed as an undeclared constant in SMT-LIB queries, which made the solver reject every query of the affected contract.
  • SMTChecker: Fix false negative in CHC engine when a function from abstract base is called externally using this.

We would especially like to thank all the contributors that made this release possible: blishko, clonker, djole, Hugo de Sa Pereira Pinto, Kamil Śliwak, Mate Soos, Matheus Aguiar, Nikola Matić, r0qs, rodiazet

Source: README.md, updated 2026-11-19