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

Bitcoin Spot ETF Sees Net Outflow of $643 Million, BlackRock's IBIT Leads with $234 Million Outflow

18th Anniversary of Bitcoin White Paper: Wall Street Embraces Crypto Assets

MSTR Q3 2026 Earnings Call Analyst Q&A Highlights

Mike Flaum Predicts MSTR Performance Will Surge in Next BTC Bull Run

Ledger CTO: "Threshold for Decryption Continues to Lower"... Bitcoin Cryptography Warning

BlackRock's Bitcoin ETF Targeted as Potential Target for North Korean Hackers

Logan Calls for Minimum Two Rate Hikes

CDI was the only refuge in October: what this reveals

Wall Street Analysts Recommend Buying Crypto-Linked Stocks After Binance Hack

Strategic Increases Bitcoin Purchase Capacity After Securing $4.8 Billion in Cash

Ethereum Funds Lose 248 Million Euros, Bitcoin Funds Attract 396 Million Euros

Bitcoin: The Last 3 Midterms Marked the Cycle Low

Polymarket launches 15-minute gold and silver markets with Chainlink

Crypto and DeFi: Only One in Five Americans Consider Their Financial System Safe

Bitcoin censorship dispute pits Ocean miner freedom against lost fees

BOJ to Double Annual ETF Sales to 860 Billion Yen from January 2027

Nscale Plans IPO with a Target Valuation of $30 Billion

Bitcoin treasuries hold 1.3M BTC as Bitfinex flags funding risk

Ansem warns BTC's 2% drop post-Binance hack not a bullish signal

Strategy Preferred Stock Financing Structure Stabilizes, May Support Increased Bitcoin Holdings

Bitcoin ETF Flows Shift to Strong Accumulation

Analyst Claims US Pressures Allies to Hold US Debt, Long-Term Bullish on Bitcoin and Gold

France's Debt at 120% GDP, Alexandre Laizet Advocates for Bitcoin

BofA's Hartnett: The Contradiction Between AI and ABB is Exploding, True Decompression for Tech Stocks May Have to Wait Until Next Year

Crypto Custody Enters the Second Half: From 'Keeping Assets Safe' to 'Managing Assets Well'

Bitcoin mining difficulty hits 148 trillion as revenues fall to three-month lows

Analyst predicts Binance loss coverage will increase Bitcoin buying pressure

Cash App Transforms into Comprehensive Digital Bank, Launches Financial Products like Stocks and ETFs

Michael Saylor Claims Bitcoin Treasury Purchases BTC at 1.6 Times the Output of Miners











