Critical XRP Ledger Bug in Batch Amendment Could Have Drained User Wallets - U.Today

XRP-0,3%
DOGE-0,22%
SHIB-2,1%

A severe logic flaw within the XRP Ledger (XRPL) codebase was narrowly averted this month, a recent blog post states

Security researchers discovered a vulnerability that could have allowed attackers to drain user wallets without needing their private keys.

The bug, which was spotted in the proposed “Batch” amendment (XLS-56), was identified earlier this month by independent researcher Pranamya Keshkamat and an autonomous AI security tool named Apex

HOT Stories

Critical XRP Ledger Bug in Batch Amendment Could Have Drained User Wallets

Crypto Market Review: XRP Volatility Squeeze is a $2 Recipe, Will Dogecoin (DOGE) Zero Removal Happen in February? Shiba Inu (SHIB) Bullruns Aren’t Possible Yet

The amendment was still in its voting phase and had not been activated on the XRPL mainnet. Hence, no user funds were at risk or lost.

The vulnerability explained

The Batch amendment would allow multiple “inner” transactions to be grouped together.

These inner transactions are intentionally left unsigned in order to save processing power. Instead, authorization is delegated to the outer batch’s list of signers.

A critical loop error caused a major vulnerability in the process of calling signers.

If the system encountered a signer for an account that did not yet exist on the ledger, and the signing key matched that new account, the system immediately declared the validation a success. It then exited the loop early, avoiding validator checks

A specific sequence of batched transactions could have been used by the attacker to exploit the aforementioned vulnerability

Had the Batch amendment been activated on the mainnet before this discovery, the XRPL ecosystem would have potentially suffered a severe blow. An attacker could have stolen funds, modified the ledge state, and destabilized the ecosystem

Earlier this week, developers released the Rippled 3.1.1 reference server software. This emergency patch explicitly marks the Batch amendment as unsupported,

A comprehensive fix that removes the early-exit loop and adds tighter authorization guards has been developed. It is currently undergoing rigorous peer review

Disclaimer: The information on this page may come from third parties and does not represent the views or opinions of Gate. The content displayed on this page is for reference only and does not constitute any financial, investment, or legal advice. Gate does not guarantee the accuracy or completeness of the information and shall not be liable for any losses arising from the use of this information. Virtual asset investments carry high risks and are subject to significant price volatility. You may lose all of your invested principal. Please fully understand the relevant risks and make prudent decisions based on your own financial situation and risk tolerance. For details, please refer to Disclaimer.

Related Articles

Ripple Whales Are Still Buying: So Why Is XRP’s Price Down Today?

Ripple’s native cross-border token is among the poorest performing larger-cap altcoins today, which comes in a rather intriguing time. On-chain data shared by popular analyst Ali Martinez shows that the largest market entities within the XRP ecosystem have been on a substantial buying spree, which

CryptoPotato2h ago

A leading Web3 wallet integration with the XRPL mainnet, supporting RLUSD payments and cross-chain transactions

On March 31, a leading Web3 wallet announced its integration with the XRP Ledger. Users can transfer XRP and RLUSD and complete cross-chain transactions within the wallet, while also supporting RLUSD deposits and withdrawals, and driving the use of stablecoins in everyday payments. The Ripple Foundation plans to jointly launch an incentive program to promote the use of RLUSD.

GateNews4h ago

Ripple’s XRP Crashes 7% Weekly While New Crypto Project GCOIN by PlayNance Gains Momentum

The cryptocurrency market has lost more than $200 billion in total capitalization over the past few days. This comes on the back of a 7% drop in Bitcoin’s price, which also dragged down most altcoins. Ripple’s XRP is no exception. XRP Price Shaky Amid Global

CryptoPotato5h ago

Ripple Price Analysis: XRP Enters Q2 With No Bullish Reversal Signs

XRP is wrapping up Q1 2026 at around $1.30, sitting near its lowest levels in the past couple of years. The altcoin has shed the vast majority of its gains from the cycle peak and continues to bleed against both the dollar and Bitcoin. And the worst news? There is no technical sign of a reversal as

CryptoPotato5h ago
Comment
0/400
No comments