The XRP Ledger's maintainers have disclosed and fixed a critical vulnerability that, left unaddressed, could have allowed an attacker to conjure XRP out of thin air, a flaw that sat undetected in the network's code for about a decade.
In a disclosure published Friday, the developers said a researcher reported the issue through the XRPL bug bounty program in September. The problem was an integer overflow in the payment engine, the part of the software that processes payments.
The bug could be triggered when a single payment consumed hundreds of specially crafted offers from the order book, causing the total amount the buyer owed to exceed the maximum value the system could store. No ordinary payment triggers that condition, which is why the flaw went unnoticed since 2015. The ledger's "no XRP created" safety check used the same broken arithmetic, meaning the check would not have caught the overflow.
Developers say there is no evidence the bug was ever exploited.