NewsLayer.com
NewsLayer PulseLIVEBTC$80,727-0.98%ETH$2,326-1.81%SOL$100.37-2.52%XRP$1.28-3.89%DOGE$0.0791-1.22%ADA$0.2017-2.51%Total Cap$2.83T-0.29%Layer Index44 Neutral

Bitcoin apps risk massive fee drain, and 2 library bugs are blamed

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.

CryptoSlate

Publisher

Oct 28, 2026 at 5:30 AM UTC · 2 Min. Lesezeit

Bitcoin apps risk massive fee drain, and 2 library bugs are blamed
Image via CryptoSlate

Entities

bitcoin

Market Impact

BTC-0.98%$80,727

Last Updated

vor 2 Tagen

Übersetzung…

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

The risk concerns applications that import these packages and trust bitcoinjs-lib'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.

Why valid signatures can accompany misleading fees

A Bitcoin transaction's fee is the difference between the value of its inputs and its outputs, so understating an input makes the calculated fee look smaller.

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.

Market Context

Bitcoin

BTC

$80,728

-0.98% (24H)

Market Cap

$1.62T

24H Volume

$22.2B

24H High

$81,882

View Bitcoin Market Page

Article Intelligence

Key Entities

Related Coverage

View all related

Sponsored

Ad
House — Advertise on NewsLayer
NewsLayerLearn more

NewsLayer Premium

Unlock deeper intelligence.

Ad-free reading, exclusive research, and real-time onchain insights.

Go Premium