XRP Ledger maintainers have disclosed and patched a critical integer overflow vulnerability in the network’s payment engine, a flaw that existed since 2015 but remained undetected until reported via bug bounty in September. The bug allowed an attacker to create counterfeit XRP by exploiting specially crafted offers; when a single payment consumed hundreds of these offers, the sum owed exceeded the system's storage maximum, causing the value to wrap around to a negligible amount. Consequently, the engine paid sellers in full while charging the buyer almost nothing, effectively minting new tokens from thin air.

The vulnerability was particularly dangerous because the ledger’s built-in safety check, designed to verify that no transaction creates XRP, relied on the same flawed arithmetic and thus failed to detect the anomaly. RippleX engineers confirmed that the issue went unnoticed for nearly a decade because normal payments do not trigger the specific conditions required for the overflow. There is currently no evidence that the bug was ever exploited in the wild.

To address the threat, developers bypassed the standard amendment process, which typically requires validator voting and a two-week waiting period. The fix was shipped in version 3.4.1 on September 25, with more than 80% of the network’s trusted validators running the updated software by that day.