Halloween DealsAmazon USHalloween week deals: useful picks before month-endAmazon US: current deals, useful picks and tech finds.Check DealsWindows FixRecommendedWindows errors stealing your time? Find the fix fastScan stability, cleanup and performance issues.Fix NowHalloween DealsAmazon USOctober picks are moving - compare before checkoutAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
World desk3 min

Why an XRP Ledger Bug That Could Have Broken the 100 Billion Supply Cap Stayed Hidden for Years

An unchecked overflow in the XRP Ledger’s payment engine could have created spendable XRP beyond the intended supply limit. Here’s how it worked, why safeguards missed it, and what the 2026 fix changed.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

An unchecked integer overflow in the XRP Ledger’s payment engine could have created spendable XRP beyond the intended 100 billion supply limit. The flaw was in how the software added amounts across many order-book offers—not in XRP escrow—and the XRP Ledger Foundation says it found no evidence that the exploit was used on a public network. A fix shipped in xrpld 3.4.1 on September 25, 2026.

How the bug could have created XRP

A payment through an order book can consume multiple offers. Each offer’s XRP amount could be valid on its own, but the payment engine added those amounts using unchecked 64-bit integer arithmetic. When enough unusually large amounts were summed, the total could exceed the integer’s limit and wrap around to a much smaller number.

As an Amazon Associate I earn from qualifying purchases.

The engine could then pay each offer owner the full amount while charging the buyer only the wrapped total. The shortfall would be newly created XRP: the ledger would have credited more XRP than the transaction took from the payer. This was a software accounting flaw that could have broken the intended supply limit, not evidence that XRP’s published supply arrangement or escrow changed.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

What an attack required

An attacker would have needed to create hundreds of accounts and place offers selling tiny amounts of another token for enormous amounts of XRP. The attacker could control those accounts. Because the offers were priced so poorly, they would sit below real market liquidity; a purpose-built payment would have to reach and consume them together. Routine payments and trades could not trigger the overflow accidentally.

Why the flaw stayed hidden

The XRP Ledger Foundation’s disclosure says investigation suggests the bug had been present since the current payment engine was written in 2015. Ordinary transactions did not add amounts anywhere near the 64-bit limit, so the vulnerable path remained dormant until a deliberately constructed set of offers could push the aggregate sum over that limit.

Two checks that might have exposed the accounting error failed for different reasons:

  • The “no XRP created” invariant used vulnerable arithmetic too. It summed changes with the same kind of 64-bit arithmetic, so it wrapped in the same way. The apparent net change looked like an ordinary transaction fee rather than newly created XRP.
  • The per-account check did not catch distributed balances. It would fail if one account held more XRP than the total supply. The exploit could spread the newly credited XRP across hundreds of accounts, keeping each individual balance below that threshold.

The limitation matters because invariants are intended to check whether a transaction’s changes preserve system properties before those changes are committed. The XRP Ledger Community Blog’s 2017 explanation of its EnforceInvariants amendment describes that role. In this case, the check shared the arithmetic failure it was meant to detect.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

How the flaw was found and fixed

The Foundation says the vulnerability was reported through the XRPL Bug Bounty program on September 22, 2026. RippleX engineers reproduced the mint on a local standalone server and in unit tests, and confirmed that the resulting XRP could be spent in a follow-up payment. The report credits Cayden Liao and Veria AI with the original report and proof of concept; engineers raised its severity from Major to critical.

The fix shipped in xrpld 3.4.1 on September 25, 2026. Its defenses address both parts of the failure: checked additions detect when sums across offers or payment paths would overflow, causing the affected path to fail cleanly, and the “no XRP created” check now uses a wider counter that cannot wrap in the same way. The disclosure also describes precautionary hardening of other balance-summing code.

Rather than wait for the usual amendment activation process, the team made the fix effective as individual servers upgraded. The Foundation’s report says more than 80 percent of default UNL validators were running version 3.4.1 or later on release day, before the fix’s source code was published. That figure is the disclosure’s account of validator upgrades, not an independently verified census.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Was the XRP supply bug exploited?

The Foundation’s disclosure says there is no evidence the vulnerability was exploited on a public network. That supports saying the bug could have created XRP, but not that it actually inflated the XRP supply on Mainnet. The engineers’ reproduction on a local server and in tests demonstrated the mechanism; it does not establish a public-network exploit.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Ripple’s separate 2017 escrow explanation says 55 billion XRP—55% of the total possible supply—was placed in escrow to support supply predictability. That background is unrelated to this bug’s mechanics: escrow did not catch the overflow or enforce the no-creation invariant.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Windows Errors? Fix Them Before They SpreadFree repair scan
Crashes, No Sound, or Screen Glitches?Free driver scan

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.