NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
Not in CISA KEV

CVE-2026-140236 — Isaacs

Fix: isaacs/node-tar@f351e5b

CVE-2026-140236 is a CWE-436 vulnerability. The records list no fixed version yet; check the vendor advisory below and apply the mitigations in the meantime.

node-tar is a tar archive manipulation library for Node.js. Prior to 8.0.0, ReadEntry still applies PAX size values to GNU and PAX metadata entries, causing node-tar to frame archive…

Published
Updated
Affected
—
Patched
See advisory
Exploits
None indexed
Exploitation data as of Dec 1, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

Description

node-tar is a tar archive manipulation library for Node.js. Prior to 8.0.0, ReadEntry still applies PAX size values to GNU and PAX metadata entries, causing node-tar to frame archive bodies differently from other tar implementations. Related inconsistencies can bypass maxMetaEntrySize and reverse local-versus-global PAX precedence. The output-archive variant requires the archive-file input repacking feature or Pack.add(ReadEntry); a mismatch between the declared header size and copied body bytes can create additional members in the output archive. Ordinary creation from filesystem inputs is not that repacking surface. This issue is fixed in version 8.0.0.

Detection & mitigation playbook

Vulnerability
  1. Detect

    Identify every host running the affected component and compare the installed build against the fixed version below — for source-built or distro-packaged software the version string, not a lockfile, is the source of truth (`dpkg -l`, `rpm -q`, or the binary's own `--version`).

  2. Remediation status

    The records we use list no fixed release for CVE-2026-140236. Check the upstream advisory for a patched version, and apply the exposure-reduction steps below in the meantime.

  3. Mitigate without a patch

    If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.

Frequently Asked Questions

node-tar is a tar archive manipulation library for Node.js. Prior to 8.0.0, ReadEntry still applies PAX size values to GNU and PAX metadata entries, causing node-tar to frame archive bodies differently from other tar implementations. Related inconsistencies can bypass maxMetaEntrySize and reverse local-versus-global PAX precedence. The output-archive variant requires the archive-file input repacking feature or Pack.add(ReadEntry); a mismatch between the declared header size and copied body bytes can create additional members in the output archive. Ordinary creation from filesystem inputs is no
O3 Security · Impact-Aware SCA

Is CVE-2026-140236 in your dependencies?

Find it across your dependency tree, including transitive dependencies.