Repository Public
1{2 "id": "QYV-SVC-060",3 "title": "A hostile tip height from one UTXO indexer overflows the survey of indexers and crashes the wallet",4 "severity": "medium",5 "cvss_vector": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H",6 "cvss_score": 5.9,7 "cwe": "CWE-190",8 "masvs": "MASVS-CODE-4",9 "area": "network",10 "location": "Sources/QyvoraNetworking/UTXOIndexer.swift:470",11 "tool": "manual-review",12 "rule": "",13 "status": "fixed",14 "fix_commit": "2c8f987, 3cb4f27",15 "regression_test": "QyvoraNetworkingTests.UTXOCoinsAuditRegressionTests/hostileTipHeightsNeitherTrapNorWinTheSurvey; fuzz target utxo-indexer-normalise (committed seed with the hostile tip)",16 "description": "Root cause: `EsploraClient.tip()` returned the height an endpoint writes (`Int(text)`) without bounds, unlike the Blockbook and Bitcore clients, and `UTXOIndexers.survey` computed `best - tip.height` with the trapping `-`. An Esplora endpoint that had passed the chain-identity check and then answered `-9223372036854775808` at `blocks/tip/height` made the subtraction overflow as soon as another indexer of the same network answered a positive tip (Litecoin and Litecoin Testnet have Esplora plus Blockbook or Bitcore by default). Impact: the process traps at every synchronization of the coin — remote, repeatable denial of service by one endpoint of the configuration; no fund movement. Verified: on the build node the regression test and the fuzz target `utxo-indexer-normalise` exit with SIGTRAP against the pre-fix sources (site UTXOIndexer.swift, closure of `survey`).",17 "recommendation": "Fixed: the Esplora tip is bounded (`invalidResponse` otherwise) and the survey treats any tip outside 0 ..< 100 000 000 — the bound the wallet service applies — as no answer before any arithmetic.",18 "evidence": "",19 "fingerprint": "89d4a2d27fa6",20 "reported": "2026-12-05",21 "owner": "review-utxo"22}23