Skip to content
High 7.1

node-tarの脆弱性、細工したアーカイブでメモリ枯渇によるサービス停止のおそれ

CVE-2026-140118 First seen on SecPulse

Summary

node-tarには、攻撃者が用意したアーカイブを非同期で展開すると、メモリを使い切ってNode.jsのプロセスが停止する脆弱性があります。8.0.0より前のバージョンが対象で、POSIX系のホストで影響します。修正版の8.0.0に更新してください。

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

node-tarには、攻撃者が用意したアーカイブを非同期で展開すると、メモリを使い切ってNode.jsのプロセスが停止する脆弱性があります。8.0.0より前のバージョンが対象で、POSIX系のホストで影響します。修正版の8.0.0に更新してください。

Fix status by distribution

Records published by each distribution for this CVE. Fixed versions differ by release; check each link.

Original description The description as published by the source.

node-tar is a tar archive manipulation library for Node.js. Prior to 8.0.0, on POSIX hosts, asynchronous extraction of an attacker-controlled archive with a deeply nested linkpath causes PathReservations.getDirs() to materialize every ancestor prefix. The quadratic allocation can exhaust the Node.js heap and terminate the process. The reserve() path is not used for this purpose on Windows. This issue is fixed in version 8.0.0.

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details