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

New Signature Design Proposed Against Quantum Threats for Bitcoin

Robinhood Executive Says Private Equity Tokenization is the Next Frontier

November Dormant Bitcoin Transfers Increase to 66, Totaling Approximately $14.2 Million

Foundry USA Pool Introduces PPLNS Payment Model

Tether spends $10 million buying shares of a Bitcoin miner that holds no BTC

Localhost Proposes Quantum-Resistant Bitcoin Signature Scheme NAEST

Anthropic's AI Cryptanalysis Result Confirmed, Bitcoin Remains Secure

WhiteArmor claims Foxconn data theft, demands $15M in Bitcoin

Rare Satoshis: Three Transactions Accounted for Nearly One Third of the Turnover

Malaysia's First Spot Bitcoin ETF to Launch on December 2

Bitcoin proposal editor plans to step down as two July drafts remain open

Bitcoin Fund Faces 16.5% Loss, Hilbert Wants Deribit to Pay

Spain could freeze crypto accounts for up to five business days

Bitcoin and Gold: The Two Major Losers of Financial Markets in 2026

Bitcoin Whales Break Historical Patterns. Such Accumulation Hasn't Been Seen in a Long Time

Analysis Shows Bitcoin's Four-Year Holding Period Yields Positive Returns

BitMine Increases Holdings by 7,640 ETH, Total Holdings Reach 6.093 Million

Strategy Repurchases $227 Million in STRC and Sells 254,000 Shares of Common Stock

Strategy Increases Holdings by 1,195 Bitcoins, Total Holdings Reach 852,500

MARA Completes $1.5 Billion Acquisition of Long Ridge Energy & Power

ViaBTC Founder: Crypto Peaked in 2021, Ponzi Structure Lacks New Capital, May Never Break $60,000 Again

Web3 Loses $246.2 Million in November, Down 93% Month-on-Month

Strive Increases Bitcoin Holdings by 48 to 43,452

The Longest Bear Market in History: Can Bitcoin Still Attract New Buyers?

Crypto: Franklin Templeton Integrates Hyperliquid into Its ETF

Ripple Prepares for Final XRP Token Release in 2026

UK MP’s AI encryption warning raises questions over crypto security

56% of Bitcoin Supply Is Underwater. What Happens Near $47,500?

A Confession from a Crypto Artist: The NFT Craze Was Never About Art









