31 matches found
Node.js tar PAX newline injection vulnerability research and exploit
This repository is a security research project and exploit for a vulnerability in the node-tar library. It provides a proof of concept to demonstrate how newline characters in PAX headers can lead to path injection during archive extraction. Users can run the provided scripts to verify the presen...
node-tar parses PAX extended headers by newline-splitting instead of length-delimiting, causing record dropping and forged-field injection
Summary node-tar parses POSIX pax extended headers by splitting the header body on every newline and validating each resulting line's length prefix, instead of consuming length-delimited records as the format specifies. A record whose value contains a newline which occurs legitimately whenever an...
node-tar: ReadEntry pending PAX size reapplication permits metadata-body file smuggling
Summary A crafted tar archive containing consecutive PAX headers can make node-tar interpret a block inside a PAX metadata body as a real filesystem entry. Under default options, both tar.list and tar.extract expose the hidden entry, and extraction can truncate an existing file inside the...
GHSA-P96F-8XJ2-G85P node-tar: ReadEntry pending PAX size reapplication permits metadata-body file smuggling
Summary A crafted tar archive containing consecutive PAX headers can make node-tar interpret a block inside a PAX metadata body as a real filesystem entry. Under default options, both tar.list and tar.extract expose the hidden entry, and extraction can truncate an existing file inside the...
CVE-2026-140235 node-tar parses PAX extended headers by newline-splitting instead of length-delimiting, causing record dropping and forged-field injection
node-tar is a tar archive manipulation library for Node.js. From 7.5.0 until 8.0.0, parseKV splits length-delimited PAX records on newline characters, so a newline inside a record value can drop the original field and turn a trailing fragment into a forged path, size, linkpath, or other entry...
CVE-2026-140235
The node-tar library for Node.js (versions 7.5.0 through 8.0.0 ) is vulnerable to record dropping and forged-field injection. The root cause is that the parseKV function splits length-delimited PAX records based on newline characters instead of proper length-delimiting. This allows a newline with...
CVE-2026-140235 node-tar parses PAX extended headers by newline-splitting instead of length-delimiting, causing record dropping and forged-field injection
node-tar is a tar archive manipulation library for Node.js. From 7.5.0 until 8.0.0, parseKV splits length-delimited PAX records on newline characters, so a newline inside a record value can drop the original field and turn a trailing fragment into a forged path, size, linkpath, or other entry...
Astra Linux - vulnerability in pypy, python2.7
In Lib/tarfile.py in Python through 3.8.3, an attacker is able to craft a TAR archive leading to an infinite loop when opened by tarfile.open, because procpax lacks header validation...
GHSA-R292-9MHP-454M node-tar: Uncontrolled recursion in mapHas/filesFilter allows uncatchable stack-overflow DoS via crafted long-path tar with member selection
Summary node-tar npm tar contains an uncontrolled-recursion stack-exhaustion DoS in the internal mapHas helper used by filesFilter. When a consumer calls tar.t... or tar.x... with a non-empty member-selection list, node-tar installs a filter that closes over the recursive mapHas src/list.ts:33-44...
CVE-2026-53655
A flaw was found in node-tar. This vulnerability arises because node-tar incorrectly applies PAX extended header size records to subsequent intermediary metadata headers, leading to a desynchronization of the tar stream cursor compared to other standard tar implementations. A remote attacker coul...
SUSE CVE-2026-53655
node-tar is a full-featured Tar for Node.js. Prior to 7.5.16, tar node-tar applies a PAX extended header's size= record and other PAX overrides to the next header entry of any type, including intermediary metadata headers such as a GNU long-name L or long-link K entry. Per POSIX pax, a PAX extend...
CLSA-2026-1781083779 python3: Fix of CVE-2025-13462
CVE-2025-13462: tarfile: skip AREGTYPE-DIRTYPE normalization while reading GNU LONGNAME/LONGLINK and PAX follow-up headers, so a longname regular file is not misparsed as a directory...
CLSA-2026-1781083045 python3.11: Fix of CVE-2025-13462
CVE-2025-13462: tarfile: skip AREGTYPE-DIRTYPE normalization while reading GNU LONGNAME/LONGLINK and PAX follow-up headers, so a longname regular file is not misparsed as a directory...
Exploit for CVE-2025-62518
Tarmageddon CVE-2025-62518https://nvd.nist.gov/vuln/detail/...
CLSA-2025-1762535960 tar: Fix of CVE-2023-39804
CVE-2023-39804: fix crash in GNU tar caused by incorrect handling of extended PAX xattr headers leading to memory corruption DoS...
SUSE CVE-2025-62518
astral-tokio-tar is a tar archive reading/writing library for async Rust. Versions of astral-tokio-tar prior to 0.5.6 contain a boundary parsing vulnerability that allows attackers to smuggle additional archive entries by exploiting inconsistent PAX/ustar header handling. When processing archives...
GHSA-W476-P2H3-79G9 uv has differential in tar extraction with PAX headers
Impact In versions 0.9.4 and earlier of uv, tar archives containing PAX headers with file size overrides were not handled properly. As a result, an attacker could contrive a source distribution as a tar archive that would extract differently when installed via uv versus other Python package...
CVE-2025-62518
astral-tokio-tar is a tar archive reading/writing library for async Rust. Versions of astral-tokio-tar prior to 0.5.6 contain a boundary parsing vulnerability that allows attackers to smuggle additional archive entries by exploiting inconsistent PAX/ustar header handling. When processing archives...
CVE-2025-62518 astral-tokio-tar Vulnerable to PAX Header Desynchronization
astral-tokio-tar is a tar archive reading/writing library for async Rust. Versions of astral-tokio-tar prior to 0.5.6 contain a boundary parsing vulnerability that allows attackers to smuggle additional archive entries by exploiting inconsistent PAX/ustar header handling. When processing archives...
CVE-2025-62518 astral-tokio-tar Vulnerable to PAX Header Desynchronization
astral-tokio-tar is a tar archive reading/writing library for async Rust. Versions of astral-tokio-tar prior to 0.5.6 contain a boundary parsing vulnerability that allows attackers to smuggle additional archive entries by exploiting inconsistent PAX/ustar header handling. When processing archives...