Integer overflow in Lejamon Go-Xrpl
CVE-2026-61694
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.
Vulnerability class: Integer Overflow
Published .
CVSS v3 metric
CVSS v3 base score 3.7 (Low). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N.
EPSS exploit prediction
No EPSS score from FIRST.org yet. New CVEs usually get one within a few days; no score means no signal yet, not low risk. How EPSS works.
Affected products
- Lejamon Go-Xrpl — versions <= 0.0.0-20260618134614-cb77d640ee26
Weakness classification (CWE)
References
Frequently asked questions
- What is CVE-2026-61694?
- CVE-2026-61694 is a low-severity vulnerability in Lejamon Go-Xrpl, classified under Integer Overflow or Wraparound. CVSS score: 3.7/10. Published 2026-10-30.
- How severe is CVE-2026-61694?
- Low severity. CVSS v3 base score is 3.7 out of 10.