XRPL Payment Overflow: How a Critical XRP Supply Bug Was Patched
The XRP Ledger avoided a potential supply-integrity failure that, in a deliberately constructed test, could have created spendable XRP beyond the protocols intended total supply. RippleXs October 9 disclosure describes a critical arithmetic bug that had remained in the payment engine since 2015. The project states it found no evidence of exploitation on any public network. Developers released xrpld 3.4.1 on September 25; the issue is now patched, not an active confirmed minting event. The widely repeated 18 trillion XRP example comes from security researcher Cayden Liaos proof-of-concept estimate. It illustrates possible severity; it is not the amount created on Mainnet and not a financial loss.How one payment could overpay hundreds of offers XRPL payments can consume multiple offers in the native order book. The vulnerable code added the XRP amounts owed across offers using unchecked 64-bit integer arithmetic. If a maliciously constructed group of offers caused the sum to exceed the integers limit, the total could wrap around to a small number. The engine credited each seller for the full sale while charging the buyer the wrapped total. This was not an everyday overflow condition. The attack required hundreds of attacker-controlled accounts offering tiny amounts of another token in exchange for extraordinarily









