Track vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
3.7

CVE-2026-61694: lejamon/go-xrpl may treat large amounts as negative

CVE-2026-61694 · published 22 days ago
Summary

The Go library for the XRP Ledger can misinterpret very large transaction amounts, turning them into negative values without warning. This can lead to incorrect calculations in escrow handling and mismatched results compared to the official server. Updating to the latest version of the library, which includes the fix, resolves the issue.

What to do

The CVE record does not list a fixed version. Check the vendor's site or the advisory links below - a fix may already be released.

Affected software
VendorProductAffected versions
lejamon go-xrpl <= 0.0.0-20260618134614-cb77d640ee26
Original advisory text
go-xrpl: ParseMPTAmountBinary: positive MPT amount silently decoded as negative (int64 wrap)
go-xrpl is a Go implementation of the XRP Ledger protocol. In versions through the June 18, 2026 revision identified by the advisory, `ParseMPTAmountBinary` in `internal/ledger/state/ripple_state.go` converts the eight-byte MPT magnitude using `num.Int64()` without checking that it fits in 63 bits. A positive magnitude of at least 2^63 silently wraps into a negative amount without an error. `ParseEscrow` passes 33-byte `sfAmount` fields to the parser and stores `MPTRaw()` in `EscrowData.MPTAmount`, causing incorrect downstream calculations and divergence from rippled's interpretation of the same escrow entry. Independently, `readMPTAmount` in `internal/tx/ledgerfields/decode_stream.go` accepts over-limit magnitudes and surfaces large decimal strings without enforcing the maximum signed 64-bit value. The public codec in codec/binarycodec/types/amount.go already rejects these values, leaving the internal decoders inconsistent with that safe path. A source fix is available in commit 9dbd3935ed6c54f0232f2291edf9c012a0900dd5.
Fix within
Internet-facing 60 days
Internal At next upgrade
  • Not known to be exploited
  • Needs hands-on effort to exploit
  • Gives an attacker partial control
Severity
3.7 Low
Exploitation
<1% chance of attack within 30 days
Type
CWE-190Integer Overflow
Timeline
Published30 Oct 2026
Updated22 Nov 2026
First seen30 Oct 2026
Sources
CVE-2026-61694 · MITRE
Track software like this
Free during beta