CVE-2026-61694 Details
Description
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.
A vulnerability exists in the go-xrpl library, specifically in the XRP Ledger protocol implementation, in versions through the June 18, 2026 revision. The issue arises in the 'ParseMPTAmountBinary' function within 'internal/ledger/state/ripple_state.go', where the eight-byte MPT magnitude is converted using 'num.Int64()' without verifying that it fits within 63 bits. This oversight allows positive magnitudes of at least 2^63 to silently wrap into negative values, creating discrepancies in downstream calculations. Additionally, the 'readMPTAmount' function in 'internal/tx/ledgerfields/decode_stream.go' accepts magnitudes exceeding the limit and improperly surfaces them as large decimal strings, leading to further inconsistencies.
Users can update to go-xrpl version 0.0.0-20260624143208-9dbd3935ed6c, which includes the necessary fix. The update can be applied by following the project's standard versioning and update procedures.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 30, 2026CISA-ADP
Assessed Nov 6, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/LeJamon/go-xrpl/security/advisories/GHSA-j5cw-qr86-mmv7 | CISA-ADP | AdvisoryRemedyVendor |
| https://github.com/LeJamon/go-xrpl/commit/9dbd3935ed6c54f0232f2291edf9c012a0900dd5 | [email protected] | Source CodeVendor |
| https://github.com/LeJamon/go-xrpl/pull/1093 | [email protected] | Source CodeVendor |
| https://github.com/LeJamon/go-xrpl/security/advisories/GHSA-j5cw-qr86-mmv7 | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-190 | Integer Overflow or Wraparound | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| LeJamon go-xrpl | <= 0.0.0-20260618134614-cb77d640ee26 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 6, 2026 | CVE Modified | CISA-ADP |
| Oct 30, 2026 | New CVE Received | [email protected] |
Volerion