← Back to news

XRP Ledger patches flaw that could have created billions of XRP

Published · Updated

Our rating ★★★★★ Bearish

Automatic reading; not trading advice.

The XRP Ledger patched a flaw that could have allowed attackers to create and spend large amounts of XRP without paying for it. The vulnerability, believed to date to 2015, threatened the token’s fixed supply of 100 billion.

The bug was found by researcher Cayden Liao and Veria AI and internally reported on Sept. 22. RippleX engineers reproduced the attack on a standalone server and confirmed that the newly created XRP could be spent in a later transaction.

How the flaw worked

The vulnerability involved the ledger’s built-in exchange, where accounts post offers to swap one token for another. An attacker could open hundreds of accounts, each offering a tiny amount of a token in exchange for an unusually large amount of XRP.

A single payment could then take up all those offers. The total XRP owed would exceed what the software could count correctly: the accounts receiving XRP would be credited in full while the paying account was charged almost nothing.

The ledger checks after every transaction that no new XRP has appeared, but that check relied on the same miscount and could have missed the newly created tokens. A separate limit on how much XRP one account could receive would not have stopped the attack, because the tokens could be spread across hundreds of accounts.

Attack requirements

The method required only a few hundred XRP to open the accounts, most of which could be recovered, plus transaction fees. An attacker could then have traded the resulting XRP on exchanges, undermining the supply limit relied on by institutions using the network.

RippleX said it found no evidence that the flaw had been exploited on public networks. All 100 billion XRP were created when the ledger launched in 2012, and its software is designed to prevent additional tokens from being added.

Patch released

Developers shipped the fix in xrpld 3.4.1, the ledger’s server software, on Sept. 25, without disclosing what it repaired. The vulnerability was therefore addressed before its details were made public.

The incident adds to a series of long-hidden crypto security flaws surfaced with AI help since July. Those included a Coldcard wallet bug linked to the theft of at least 1,367 BTC and vulnerabilities that led Core Lightning to tell bitcoin node operators to disconnect.

Analysis

The market channel is XRP supply integrity: newly spendable tokens could have challenged the ledger’s 100 billion cap. XRP was most exposed because the flaw affected its built-in exchange and could have created XRP, though no public-network exploitation was found. Watch for deployment of xrpld 3.4.1, released Sept. 25.

Coins in this story

Bitcoin · BTCXRP

Sources

This story was gathered from the sources below and translated with the help of AI tools.

Related news

← Back to news

Latest news