{"id":"CVE-2026-61694","aliases":["CVE-2026-61694"],"related":[],"kind":"vulnerability","state":"published","title":"go-xrpl: ParseMPTAmountBinary: positive MPT amount silently decoded as negative (int64 wrap)","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-10-30T19:55:05.539Z","modified":"2026-11-06T18:18:15.237Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","score":3.7,"rating":"LOW"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","score":3.7,"rating":"LOW"}],"cwes":["CWE-190"],"affected":[{"ranges":[{"version":"<= 0.0.0-20260618134614-cb77d640ee26","status":"affected"}],"vendor":"LeJamon","product":"go-xrpl","source":"cvelist"}],"references":[{"url":"https://github.com/LeJamon/go-xrpl/security/advisories/GHSA-j5cw-qr86-mmv7","tags":["exploit","x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/LeJamon/go-xrpl/pull/1093","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/LeJamon/go-xrpl/commit/9dbd3935ed6c54f0232f2291edf9c012a0900dd5","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-11-06T17:42:07.230Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-61694","url":"https://www.cve.org/CVERecord?id=CVE-2026-61694","licence":"CVE Terms of Use","modified":"2026-11-06T17:58:32.513Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-61694","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-61694","licence":"Public domain","modified":"2026-11-06T18:18:15.237Z"}],"updatedAt":"2026-11-25T22:59:48.018Z","epss":{"score":0.00336,"percentile":0.28933,"date":"2026-12-01T12:00:22.000Z"}}