CryptoMediumUpdated×6•Originally published 10 October 2026•Updated 10 October 2026•
4 min read

Release 3.4.1 fixes flaw that allowed spendable XRP to be created in tests

By

Large gold XRP coin with a padlock, surrounded by smaller coins, a hooded figure, and a red prohibition sign.

Key Facts

1Emergency release 3.4.1 was issued on 25 September 2026.
2The payment engine vulnerability affected version 3.4.0 and earlier.
3Developers found no evidence that the XRP creation vulnerability had been exploited on any public network.
4The vulnerability's severity was raised to critical after XRP created in testing was shown to be spendable.

An XRP Ledger security disclosure on 9 October 2026 detailed a fix for a vulnerability that allowed additional spendable XRP to be created in testing, delivered through emergency release 3.4.1 on 25 September. The vulnerability affected the payment engine in version 3.4.0 and earlier, according to the network's official disclosure, extending the scope of the fix to earlier versions of the server software. Developers said they found no evidence of exploitation on any public network. The flaw posed a risk because a faulty calculation during payment execution could generate additional units. The currency's supply when the ledger was created stood at 100 billion XRP, according to the network's introductory documentation.

Work to address the vulnerability began with a report submitted through the bug bounty programme on 22 September 2026, according to the timeline in the disclosure. The team credited researcher Cayden Liao and Veria AI with the original report and proof of concept, which provided the practical basis for verifying the flaw. The report was initially rated "high" before RippleX teams reproduced the issue during their investigation. Tests established that the XRP created by the error could be spent, prompting an upgrade of the vulnerability's severity to "critical". The higher security rating was therefore based on reproducing the flaw and verifying its effect on spendable balances in testing.

The flaw arose, according to the disclosure, when order book offer amounts were added using 64-bit integers without a check to prevent arithmetic overflow. CoinDesk's coverage linked the impact of the error to the calculation of payments to sellers and charges to the buyer when a transaction was executed through the order book. Sellers received the full amounts, while only a tiny amount was deducted from the buyer, generating additional XRP through the arithmetic discrepancy. CoinDesk summed up the buyer's side by saying the buyer "paid almost nothing", describing the gap between the amount paid and the amount charged. The coverage estimated that setting up the attack required a few hundred XRP for account and offer reserves, most of which could be recovered, plus transaction fees.

The patched release was completed through collaboration between the RippleX engineering team and the XRP Ledger Foundation, according to release notes published on 25 September 2026. When rolling it out, the team took the security precaution of withholding the source code because of the sensitivity of the fix included in the new software. The release notes said "the source code for this release has not yet been published", clarifying its status when the emergency update was announced. The overflow fix itself takes effect on a server as soon as it is upgraded, according to the subsequent detailed security disclosure. This fix does not require waiting for an amendment to be activated through a validator vote, tying the start of protection on the server directly to installation of the patched version.

The disclosure also addressed a separate flaw in the transaction batching feature involving how inner transactions were wrapped within a batch transaction. The flaw allowed a field other than the designated raw transaction field to be used for that purpose, according to the official description of the security issue. This behaviour threatened compatibility between servers and data-reading tools by allowing inner transactions to be wrapped using a field other than the prescribed one. The batching fix was activated on the mainnet on 9 October 2026, the same date the detailed security disclosure was published. The announcement thus covered a fix for the payment amount calculation flaw alongside a separate correction to the structure of batched transactions and the compatibility of tools that read them.

The network's documentation sets out a different mechanism for activating routine amendments, requiring support from more than 80% of trusted validators to be maintained for two weeks before activation. This condition means that reaching the required level of support alone is insufficient; it must be sustained throughout the period specified by the amendment mechanism. Once an amendment is activated, older servers that do not support it stop synchronising with the network, according to XRP Ledger documentation. The documentation describes this blocking as "a security feature to protect the accuracy of XRP Ledger data", linking continued synchronisation to a server's ability to support the activated amendment. Following the emergency release on 25 September and activation of the batching fix on 9 October, the team decided to add a step to retest every security fix on the release candidate before closing the report.