# CVE-2026-61694: go-xrpl: ParseMPTAmountBinary: positive MPT amount silently decoded as negative (int64 wrap)

- Severity: Low 3.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.34%, higher than 28% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-30T19:55:05.539Z
- Modified: 2026-11-06T18:18:15.237Z
- Weaknesses: CWE-190
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- LeJamon go-xrpl: <= 0.0.0-20260618134614-cb77d640ee26

## References

- <https://github.com/LeJamon/go-xrpl/security/advisories/GHSA-j5cw-qr86-mmv7> (exploit)
- <https://github.com/LeJamon/go-xrpl/pull/1093>
- <https://github.com/LeJamon/go-xrpl/commit/9dbd3935ed6c54f0232f2291edf9c012a0900dd5>

## Sources

- CVE List: [CVE-2026-61694](https://www.cve.org/CVERecord?id=CVE-2026-61694), CVE Terms of Use, modified 2026-11-06
- NVD: [CVE-2026-61694](https://nvd.nist.gov/vuln/detail/CVE-2026-61694), Public domain, modified 2026-11-06

---

Page: https://cve.day/CVE-2026-61694 · Whole record: https://cve.day/CVE-2026-61694.json · Rebuilt by cve.day 2026-11-25T22:59:48.018Z
