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's Correlation with the S&P 500 Index Surpasses Zero

Bitcoin Miners Turn to AI: Escaping the Crypto Cycle, but Entering New Turbulence

Cryptocurrency Exchanges Enter the U.S. Stock Derivatives Market as CFTC Approves Perpetual Futures Amid Wall Street Backlash

Is Trump Media selling Bitcoin? 4,259 BTC moved to Crypto.com

Altcoin profit share sinks to 12% as short-term traders take losses

Santiment: Bitcoin Holders Realize $7.86 Billion in Net Profit

BitMart Founder: Security Team Facing Staff Shortages

Bitcoin Spot ETF Sees Net Inflow of $74.57 Million Yesterday, Fidelity's FBTC Leads with $237 Million

Arthur Hayes Warns of Dilution Risks for AI Giants After IPOs

Bitcoin cycle bottom unconfirmed, downside risk persists

Bitcoin Advances BIP-54 Soft Fork to Fix Four Consensus Rule Vulnerabilities

FERC Approves MARA's Acquisition of Long Ridge Natural Gas Power Plant

BTCPay Server Hot Wallet Hacked, Users Advised to Migrate Funds

JPMorgan Predicts 10% Annualized Return for Bitcoin and Includes It in 2027 Capital Market Assumptions

American Bitcoin increases BTC holdings by 5% in Q3

American Bitcoin Reports $126 Million Net Profit in Q3

Sam Price Points Out Bitcoin Price Fluctuation

Willy Woo: The Global Financial System May Face a Historic Debt Restructuring in the Next 5 Years

Bitcoin Security Team Discovers Over 10,000 Potential Vulnerabilities in Two Months

Matt Corallo Warns of Linux Kernel Vulnerability, Lightning Labs Releases LND Update

Block (XYZ) Sets Aside $764 Million For DOJ Settlement

Librería De Satoshi Rebrands To ISMOS, Launches Global Developer Training Platform

BitMart users allege founder blocked appeals over 800,000 ATEG

Coinbase says customers unaffected by $6.34B Binance hack

Riot Platforms completes Bitcoin custody transfer from NYDIG to BitGo

The 'Election Effect' of Bitcoin: Political Catalyst or Coinciding with the Halving Cycle?

Crypto market outlook after US midterms, will Bitcoin reclaim $80,000?

Riot Cashes Out $1.5 Billion, Sells Approximately 20,264 BTC in the First Three Quarters

Robert Kiyosaki Suggests Continuing to Buy During Drops in Gold, Silver, and Bitcoin












