Bitcoinjs-lib Patches Two Bugs Affecting Miner Fee Calculations
Bitcoinjs-lib has patched two bugs that could lead to incorrect miner fee calculations in Bitcoin applications. The security updates, released on Oct. 26, are included in versions 5.2.2, 6.1.9, and 7.0.4. The issues primarily affect partially signed Bitcoin transactions (PSBTs), which are defined by BIP 174 for sharing transaction information and signatures. Applications using these libraries may miscalculate fees if they trust bitcoinjs-lib's calculations without independent verification. The first flaw allows signing and fee accounting to use different input values, leading to significant discrepancies. For instance, a demonstration showed a real fee of 900,000,000 satoshi reported as only 200 satoshi. The second flaw involves missing input-value records, causing the fee calculator to treat those inputs as zero, resulting in misleading fee reports. An example indicated a true fee of 91,000 satoshi reported as 1,000 satoshi. The patched versions now require a value for every input during fee calculation and reject conflicting records. Affected releases include versions 5.2.0 to 5.2.1, 6.0.0 to 6.1.8, and 7.0.0 to 7.0.3. Users unable to upgrade should verify output values independently and reject conflicting records before signing.
-- Price
This content is provided for general informational purposes only and doesn't constitute financial, investment, legal, or tax advice. Any events, rewards, online promotions, or related information mentioned herein should not be considered a recommendation, solicitation, or invitation to purchase, sell, trade, or otherwise deal in any crypto assets. Crypto assets are highly volatile and may result in loss. The availability of WEEX services, products, and related events may vary by region. You are responsible for ensuring that your participation is in accordance with applicable local laws and regulations.
You may also like

Greece ends years of crypto tax uncertainty with new 10% levy on Bitcoin profits

Proposal for Quantum Computer Attack Defense Mechanism

Nubank Suspends Crypto Withdrawals: What We Know So Far

Banking Outage in Japan: 128 Banks 'Frozen' at Once

Foundation hack exposes 21463 customer emails in phishing campaign

Argentine Bitcoiners Debut “The Genesis Of Satoshi Nakamoto” Artwork In Downtown Buenos Aires

Strive Reports Q3 Net Profit of Approximately $509 Million, Unrealized Net Gains from Digital Assets Around $534 Million

BitFuFu Mines 137 Bitcoins in October, Holdings Increase to 1454 Bitcoins

Hypercall Launches IPO Pre-Options Linked to Anthropic, Trading Starts Monday

35% Drop in Bitcoin Miners' Stocks in October

TeraWulf Q3 Financial Report: HPC Leasing Revenue Accounts for Approximately 83%, Digital Asset Revenue Decreases by 69.5% Year-on-Year

Bhutan: A royal decree opens the future central bank's reserves in Gelephu to cryptocurrencies

What is the real challenge for South Korean exchanges now that the regulatory framework is in place?

Former FBI Agent Pleads Guilty to Stealing $2.5M in Crypto From 35 Investigations

Breaking Down Bitcoin Trends: What Determines the True Value of L1?

BlackRock Loses $1 Billion Through Bitcoin ETF

唐华斑竹 Discusses Cryptocurrency Market Performance and Stability of Large Holders

Morgan Stanley Transfers 9,297 SOL to Coinbase, Retains 510,000 SOL

Stock Market Sell-off Continues, Crypto Market Faces Liquidation Risks

WEEX Exclusive: Stocks Crash; Bitcoin Plummets to $76K Support | WEEX TradFi Daily Brief (November 6, 2026)

Stocks Crash; Bitcoin Plummets to $76K Support | WEEX TradFi Daily Brief (November 6, 2026)

Bitcoin's rate cut relief stalls as service inflation flares

Tether Earns $1.5 Billion in Q1: Where Does USDT's Revenue Come From?

Hong Kong Stock Exchange Launches First ETF Investing in Bitcoin and Gold Futures, Net Profit Declines by 1%

Bitcoin Spot ETF Sees $430 Million Net Outflow Yesterday, Fidelity's FBTC Leads with $200 Million

JPMorgan Expects Bitcoin Annualized Return of 10%, Higher Than Other Assets

Unpatched Bitcoin Lightning nodes face channel-draining bug

Sean Farrell Predicts Bitcoin Has Passed Its Bottom

Bitcoin developer proposes 'Quantum Landmines' to prevent quantum theft









