Corruption
Corruption is a deleterious error in computing, sometimes maliciously generated, that alters data. Learn what causes data corruption, how systems detect it, how it relates to data integrity, and how to recover from it.
What is corruption?
In computing, corruption (data corruption) happens when data is changed in an unintended way so that it no longer matches what was originally written. A corrupted file may fail to open, show garbled content, or contain wrong values that go unnoticed. Corruption can affect single files, databases, file systems, backups, or data in transit across a network.
How does corruption happen?
Common causes include:
- Hardware faults: failing disks, memory errors, or damaged cables.
- Interrupted writes: power loss or crashes in the middle of saving data.
- Software bugs: errors in applications, drivers, or file systems.
- Transmission errors: data altered on its way across a network.
- Malicious activity: malware or attackers that deliberately alter or destroy data.
Systems detect corruption with checksums, hashes, and error-correcting codes. When the stored check value no longer matches the data, the system knows something changed.
Storage systems and databases often run regular integrity checks in the background so that silent corruption is found before the affected data is needed.
Corruption vs. data integrity
Data integrity is the goal: data stays accurate, complete, and unaltered except by authorized changes. Corruption is a failure of integrity. Integrity controls, such as checksums, access controls, and audit trails, aim to prevent corruption or at least make it visible quickly.
Why does corruption matter?
Corrupted data can stop systems, produce wrong results, or silently spread into backups. Recovering usually depends on having clean, tested backups and knowing when the corruption started. Detecting it early, and limiting who can modify critical data, keeps the damage small.
Keeping several generations of backups, rather than only the latest copy, gives you a clean restore point even when corruption is discovered late.
Frequently asked questions
What is data corruption?
Data corruption is a deleterious error in computing, sometimes maliciously generated, that alters data so it no longer matches its original state.
How do you fix corrupted data?
Restore it from a clean backup when possible. Some file systems and applications can repair minor corruption, but backups taken before the problem started are the most reliable fix.
Can malware corrupt data?
Yes. Some malware deliberately alters or destroys data, and ransomware encrypts it so it can no longer be used without the attacker's key.
Keep credentials safe and recoverable
Store, share, and govern credentials in one secure, encrypted place.
Related terms
Incremental backup
An incremental backup is a copy of data made only if the data has been altered since the last backup.
Read now →Availability
Availability is the quality of data being available to authorized users, especially when the data is most vulnerable, such as during a power outage, hardware failure, or cyberattack.
Read now →Ransomware
Ransomware is malware designed to hold sensitive data or a system "ransom" in exchange for money.
Read now →