XRP Ledger patches 2015 bug that could have minted XRP
XRP $0.8701▼ −7.41% 24has of Dec 3, 2026, 6:40 AM ET
The XRP Ledger fixed a decade-old payment engine overflow in xrpld 3.4.1 that could have created spendable XRP, and found no sign it was exploited.
Key points
- Payment engine overflow dating to about 2015 could have created spendable XRP
- Fixed in xrpld 3.4.1 on Sept. 25; disclosed Oct. 9
- RippleX found no evidence of exploitation on any public network
- Operators must run 3.4.1 or newer; older servers are amendment-blocked
Developers of the XRP Ledger disclosed on Oct. 9 that they fixed a critical payment engine bug, likely present since 2015, that could have let an attacker create spendable XRP without funding it. The fix shipped in xrpld 3.4.1 on Sept. 25, and the developers said they found no evidence of exploitation on any public network, according to the XRPL vulnerability disclosure report and CoinDesk.
How the XRP overflow worked
The report describes an unchecked 64-bit integer sum in the payment engine. When a single payment consumed many specially priced offers on the ledger’s built-in exchange, the total could wrap around. The buyer was then charged only the wrapped amount, while the owners of the offers were paid in full. The difference was newly created XRP.
The ledger’s existing safety check, which is meant to confirm that no XRP is created in a transaction, used the same unchecked arithmetic and so did not catch the error. CoinDesk reported that a per-account receive limit could also be sidestepped by spreading funds across many accounts, and that an attack would have needed only a few hundred XRP to open accounts, most of it recoverable, plus fees. XRP’s supply of 100 billion tokens was fixed when the ledger launched in 2012, CoinDesk noted.
Discovery and the emergency fix
Researcher Cayden Liao and Veria AI reported the flaw on Sept. 22 through the XRPL bug bounty program, according to the report. It was first rated Major and then raised to critical by RippleX, Ripple’s developer arm, after the team reproduced the attack. CoinDesk said RippleX showed on a standalone server that the newly created XRP could be spent.
The patch added overflow checks to the steps that sum offers and combine payment paths, and the invariant check now uses a wider counter. Unlike most XRP Ledger changes, the fix did not go through the amendment voting process and took effect as each server upgraded. The report called this a deliberate exception because of the severity. It said more than 80 percent of validators on the default Unique Node List were running 3.4.1 on the day of release.
The affected software is xrpld 3.4.0 and earlier. The release did not disclose the nature of the fix when it shipped on Sept. 25, and the full report followed two weeks later.
A separate Batch fix and what operators must do
The same report covered a second, lower-impact issue in the Batch feature, in which the server did not verify how inner transactions were wrapped. It affected versions 3.3.0 and 3.4.0 under the BatchV1_1 amendment, which was not active on Mainnet when the bug was found. The report said it caused no loss of funds or incorrect Mainnet transactions. The fixBatchV1_2 amendment, which addresses it, activated on Mainnet on Oct. 9, along with BatchV1_1. Validators briefly withdrew their BatchV1_1 votes so that activation would come after the fix.
The report said all server operators must run 3.4.1 or newer to stay in sync with the network. Older servers are now amendment-blocked. The xrpld 3.4.1 source code has been published.
CoinDesk placed the discovery among a growing number of long-hidden crypto flaws found with AI assistance, including a Coldcard wallet bug tied to the theft of at least 1,367 BTC.