Critical XRP bug discovered that could create quadrillions of tokens
RippleX and the XRP Ledger Foundation have disclosed a serious vulnerability in the XRP Ledger’s payment engine. An attacker could have created XRP through a specially crafted transaction far above the fixed maximum supply of 100 billion tokens. The flaw had been in the code since 2015, was never exploited on a public network and has now been fixed in version xrpld 3.4.1.
XRP is available at OKX and Bybit.
In brief:
- An overflow bug in the XRP Ledger’s payment engine theoretically made it possible to create 18 trillion XRP in a single transaction.
- The flaw dated from 2015 and was reported through the XRPL bug bounty programme. The reporter received a maximum bounty of $250.000.
- The vulnerability was patched on 25 September 2026 in xrpld 3.4.1. There is no indication that the bug was ever exploited.
Overflow bug makes creation of 18 trillion XRP possible
Researcher Cayden Liao reported through the XRPL bug bounty programme that his team was able to create some 18 trillion XRP in a single transaction using a so-called proof of concept. That is approximately 184 times the intended total supply of 100 billion XRP. For this discovery the team received the maximum bounty of $250.000.
According to the official disclosure notice from the XRP Ledger Foundation, this concerns an integer overflow flaw in xrpld’s payment engine. The flaw dates from code that was already written in 2015 and was present in versions up to and including xrpld 3.4.0. The fix was rolled out on 25 September 2026 via version 3.4.1. More than 80% of the default validators had already upgraded that day.
The XRP Ledger Foundation states that there is no evidence that the vulnerability was ever exploited on a public network. No funds were lost and no private keys were compromised.
Second vulnerability: validation error in Batch transactions
Besides the overflow bug, the report reveals a second vulnerability, found in the Batch functionality of the XRP Ledger. The Batch feature, set out in standard XLS-56, allows one account to submit up to eight transactions at once as a single unit, which makes complex multi-step operations possible.
During a review of findings from the Sherlock Attackathon, Denis Angell of the XRP Ledger Foundation discovered that an earlier fix for this component was incomplete. An attacker who manually assembled a transaction in binary code could wrap an inner transaction in the wrong field. The server accepted this and recorded the transaction in the ledger, which could lead to permanent erroneous records and problems for external indexers and software developers.
There was also a risk to consensus on the network. Because different versions of the software recognised different fields, two versions could disagree about the validity of the same transaction. On a network with mixed versions, this could have resulted in a standstill in which no new ledgers were validated.
Because the BatchV1_1 amendment was not yet active on the mainnet at the time of the discovery, no accounts or funds were affected. Ripple and other validators temporarily voted against activation of BatchV1_1 to prevent the vulnerability from reaching the mainnet. After the introduction of the repairing amendment fixBatchV1_2, which became active on 9 October 2026, votes were again switched to yes for BatchV1_1.
Not financial advice. The Latest Crypto News provides educational and informational content only. Crypto-assets are highly volatile and you can lose your entire investment. Always do your own research. Read our full disclaimer.
Affiliate disclosure. Some links on this site are affiliate links. If you sign up with a partner through one of them, we may earn a commission at no extra cost to you. This never influences our reporting. See our editorial guidelines.