Hutchinson Kansas Newspaper

collapse
Home / Daily News Analysis / XRP Ledger patched decade-old bug that could create billions of dollars in XRP from nothing

XRP Ledger patched decade-old bug that could create billions of dollars in XRP from nothing

Oct 17, 2026  Twila Rosenbaum 39 views
XRP Ledger patched decade-old bug that could create billions of dollars in XRP from nothing

The XRP Ledger has patched a vulnerability that had remained in its code since 2015 and could have allowed an attacker to create and spend new XRP out of nothing, a flaw that would have undermined the cryptocurrency's fixed supply of 100 billion tokens. The issue prompted an emergency software release, xrpld 3.4.1, on Sept. 25, according to the disclosure. Researchers demonstrated how a payment could create spendable XRP without the sender funding it. The network's developer arm said it found no evidence of exploitation on public networks.

The disclosure puts a spotlight on one of the most sensitive properties of any public blockchain: the ability of every participant to verify that supply is conserved. For XRP, that property is not cosmetic. The ledger is designed to cap the total number of tokens at 100 billion, and market participants rely on that cap when valuing the asset. A bug that could mint spendable tokens would have been a direct challenge to that guarantee.

Key facts

  • A flaw dating to 2015 could have allowed attackers to create and spend new XRP, violating the cryptocurrency's fixed supply of 100 billion tokens.
  • The vulnerability exploited a counting error in the XRP Ledger's built-in exchange, allowing hundreds of accounts to receive large amounts of XRP while the buyer paid almost nothing.
  • The network's developer arm said it found no evidence of exploitation on public networks and fixed the flaw in the xrpld 3.4.1 software release on Sept. 25.

How the flaw worked

At the center of the issue was the XRP Ledger's built-in exchange, a native order-book system that lets users trade assets and route payments across different issuers and currencies. That design is one of the ledger's defining features. It allows a payment to move through multiple steps, crossing offers and converting value along the way, without relying on an external smart contract or a separate exchange. But multi-step payment logic is also difficult to get right. Every debit must be matched by a credit, and every credit must be funded by a debit somewhere else in the same transaction.

According to the disclosure, the flaw was a counting error. In a normal payment, the sender's balance is reduced and the recipient's balance is increased by a corresponding amount. The ledger's accounting logic is supposed to enforce that relationship. In the flawed path, researchers showed that a payment could produce spendable XRP without the sender actually funding it. The result was not a display error or a temporary accounting artifact. The XRP was spendable, meaning it could be moved to other accounts or used in further transactions.

The disclosure also described the effect in concrete terms: hundreds of accounts could receive large amounts of XRP while the buyer paid almost nothing. That detail matters. A bug that credits a single account might be contained by limits or monitoring. A bug that can credit hundreds of accounts in one operation is a different kind of risk. It could be used to distribute newly created tokens across many addresses, making detection and recovery harder. It could also be repeated or combined with other transactions if the underlying counting error remained in place.

Why a decade-old bug survived

The flaw dated to 2015, according to the disclosure. That timing is significant because it means the bug was not introduced by a recent upgrade or a hastily written feature. It sat in software that had been through years of use, audits, and network upgrades. That is not unusual in complex financial software. Blockchain code is deterministic and adversarial: every validator must reach the same result, and every edge case can become a security issue. Legacy code can remain dormant because the right combination of payment paths, order-book offers, and account balances is difficult to construct.

For XRP Ledger users, the lesson is not that the network was necessarily careless. It is that supply invariants need constant testing. A decade-old counting error can survive because it only appears when specific conditions line up. The researchers who demonstrated the flaw had to show not just that a number was wrong, but that the wrong number produced spendable XRP. That is a higher bar. It means the bug crossed from an accounting inconsistency into an actual inflation risk.

The emergency patch

The fix arrived in xrpld 3.4.1 on Sept. 25. The release was described as an emergency software update, which reflects the severity of the issue. In a decentralized network, a patch is not automatically applied everywhere at once. Node operators, validators, exchanges, and custodians must upgrade their software. If enough validators run the fixed code, the network's consensus rules can reject the flawed transaction path. But coordination takes time, and the window before a fix is widely adopted can be sensitive.

The public disclosure came after the patch. That sequence is common in security response: fix first, then explain. It gives operators a chance to upgrade before attackers have a detailed roadmap. The disclosure did not describe every technical detail of the exploit, and that is probably intentional. Publishing a step-by-step guide to minting XRP would be irresponsible even after a patch, because unpatched nodes and test environments can remain exposed.

No evidence of exploitation on public networks

The network's developer arm said it found no evidence of exploitation on public networks. That is the most important operational fact in the disclosure. It means the flaw was discovered and fixed before there was a known case of someone using it to create spendable XRP on the live network. The statement does not prove that no attempt was ever made, and it does not cover every possible environment. It specifically addresses public networks.

Still, the absence of evidence is meaningful. Public blockchains are observable. Large transfers, unusual payment paths, and sudden balance changes can be monitored. If billions of dollars in XRP had been created from nothing and moved into the market, the effects would likely have been visible. The disclosure suggests that the flaw remained a theoretical and demonstrated risk rather than a realized loss.

What could have happened

The potential impact was severe because XRP's fixed supply is central to its monetary policy. If an attacker could create billions of dollars in XRP from nothing, the immediate risk would be dilution. New tokens could be sold into the market, pressuring the price. The longer-term risk would be credibility. A blockchain that claims a fixed supply but can be inflated through a software bug is not offering the guarantee that users thought they had.

There is also a market-structure risk. XRP is used in payment corridors, on exchanges, and in liquidity pools across the broader crypto ecosystem. Newly created tokens could be routed through accounts and trading venues to obscure their origin. Hundreds of accounts receiving large amounts of XRP while the buyer paid almost nothing would be a red flag, but only if someone was watching. Automated monitoring can catch anomalies, but sophisticated attackers try to look normal.

What node operators and users should know

The practical response is software hygiene. Node operators should run the patched release, xrpld 3.4.1, and should verify that their validators and dependent services are on fixed versions. Exchanges and custodians that rely on XRP Ledger infrastructure should confirm that their nodes are updated. Users who rely on third-party services do not need to take direct action on the protocol level, but they can ask whether their providers have upgraded.

The episode also reinforces why emergency releases matter. In open networks, security work is often invisible until something goes wrong. A patch released on Sept. 25 and disclosed on Oct. 10 represents a compressed response: find the flaw, demonstrate the risk, fix the code, and tell the public after operators have had time to move. The fact that the bug dated to 2015 makes the response more notable. It was not a new feature that failed. It was old logic that had escaped notice.

The bigger question for XRP Ledger security

The XRP Ledger is one of the older public blockchains, and its design favors efficiency and native exchange features over the general-purpose smart-contract model used by other networks. That design has advantages: payments can settle quickly, and the ledger can handle multi-asset transactions without external contracts. It also means the payment engine and exchange logic carry a heavy security burden. Every path through the order book must preserve balances. Every offer must be priced correctly. Every transaction must leave the total supply unchanged.

The decade-old bug shows how difficult that burden is. A counting error in a built-in exchange is exactly the kind of flaw that can hide in plain sight. It does not require a dramatic failure of consensus. It only requires a transaction that the ledger accepts and records. Once recorded, the resulting XRP is indistinguishable from any other XRP. That is why the demonstration mattered: it showed that the flaw could create spendable tokens, not just corrupt a local calculation.

The fix in xrpld 3.4.1 closes that path. The network's developer arm said it found no evidence of exploitation on public networks. The disclosure leaves the XRP Ledger with a patched bug, a clearer understanding of a decade-old risk, and a reminder that fixed-supply promises depend on software that must be continuously tested.


Source:Coindesk News


Share:

Your experience on this site will be improved by allowing cookies Cookie Policy