{"id":"CVE-2026-61694","summary":"go-xrpl: ParseMPTAmountBinary: positive MPT amount silently decoded as negative (int64 wrap)","details":"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.","aliases":["GHSA-j5cw-qr86-mmv7"],"modified":"2026-11-08T02:30:24.498136531Z","published":"2026-10-30T19:55:05.539Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-190"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/61xxx/CVE-2026-61694.json","unresolved_ranges":[{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StringRangeExpression","range":[{"last_affected":"0.0.0-20260618134614-cb77d640ee26"}]}]}]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/61xxx/CVE-2026-61694.json"},{"type":"ADVISORY","url":"https://github.com/LeJamon/go-xrpl/security/advisories/GHSA-j5cw-qr86-mmv7"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-61694"},{"type":"FIX","url":"https://github.com/LeJamon/go-xrpl/commit/9dbd3935ed6c54f0232f2291edf9c012a0900dd5"},{"type":"FIX","url":"https://github.com/LeJamon/go-xrpl/pull/1093"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/lejamon/go-xrpl","events":[{"introduced":"0"},{"fixed":"9dbd3935ed6c54f0232f2291edf9c012a0900dd5"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0"},{"last_affected":"9dbd3935ed6c54f0232f2291edf9c012a0900dd5"}],"source":"DESCRIPTION"},{"source":"REFERENCES_COMMIT","range":[{"fixed":"9dbd3935ed6c54f0232f2291edf9c012a0900dd5"}]}]}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-61694.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N"}]}