The XRP Ledger bug that could have created trillions of XRP: what happened and how it was fixed

Short answerPatched, no loss

A bug in the XRP Ledger's payment engine, present since 2015, could have let one specially crafted transaction create spendable XRP far beyond the 100 billion supply. It was reported through the XRPL bug bounty on 22 September 2026 and fixed three days later in xrpld 3.4.1.

Maintainers say there is no evidence it was ever exploited: no XRP was created and no funds were lost. XRP holders don't need to do anything. The fix was shipped as an emergency update outside the usual amendment vote for the first time, which started a debate about how decentralised the XRP Ledger really is.

Key facts

Reported
22 Sep 2026, via the XRPL bug bounty
Fixed
25 Sep 2026, xrpld 3.4.1
Publicly disclosed
9 Oct 2026
Found by
Cayden Liao and Veria AI
Affected
Payment engine in xrpld 3.4.0 and earlier
Exploited?
No evidence of exploitation on any public network
Funds lost / XRP created
None
Bounty
$250,000 (as stated by the researcher)

Timeline

  1. 22 Sept 2026

    The bug is reported through the XRPL bug bounty and rated Major. RippleX reproduces it and raises it to Critical.[1]

  2. 23 Sept 2026

    A fix, built and reviewed privately, is merged into release candidate 3.4.1-rc1. Maintainers decide to ship it outside the amendment process.[1]

  3. 24 Sept 2026

    A related scenario in which crafted offers could block other payments is assessed and judged impractical.[1]

  4. 25 Sept 2026

    xrpld 3.4.1 is released as a binary-only update. More than 80% of validators on the default list run it the same day.[1],[2]

  5. 9 Oct 2026

    The vulnerability disclosure is published and the source code for the fix is released. The fixBatchV1_2 amendment activates, so servers older than 3.4.1 can no longer follow the network.[1],[2],[6]

  6. 11 Oct 2026

    Researcher Cayden Liao describes the find publicly; The Block and Gizmodo report it, including his claim that one transaction could have created about 18 trillion XRP.[3],[4]

  7. 12 Oct 2026

    Investor Justin Bons attacks the emergency patch process; the XRP Ledger Foundation and validators defend it.[5],[7]

How the bug worked

Think of a car's odometer rolling over from 999,999 back to 0. The XRP Ledger's payment engine had the same weakness when it added up large numbers.

  • OfficialWhen one payment consumed many sell offers in the order book, the engine added up the XRP amounts in a 64-bit number without checking whether the total had become too large to store.[1]
  • OfficialWith a few hundred offers at absurd prices, the total went past the maximum and wrapped round to a small number. Each seller was paid in full, but the buyer was charged only the small wrapped total. The difference was newly created XRP.[1]
  • OfficialThe safety check meant to stop XRP being created used the same unchecked maths, so it wrapped too, and the per-account check missed it because the new XRP was spread across many accounts.[1]
  • OfficialAn attacker would have needed only a few hundred XRP for account reserves (refundable) plus fees.[1]
  • ReportedThe researcher says the attack chained two bugs that were each low-severity on their own.[3]

Could it really have created 'unlimited' XRP?

  • OfficialCreating new XRP in a single validated transaction was genuinely possible. The official disclosure says the amount could go "far beyond the total supply".[1]
  • ReportedCayden Liao puts it at about 18 trillion XRP, or roughly 184 times the supply, in one transaction. That figure is the researcher's own estimate.[3]
  • ReportedIt was never done on the live network, and the 100 billion cap was never broken: about 99.986 billion XRP exist today after fees burned over the years.[1],[6]
  • "Unlimited" is a headline word, not the maintainers' term. The amount per transaction was huge but finite, and the attack needed custom-crafted offers.

How it was fixed

  • Officialxrpld 3.4.1 checks for overflow when adding up offers and when combining payment paths. A payment that would overflow now simply fails, and the supply check uses a counter that cannot wrap.[1],[2]
  • OfficialNormally, rule changes on the XRP Ledger go through an amendment vote by validators that takes about two weeks. Doing that would have published the fix, and so revealed the bug, two weeks before it took effect. Instead the fix applied as soon as each server upgraded.[1]
  • OfficialMaintainers acknowledge that servers on mixed versions risked disagreeing, or even stalling the network, but note that normal transactions never reach the affected code. They describe it as the first deliberate change of this kind outside the amendment system.[1]
  • OfficialThe same release also fixed a separate, low-severity validation bug in the Batch feature, through the normal amendment process (fixBatchV1_2).[1],[2]

The controversy

  • ReportedJustin Bons of Cyber Capital called selling XRP to retail investors as decentralised "straight-up fraud", objecting that the fix shipped as binaries with the source withheld, that operators were pushed to upgrade, and that the default validator list is concentrated. This is his opinion.[5],[6]
  • OfficialThe XRP Ledger Foundation said the decision was taken jointly by the Foundation, RippleX, core developers and validators, that "no single party could make that call alone", and that every operator chooses its own software.[5],[7]
  • ReportedValidator operator Daniel Keller said he "had the chance to refuse the upgrade".[4]
  • OfficialRippleX's J. Ayo Akinyele said the bug was found "through our bug bounty program before it could ever be exploited".[5]

What's confirmed and what isn't

Confirmed or officially stated

  • OfficialNo evidence the bug was exploited on any public network.[1]
  • OfficialFixed in xrpld 3.4.1 on 25 September 2026; servers on older versions are now amendment-blocked.[1],[2]
  • OfficialThe emergency release bypassed the amendment vote by design, to avoid exposing the bug before the fix was live.[1]

Disputed or unconfirmed

  • ReportedThe 18 trillion XRP figure and the $250,000 bounty come from the researcher, not from Ripple or the Foundation.[3]
  • UnconfirmedCrypto Times reported that ZachXBT called the $250,000 bounty too low. We could not open the original post to confirm the wording.[8]
  • ReportedHow Veria's AI system found the bug has not been explained by either party.[4]

What you should do

  1. 1If you hold XRP: you don't need to do anything. No balances were affected and no XRP was created.
  2. 2If you run an XRP Ledger node or validator: make sure you run xrpld 3.4.1 or later. Older versions are amendment-blocked and cannot stay in sync with the network.
  3. 3Ignore messages that say you must "migrate", "re-verify" or "claim" XRP because of this bug. There is no such process; messages like that are scams.

Open questions

  • Who exactly signed off on bypassing the amendment process, and whether a written emergency policy will follow.
  • Ripple or the Foundation has not officially confirmed the bounty amount.
  • How the AI-assisted discovery worked.

Frequently asked questions

Was XRP actually created by the bug? +

No. The maintainers say there is no evidence it was exploited on any public network, and the total supply was never exceeded.

Do I need to do anything with my XRP? +

No. Only people who run XRP Ledger servers had to upgrade, to xrpld 3.4.1 or later.

Why didn't the fix go through a validator vote? +

A vote takes about two weeks and would have revealed the bug before it was fixed. The maintainers shipped the fix directly so it took effect as each server upgraded, which they say was a one-off emergency decision.

Who found the XRP Ledger bug? +

Researcher Cayden Liao with Veria AI, who reported it through the XRPL bug bounty on 22 September 2026.

Update log

  • 28 Nov 2026 · Investigation published.

Sources

  1. [1] Vulnerability Disclosure Report for xrpld 3.4.1 · XRPL.org, 9 Oct 2026
  2. [2] rippled 3.4.1 release notes · XRPLF on GitHub, 10 Oct 2026
  3. [3] XRP Ledger patches decade-old bug that could have minted trillions of XRP · The Block, 11 Oct 2026
  4. [4] XRP bug could have let hackers print billions in crypto out of thin air · Gizmodo, 11 Oct 2026
  5. [5] XRP Ledger defends emergency patch for unlimited XRP bug · Cointelegraph (via TradingView), 12 Oct 2026
  6. [6] XRP Ledger bypasses own amendment vote for first time · TechTimes, 13 Oct 2026
  7. [7] XRP Ledger Foundation denies patch was 'forced' · KuCoin News, 12 Oct 2026
  8. [8] ZachXBT slams $250K bounty for XRP Ledger bug · Crypto Times, 12 Oct 2026

How we report incidents. Every statement on this page links to its source. We mark what the company or an authority has said (Official), what a named outlet or investigator has reported (Reported), and claims we could not confirm (Unconfirmed). We update this page as the story develops. Spotted an error or have information? Write to us. This is not financial advice.