Go to app

The XRP Ledger Counterfeiting Bug (~18 Trillion

Published 10/12/2026, 6:21:47 PM

This was an integer-overflow vulnerability in the XRP Ledger's (XRPL) payment engine that theoretically could have allowed an attacker to mint roughly 18.45 trillion XRP — about 184× the network's fixed 100 billion supply cap. It was disclosed publicly on October 9, 2026, and patched in xrpld v3.4.1 on September 25, 2026 [Source: https://xrpl.org/blog/2026/vulnerabilitydisclosurereport-bug-20261009] [Source: https://crypto.news/xrp-ledger-confirms-100b-supply-is-safe-after-major-security-flaw/].

The Mechanism (How it worked)

The XRPL features a built-in order-book marketplace where accounts post offers to trade one token for another. The payment engine sums the amounts owed across all the offers consumed by a single payment. When the combined amount exceeded the maximum value the system could represent, the calculation overflowed. This caused the buyer's cost to "wrap" to a near-zero value while the seller accounts still received full payment. The ledger's books appeared balanced while actual supply quietly ballooned, and existing safety checks did not catch it. The integer-overflow flaw required hundreds of carefully constructed transactions, allowing manipulated costs to wrap to a near-zero value while seller accounts received full payments [Source: https://www.coindesk.com/tech/2026/10/12/why-a-bug-that-could-have-threatened-xrp-s-100-billion-supply-cap-stayed-hidden-for-years]. The exploit involved an attacker opening a few hundred accounts, each offering a tiny amount of a token in exchange for a huge amount of XRP [Source: https://es.tradingview.com/news/coinpedia:985ca6811094b:0-xrp-news-xrpl-reveals-critical-bug-that-could-have-created-new-xrp/].

Timeline of Events

Date (2026)Event
Sept 21Veria AI (Veria Labs security system) detected the vulnerability
Sept 22Researcher Cayden Liao and Veria AI reported it via the XRPL bug bounty program
Sept 25Fixed in xrpld v3.4.1; >80% of default validators upgraded
Oct 9Public disclosure report published; second bug (Batch inner transaction wrapper validation, fixBatchV1_2) activated on mainnet
Oct 10–12Widespread media coverage

[Source: https://en.cryptonomist.ch/2026/10/11/xrp-ledger-security-bug] [Source: https://crypto.news/xrp-ledger-confirms-100b-supply-is-safe-after-major-security-flaw/] [Source: https://xrpl.org/blog/2026/vulnerabilitydisclosurereport-bug-20261009]

The bug is believed to date back to 2015, and was found by researcher Cayden Liao and Veria AI, and internally reported on September 22 [Source: https://lcx.com/en/cryptonews/xrp-ledger-patched-decade-old-bug-that-could-create-billions-of-dollars-in-xrp-f]. The vulnerabilities were disclosed in a report containing details of two bugs fixed in the v3.4.1 release: the payment engine XRP overflow error and a separate Batch inner transaction wrapper validation error [Source: https://xrpl.org/blog/2026/vulnerabilitydisclosurereport-bug-20261009].

Impact and Risk Assessment

Counterpoint / Nuance

The "18 trillion" figure is a theoretical maximum from a single crafted transaction, not an amount that was ever minted. The bug required hundreds of carefully constructed accounts and offers, and there is no evidence it was ever triggered on mainnet. While the headline is dramatic, the actual risk to the 100B supply was never realized [Source: https://news.finst.com/en/articles/xrp-ledger-patches-bug-that-could-create-new-xrp] [Source: https://www.gate.com/news/detail/xrp-ledger-foundation-clarifies-security-fix-vulnerability-did-not-create-24891706].

Bottom Line

This was a genuine, decade-old critical vulnerability in XRPL's payment engine that theoretically could have minted ~18 trillion XRP (184× the supply cap), but it was responsibly disclosed, patched before any confirmed exploitation, and the 100 billion supply cap was never actually broken.