Skip to content

Outdated Compiler / Known Compiler Bug Exposure

SAFE-0079 Best Practice Checked automatically by the scanner
1

What goes wrong

Using an old Solidity version exposes the contract to known compiler bugs (e.g. ABI coder issues, storage bugs) fixed in later releases.

2

How to fix it

the pattern that is safe
pragma solidity 0.8.24; // recent, fewer known issues
SWC-102. Use an up-to-date compiler.
3

Where this has happened

Largest recorded losses in the same failure class — related, not the same bug:

Check your own contract for this

The SaferICO scanner runs 201 detectors over your Solidity source, SAFE-0079 among them. Paste an address or the source itself — a small per-scan fee, shown before you sign, or unlimited on any plan.

Run the scanner See how it is attacked Read the docs