XRP Ledger Patches a Flaw That Could Have Undermined the Token’s Fixed Supply
XRP Ledger fixed an integer overflow that could have minted unlimited XRP. The patch skipped a validator vote to avoid exposure; no XRP was created.
Club desk Updated 2026-10-13 0 replies
What happened?
On Friday, October 9, XRP Ledger developers published a vulnerability disclosure report describing an integer overflow in the ledger's payment engine. If exploited, the flaw would have handed an attacker newly minted, spendable XRP far beyond the total supply in one transaction.
The flaw was fixed in xrpld 3.4.1, released on September 25. The report said, "We have found no evidence that this issue was exploited on any public network."
Who reported it and how serious was it?
Researcher Cayden Liao and Veria AI flagged the issue through the XRP Ledger bug bounty program on September 22. The submission rated it Major. RippleX engineers raised it to critical after reproducing the mint on a standalone server and confirming that the new XRP could be spent in a follow-up payment. The report said the bug had likely existed since the current payment engine was written in 2015.
Liao wrote on X that the bug "let anyone mint infinite XRP, with $94 billion at risk." The report itself gives no XRP or dollar amount.
What is an integer overflow in simple terms?
An integer overflow happens when a computer adds numbers larger than the size limit it can store. The XRP Ledger payment engine used unchecked 64-bit addition to total what a payer owed. In that setup, a sum that grew too large could wrap around to a very small number instead of being rejected as impossible.
How could an attacker have used the bug?
The report described a multi-step exploit. An attacker would open a few hundred accounts and have each account post a deliberately mispriced offer. Each offer would demand an enormous amount of XRP for a sliver of some token. The attacker would then route one payment through every offer at once.
Because the engine totaled what the payer owed with unchecked 64-bit addition, the sum rolled over to a tiny figure. Each offer owner received the full amount, while the payer was debited only the rolled-over number.
The setup required only a few hundred XRP in reserves, which can be reclaimed, plus fees, according to the report.
Why did the ledger's safety checks not catch it?
The report said neither of two existing safety checks caught the problem. The invariant meant to stop XRP creation relied on the same unchecked math. The per-account limit only trips when one account holds more than the entire supply. Because the attack used many accounts and a payment route that produced a rolled-over total, the usual protections did not see the minted XRP as a supply violation.
Why was there no validator vote before the fix?
The fix took effect on each server as soon as it upgraded. It skipped the usual process in which a rule change must keep more than 80% validator support for two weeks. The report called it the first change to transaction processing deliberately shipped that way since amendments were introduced more than a decade ago.
The report said the reason was that xrpld is open source. A voted fix would have exposed the bug for weeks while it remained exploitable. More than 80% of the default validators ran xrpld 3.4.1 on release day, when its source code had not yet been published. The report says the source code has now been published.
The report added that the case "does not change how the XRP Ledger makes protocol changes." It said bypassing amendments "only makes sense for the most severe bugs, where the exploit is even worse than a network halt."
Did any XRP actually get created?
No. The XRP Ledger Foundation said on X on Sunday that no XRP had been created. It wrote, "About 99.986 billion XRP exist today." It also said, "AI makes bugs like this faster to find, for the bad guys and the good guys."
Was there another bug in the same report?
Yes. The report also disclosed a second, lower-impact bug in the Batch feature. The Batch feature was not yet live on Mainnet at the time. Its fix, the fixBatchV1_2 amendment, activated October 9.
Developers said every security finding marked as fixed will now be re-tested against each release candidate before it is closed.
What does this mean for readers?
For readers, the story is about ledger integrity and disclosure process. The bug showed that a payment-engine math error could have created spendable XRP beyond the fixed-supply model, but the report found no evidence that this happened on any public network. The fix moved quickly because a public vote could have left the flaw open while the code was public. The Foundation said no XRP had been created and that about 99.986 billion XRP exist today.
The claim of "$94 billion at risk" came from Liao's public post, not from the report, which gives no dollar amount. For readers following supply-related news, that distinction matters: the report describes a critical flaw that was fixed, while also stating that no public-network exploitation was found.