{"id":15004,"date":"2026-10-28T05:33:49","date_gmt":"2026-10-28T05:33:49","guid":{"rendered":"https:\/\/cryptonews.uk.com\/?p=15004"},"modified":"2026-10-28T05:33:49","modified_gmt":"2026-10-28T05:33:49","slug":"bitcoin-apps-risk-massive-fee-drain-and-2-library-bugs-are-blamed","status":"publish","type":"post","link":"https:\/\/cryptonews.uk.com\/?p=15004","title":{"rendered":"Bitcoin apps risk massive fee drain, and 2 library bugs are blamed"},"content":{"rendered":"<p><\/p>\n<div data-cs-editorial-figure-scope=\"\" data-cs-editorial-quote-scope=\"\" data-cs-image-viewer-scope=\"\" data-single-article-content=\"\">\n<p>Bitcoinjs-lib, a library used to build Bitcoin applications, has patched two bugs that can make software understate the miner fee a valid transaction would pay if broadcast and accepted.<\/p>\n<p>The Oct. 26 security disclosures identify fixes in versions 5.2.2, 6.1.9 and 7.0.4 for the corresponding release lines.<\/p>\n<p>The affected format is a partially signed Bitcoin transaction (PSBT), and BIP 174 defines it as a way to pass transaction information and signatures between clients. Signing, combining signatures, finalizing inputs, and extracting the transaction are separate functions, even when one application performs several of them.<\/p>\n<p>The risk concerns applications that import these packages and trust bitcoinjs-lib&#8217;s fee calculation or excessive-fee safeguard without independently checking the outputs being spent. Maintainers need to review their dependency version and how they validate imported PSBTs.<\/p>\n<h2>Why valid signatures can accompany misleading fees<\/h2>\n<p>A Bitcoin transaction&#8217;s fee is the difference between the value of its inputs and its outputs, so understating an input makes the calculated fee look smaller.<\/p>\n<p>In the first flaw, signing and fee accounting can use different values for the same input. Signing uses the full previous transaction, while fee accounting prefers a conflicting record containing a smaller value. As a result, the vulnerable software can authorize the real transaction while evaluating the wrong fee.<\/p>\n<p>The advisory describes a demonstration on bitcoinjs-lib 7.0.1 in which the actual fee was 900,000,000 satoshi, but the library reported 200 satoshi. The signature verified, and extraction returned without the default fee-rate warning.<\/p>\n<div class=\"cs-article-embed\">\n<p> <span class=\"cs-article-embed__related-reading\">Related Reading<\/span><\/p>\n<h3 class=\"cs-article-embed__title\">Eclair merges fixes for Lightning flaws that could burn Bitcoin in fees<\/h3>\n<\/p>\n<p> <span class=\"cs-article-embed__arrow\" aria-hidden=\"true\"> <i class=\"fa-light fa-arrow-up-right\"\/> <\/span> <\/div>\n<p>The second advisory describes finalized inputs with both input-value records missing. The calculator counts those inputs as zero, and an already-signed PSBT imported from another party can reach this calculation without needing another signing operation.<\/p>\n<aside id=\"cs-inline-newsletter-1\" class=\"cs-inline-newsletter cs-newsletter-brand\" data-newsletter-edition=\"catalyst\" data-inline-newsletter=\"\" data-newsletter-placement=\"article-midpoint\" aria-labelledby=\"cs-inline-newsletter-1-title\" aria-describedby=\"cs-inline-newsletter-1-copy\">\n<div class=\"cs-inline-newsletter__inner\">\n<div class=\"cs-inline-newsletter__content\">\n<div class=\"cs-inline-newsletter__editorial\">\n<p class=\"cs-inline-newsletter__eyebrow\">The Catalyst<\/p>\n<p class=\"cs-newsletter-frequency\">Daily Newsletter<\/p>\n<h2 id=\"cs-inline-newsletter-1-title\" class=\"cs-inline-newsletter__title\">Know what\u2019s moving crypto.<\/h2>\n<p id=\"cs-inline-newsletter-1-copy\" class=\"cs-inline-newsletter__copy\">Start with the stories that matter. Get the context behind the headlines and a clear view of what to watch next.<\/p>\n<\/div>\n<div class=\"cs-inline-newsletter__art\" aria-hidden=\"true\"> <img loading=\"lazy\" src=\"https:\/\/cryptoslate.com\/wp-content\/themes\/cryptoslate-2020\/images\/catalyst-newsletter-scrapbook-v3.webp\" alt=\"\" width=\"640\" height=\"640\" loading=\"lazy\" decoding=\"async\"\/><img loading=\"lazy\" class=\"lazyload\" src=\"https:\/\/cryptoslate.com\/wp-content\/themes\/cryptoslate-2020\/images\/catalyst-newsletter-scrapbook-v3.webp\" alt=\"\" width=\"640\" height=\"640\" loading=\"lazy\" decoding=\"async\"\/><\/div>\n<\/div>\n<\/div>\n<\/aside>\n<p>Its hypothetical example has a true fee of 91,000 satoshi but a reported fee of 1,000 satoshi. Finalized scripts and signatures alone do not establish the missing input&#8217;s value.<\/p>\n<figure id=\"attachment_577794\" aria-describedby=\"caption-attachment-577794\" style=\"width: 720px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" loading=\"lazy\" decoding=\"async\" class=\"shoggoth-infographic shoggoth-infographic-portrait wp-image-577794\" src=\"https:\/\/cryptoslate.com\/wp-content\/uploads\/2026\/10\/exec-ad64ecd0-02fe-440f-88c0-55ed25c660b0.png\" alt=\"Hypothetical Bitcoin library bitcoinjs-lib example: a finalized PSBT with missing input-value records produces a reported fee of 1,000 satoshi against a true fee of 91,000 satoshi. Patched versions require a value for every input during fee calculation.\" width=\"720\" height=\"1000\" srcset=\"https:\/\/cryptoslate.com\/wp-content\/uploads\/2026\/10\/exec-ad64ecd0-02fe-440f-88c0-55ed25c660b0.png 1064w, https:\/\/cryptoslate.com\/wp-content\/uploads\/2026\/10\/exec-ad64ecd0-02fe-440f-88c0-55ed25c660b0-216x300.png 216w, https:\/\/cryptoslate.com\/wp-content\/uploads\/2026\/10\/exec-ad64ecd0-02fe-440f-88c0-55ed25c660b0-737x1024.png 737w, https:\/\/cryptoslate.com\/wp-content\/uploads\/2026\/10\/exec-ad64ecd0-02fe-440f-88c0-55ed25c660b0-768x1067.png 768w\" sizes=\"auto, (max-width: 720px) 100vw, 720px\"\/><img loading=\"lazy\" loading=\"lazy\" decoding=\"async\" class=\"lazyload shoggoth-infographic shoggoth-infographic-portrait wp-image-577794\" src=\"https:\/\/cryptoslate.com\/wp-content\/uploads\/2026\/10\/exec-ad64ecd0-02fe-440f-88c0-55ed25c660b0.png\" alt=\"Hypothetical Bitcoin library bitcoinjs-lib example: a finalized PSBT with missing input-value records produces a reported fee of 1,000 satoshi against a true fee of 91,000 satoshi. Patched versions require a value for every input during fee calculation.\" width=\"720\" height=\"1000\" srcset=\"https:\/\/cryptoslate.com\/wp-content\/uploads\/2026\/10\/exec-ad64ecd0-02fe-440f-88c0-55ed25c660b0.png 1064w, https:\/\/cryptoslate.com\/wp-content\/uploads\/2026\/10\/exec-ad64ecd0-02fe-440f-88c0-55ed25c660b0-216x300.png 216w, https:\/\/cryptoslate.com\/wp-content\/uploads\/2026\/10\/exec-ad64ecd0-02fe-440f-88c0-55ed25c660b0-737x1024.png 737w, https:\/\/cryptoslate.com\/wp-content\/uploads\/2026\/10\/exec-ad64ecd0-02fe-440f-88c0-55ed25c660b0-768x1067.png 768w\" data-sizes=\"(max-width: 720px) 100vw, 720px\"\/><figcaption id=\"caption-attachment-577794\" class=\"wp-caption-text\">A bitcoinjs-lib flaw could count missing PSBT input values as zero, hiding a much larger fee; patched releases now require every value.<\/figcaption><\/figure>\n<p>Actual loss requires an authorized, valid transaction to be broadcast and accepted by the network. These defects do not create signatures, and excess value becomes a miner fee.<\/p>\n<p>For conflicting records, affected releases are 5.2.0 through 5.2.1, 6.0.0 through 6.1.8 including 6.1.0-rc.0, and 7.0.0-rc.0 through 7.0.3. The missing-record flaw affects the same v6 and v7 ranges, plus 5.1.0 through 5.2.1 in the v5 line.<\/p>\n<p>The remediation gives signing and accounting a shared method for resolving previous outputs, rejects conflicting values or scripts, and requires an amount for every input during fee calculation. It also clears cached fees and extracted transactions after relevant metadata changes or combinations.<\/p>\n<p>Maintainers unable to upgrade should independently verify referenced output values. Reject conflicting records before signing or trusting fees, and verify every input value before trusting fees or extracting a transaction.<\/p>\n<\/div>\n<p>Featured,Governance,Technology,Wallets,Bitcoin,BTC,miningBitcoin,BTC,mining#Bitcoin #apps #risk #massive #fee #drain #library #bugs #blamed1793165629<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Bitcoinjs-lib, a library used to build Bitcoin applications, has patched two bugs that can make software understate the miner fee a valid transaction would pay if broadcast and accepted. The Oct. 26 security disclosures identify fixes in versions 5.2.2, 6.1.9 and 7.0.4 for the corresponding release lines. The affected format is a partially signed Bitcoin<\/p>\n","protected":false},"author":1,"featured_media":15005,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[4056,91,4795,285,5410,839,2480,6666,34,447,160],"class_list":["post-15004","post","type-post","status-publish","format-standard","has-post-thumbnail","category-ethereum","tag-apps","tag-bitcoin","tag-blamed","tag-btc","tag-bugs","tag-drain","tag-fee","tag-library","tag-massive","tag-mining","tag-risk"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v26.6 (Yoast SEO v26.6) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Bitcoin apps risk massive fee drain, and 2 library bugs are blamed - Crypto News: Latest Cryptocurrency News and Analysis<\/title>\n<meta name=\"description\" content=\"Two Bitcoin library flaws could hide massive miner fees and let valid transactions bypass safety checks.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/cryptonews.uk.com\/?p=15004\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Bitcoin apps risk massive fee drain, and 2 library bugs are blamed\" \/>\n<meta property=\"og:description\" content=\"Two Bitcoin library flaws could hide massive miner fees and let valid transactions bypass safety checks.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/cryptonews.uk.com\/?p=15004\" \/>\n<meta property=\"og:site_name\" content=\"Crypto News: Latest Cryptocurrency News and Analysis\" \/>\n<meta property=\"article:published_time\" content=\"2026-10-28T05:33:49+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cryptonews.uk.com\/wp-content\/uploads\/2026\/10\/bitcoinjs-lib-psbt-fee-bugs-standard.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1672\" \/>\n\t<meta property=\"og:image:height\" content=\"941\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"\u884c\u653f\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u884c\u653f\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/cryptonews.uk.com\/?p=15004\",\"url\":\"https:\/\/cryptonews.uk.com\/?p=15004\",\"name\":\"Bitcoin apps risk massive fee drain, and 2 library bugs are blamed - Crypto News: Latest Cryptocurrency News and Analysis\",\"isPartOf\":{\"@id\":\"https:\/\/cryptonews.uk.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/cryptonews.uk.com\/?p=15004#primaryimage\"},\"image\":{\"@id\":\"https:\/\/cryptonews.uk.com\/?p=15004#primaryimage\"},\"thumbnailUrl\":\"https:\/\/cryptonews.uk.com\/wp-content\/uploads\/2026\/10\/bitcoinjs-lib-psbt-fee-bugs-standard.jpg\",\"datePublished\":\"2026-10-28T05:33:49+00:00\",\"author\":{\"@id\":\"https:\/\/cryptonews.uk.com\/#\/schema\/person\/822778c5844e0d16d43dce6630f4f1bf\"},\"description\":\"Two Bitcoin library flaws could hide massive miner fees and let valid transactions bypass safety checks.\",\"breadcrumb\":{\"@id\":\"https:\/\/cryptonews.uk.com\/?p=15004#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/cryptonews.uk.com\/?p=15004\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/cryptonews.uk.com\/?p=15004#primaryimage\",\"url\":\"https:\/\/cryptonews.uk.com\/wp-content\/uploads\/2026\/10\/bitcoinjs-lib-psbt-fee-bugs-standard.jpg\",\"contentUrl\":\"https:\/\/cryptonews.uk.com\/wp-content\/uploads\/2026\/10\/bitcoinjs-lib-psbt-fee-bugs-standard.jpg\",\"width\":1672,\"height\":941},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/cryptonews.uk.com\/?p=15004#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/cryptonews.uk.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Bitcoin apps risk massive fee drain, and 2 library bugs are blamed\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/cryptonews.uk.com\/#website\",\"url\":\"https:\/\/cryptonews.uk.com\/\",\"name\":\"Crypto News: Latest Cryptocurrency News and Analysis\",\"description\":\"Latest Crypto &amp; Bitcoin News\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/cryptonews.uk.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/cryptonews.uk.com\/#\/schema\/person\/822778c5844e0d16d43dce6630f4f1bf\",\"name\":\"\u884c\u653f\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/cryptonews.uk.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/e4c2d23409b09e004cef3facbe677e95c5401f9e29680f3a311e0130c5748089?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/e4c2d23409b09e004cef3facbe677e95c5401f9e29680f3a311e0130c5748089?s=96&d=mm&r=g\",\"caption\":\"\u884c\u653f\"},\"sameAs\":[\"http:\/\/demo3.aiwalls.com\/coinbase\"],\"url\":\"https:\/\/cryptonews.uk.com\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Bitcoin apps risk massive fee drain, and 2 library bugs are blamed - Crypto News: Latest Cryptocurrency News and Analysis","description":"Two Bitcoin library flaws could hide massive miner fees and let valid transactions bypass safety checks.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/cryptonews.uk.com\/?p=15004","og_locale":"en_US","og_type":"article","og_title":"Bitcoin apps risk massive fee drain, and 2 library bugs are blamed","og_description":"Two Bitcoin library flaws could hide massive miner fees and let valid transactions bypass safety checks.","og_url":"https:\/\/cryptonews.uk.com\/?p=15004","og_site_name":"Crypto News: Latest Cryptocurrency News and Analysis","article_published_time":"2026-10-28T05:33:49+00:00","og_image":[{"width":1672,"height":941,"url":"https:\/\/cryptonews.uk.com\/wp-content\/uploads\/2026\/10\/bitcoinjs-lib-psbt-fee-bugs-standard.jpg","type":"image\/jpeg"}],"author":"\u884c\u653f","twitter_card":"summary_large_image","twitter_misc":{"Written by":"\u884c\u653f","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/cryptonews.uk.com\/?p=15004","url":"https:\/\/cryptonews.uk.com\/?p=15004","name":"Bitcoin apps risk massive fee drain, and 2 library bugs are blamed - Crypto News: Latest Cryptocurrency News and Analysis","isPartOf":{"@id":"https:\/\/cryptonews.uk.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/cryptonews.uk.com\/?p=15004#primaryimage"},"image":{"@id":"https:\/\/cryptonews.uk.com\/?p=15004#primaryimage"},"thumbnailUrl":"https:\/\/cryptonews.uk.com\/wp-content\/uploads\/2026\/10\/bitcoinjs-lib-psbt-fee-bugs-standard.jpg","datePublished":"2026-10-28T05:33:49+00:00","author":{"@id":"https:\/\/cryptonews.uk.com\/#\/schema\/person\/822778c5844e0d16d43dce6630f4f1bf"},"description":"Two Bitcoin library flaws could hide massive miner fees and let valid transactions bypass safety checks.","breadcrumb":{"@id":"https:\/\/cryptonews.uk.com\/?p=15004#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/cryptonews.uk.com\/?p=15004"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/cryptonews.uk.com\/?p=15004#primaryimage","url":"https:\/\/cryptonews.uk.com\/wp-content\/uploads\/2026\/10\/bitcoinjs-lib-psbt-fee-bugs-standard.jpg","contentUrl":"https:\/\/cryptonews.uk.com\/wp-content\/uploads\/2026\/10\/bitcoinjs-lib-psbt-fee-bugs-standard.jpg","width":1672,"height":941},{"@type":"BreadcrumbList","@id":"https:\/\/cryptonews.uk.com\/?p=15004#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/cryptonews.uk.com\/"},{"@type":"ListItem","position":2,"name":"Bitcoin apps risk massive fee drain, and 2 library bugs are blamed"}]},{"@type":"WebSite","@id":"https:\/\/cryptonews.uk.com\/#website","url":"https:\/\/cryptonews.uk.com\/","name":"Crypto News: Latest Cryptocurrency News and Analysis","description":"Latest Crypto &amp; Bitcoin News","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/cryptonews.uk.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/cryptonews.uk.com\/#\/schema\/person\/822778c5844e0d16d43dce6630f4f1bf","name":"\u884c\u653f","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/cryptonews.uk.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/e4c2d23409b09e004cef3facbe677e95c5401f9e29680f3a311e0130c5748089?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/e4c2d23409b09e004cef3facbe677e95c5401f9e29680f3a311e0130c5748089?s=96&d=mm&r=g","caption":"\u884c\u653f"},"sameAs":["http:\/\/demo3.aiwalls.com\/coinbase"],"url":"https:\/\/cryptonews.uk.com\/?author=1"}]}},"_links":{"self":[{"href":"https:\/\/cryptonews.uk.com\/index.php?rest_route=\/wp\/v2\/posts\/15004","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cryptonews.uk.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cryptonews.uk.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cryptonews.uk.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cryptonews.uk.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=15004"}],"version-history":[{"count":0,"href":"https:\/\/cryptonews.uk.com\/index.php?rest_route=\/wp\/v2\/posts\/15004\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cryptonews.uk.com\/index.php?rest_route=\/wp\/v2\/media\/15005"}],"wp:attachment":[{"href":"https:\/\/cryptonews.uk.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=15004"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cryptonews.uk.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=15004"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cryptonews.uk.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=15004"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}