XRP Ledger Bug: Could Have Created Billions in XRP
The XRP Ledger patched a vulnerability that could have created billions of dollars of XRP from nothing. A flaw in the XRP Ledger’s payment system could have let an attacker create large amounts of new XRP without paying for it, breaking the token’s fixed-supply rule. For UK traders holding XRP or relying on the ledger for settlement, understanding what happened is essential.
How the Bug Worked
An attacker could have, theoretically, open hundreds of accounts, have each one offer a tiny amount of a token in exchange for an unusually large amount of XRP, then send a single payment that bought every offer at once.
The total XRP owed would be too large for the software to count correctly, so the attacker’s selling accounts would be paid in full while the buying account was charged almost nothing—leaving the attacker with XRP that hadn’t existed before.
The exploit required specially crafted offers from hundreds of accounts, costing only a few hundred XRP in reserves and fees, with most of that outlay recoverable.
Why the Safety Checks Failed
The XRP Ledger runs a check after every transaction to make sure no new XRP has appeared, but that would have relied on the miscounted total and missed it. A separate limit on how much XRP a single account can receive wouldn’t have triggered either, because the attack spread the XRP across hundreds of accounts.
The Discovery and Fix
The bug was found by researcher Cayden Liao and Veria AI and internally reported on Sept. 22. Engineers at RippleX, Ripple’s developer arm, reproduced the attack on a standalone server and confirmed the newly created XRP could be spent in a later transaction.
Developers shipped the fix on Sept. 25 without disclosing what it repaired.
No Evidence of Exploitation
RippleX said it found no evidence the flaw was exploited on any public network. All 100 billion XRP were created when the ledger launched in 2012, and its software is built so no more can ever be added. The discovery and fix confirm that supply integrity remains intact.
What This Means for Traders and Developers
A bug that mints an asset from nothing sits at the top of the severity scale for any blockchain. The entire proposition of a public ledger is that supply is fixed by code and verifiable by anyone. An inflation bug breaks that promise directly: tokens that should not exist become spendable, and every holder’s stake is diluted without consent or record.
A flaw of this severity reportedly persisting for about ten years means it survived countless code reviews, upgrades, and audits without being caught or, as far as the public record shows, exploited.
This is why mature protocols treat security as a continuous process rather than a one-time audit, and why patched-before-exploited disclosures like this one are the outcome the process is built to produce.
Main picture: Photo by Deng Xiang on Unsplash
Be First to Comment