TL;DR
-
XRP Ledger developers disclosed a critical payment-engine flaw that had existed since 2015.
-
The bug could have allowed unauthorized XRP creation, but developers found no evidence of exploitation on public networks.
-
Veria Labs said its AI agent discovered the vulnerability and demonstrated an exploit capable of creating roughly 18 trillion XRP.
-
RippleX released a fix in xrpld 3.4.1 three days after receiving the report, bypassing the usual amendment waiting period.
XRP Ledger developers have patched a critical vulnerability that could have allowed an attacker to create XRP without paying the corresponding amount from their own balance.
A disclosure published Friday said the flaw had been present in the payment engine since 2015. Developers reported no evidence that it had been exploited on any public network.
Security firm Veria Labs said an AI agent discovered the issue and produced a working exploit, prompting an accelerated release of the fix.
Payment Calculations Failed to Check for Overflow
The vulnerability affected how the payment engine calculated totals when a transaction filled many order-book offers simultaneously.
Those calculations lacked an overflow check. A sufficiently large total could wrap around into a much smaller number, creating a mismatch between what recipient accounts received and what the sender was charged.
A separate overflow issue in the network’s XRP balance checks meant the safeguard against unauthorized token creation could also fail.
The disclosure emphasized that ordinary trading could not accidentally trigger the vulnerability. Exploitation required deliberately constructed offers and a specially designed payment.
Veria Labs security co-founder Cayden Liao said Saturday that the firm’s AI agent found the flaw and built a working exploit.
According to Liao, a single exploit transaction could have created approximately 18 trillion XRP. That would vastly exceed the token’s original supply of 100 billion XRP, which gradually decreases as transaction fees are burned.
Liao suggested the vulnerability may have escaped detection because it combined two bugs that would each appear less severe in isolation.
He also said Ripple paid Veria the program’s maximum $250,000 bounty. His claim that it was the largest bounty for a vulnerability discovered entirely by an AI agent remains the firm’s assessment.
Emergency Fix Bypassed the Normal Amendment Process
Veria reported the vulnerability on September 22. RippleX released xrpld version 3.4.1 with a fix three days later.
More than 80% of validators on the default Unique Node List were running the update that day, according to the disclosure.
XRP Ledger rule changes normally require support from more than 80% of trusted validators for two weeks. This fix instead took effect as individual servers upgraded.
The report described that approach as a first in more than a decade of amendments. Developers said the usual process could have exposed the vulnerability through public source code weeks before the protection became active.
The release patched another flaw involving Batch, a feature that had not yet activated when the issue was discovered.
That vulnerability could have stalled the network and produced malformed records capable of disrupting external indexers, explorers and software development kits, according to the report.
Batch and its fix activated Friday. Servers running older versions can no longer remain synchronized with the network.
Delayed Source Release Draws Criticism
The source code for xrpld 3.4.1 was published approximately two weeks after its binaries.
Cyber Capital founder Justin Bons criticized the delay, arguing that XRP had been operating with closed-source code during that period.
RippleX engineer Mayukha Vadari defended the decision, saying AI makes it easier to identify and reverse-engineer critical fixes in public releases.
RippleX Head of Engineering J. Ayo Akinyele said the team would expand AI-assisted vulnerability research and formal verification as advances in AI accelerate bug discovery.
Security remains our top priority for preserving trust in the XRP Ledger (XRPL). Sharing a few thoughts following yesterday's disclosure of the critical payments engine vulnerability reported by Veria AI. First, this was a serious vulnerability, and we don't take that lightly. The bug had existed in the codebase for over a decade and could have allowed XRP to be created beyond its fixed supply. Fortunately, it was discovered through our bug bounty program before it could ever be exploited. Second, our response was fast and coordinated. The team developed and thoroughly tested a fix, worked closely with validators to rapidly upgrade the network, and secured the ledger before public disclosure. I'm proud of how everyone came together to address the vulnerability and protect the XRPL network. But there's a much bigger lesson here. AI is fundamentally changing how quickly vulnerabilities can be discovered. We have to move even faster than before, especially with a codebase that's been around for over a decade. This means we're doubling down in a few important areas: * Proactive security: Strengthening our bug bounty programs, expanding AI-assisted vulnerability discovery/adversarial testing, and continuously improving testing across releases. This discovery reinforces why these investments matter. * Addressing legacy tech debt: Working with our internal red team, external security researchers, and the XRPL Foundation to revisit longstanding assumptions in critical areas like payments engine, consensus, and P2P networking, guided by an updated threat model. * Accelerating formal verification of critical areas: Continuing our work with CommonPrefix and the XRPL Foundation to apply formal verification to critical parts of the protocol, with the goal of uncovering deeper issues that other approaches could easily miss. We will build on the learnings from formal verification of the Lending Protocol and Single Asset Vault. * Systemic hardening: Moving beyond individual bug fixes to identifying latent risks in older parts of the XRPL codebase and eliminating entire classes of vulnerabilities. Our goal isn't simply to find more bugs. It's to systematically address the underlying risks and make the XRPL harder to exploit. As the XRPL's role in global financial infrastructure grows, so does our responsibility to protect it. Security is never finished. We'll keep investing and improving alongside the broader XRPL community. Full disclosure for the 3.4.1 release: https://t.co/7DshPd5pc2
— J. Ayo Akinyele (@ja_akinyele) October 10, 2026
Hassan Maishera