Skip to content
Fencer Intel
high 7.5

CVE-2026-59874 json

node-tar: Negative tar entry size causes infinite loop in archive replace

published 4mo ago modified 17d ago also EUVD-2026-42306 , GHSA-8x88-c5mf-7j5w

cvss
7.5
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
0.4%
EPSS 0.4% chance of exploitation in 30 days, percentile 38%
public exploits
0
none known

Summary

node-tar is a tar archive manipulation library for Node.js. Prior to 7.5.18, tar.replace accepts a checksum-valid tar header with a negative base-256 encoded entry size, causing the archive scanner to make no progress while repeatedly parsing the same header. This issue is fixed in version 7.5.18.

Patch / fix

  • npm tar 7.5.18
  • isaacs tar 7.5.18
  • node-tar Debian 14 7.5.19+~4.0.1-1

debian advisories DEBIAN-CVE-2026-59874

  • rh-podman-desktop RHEL 10.2 1.1.2-1.el10_2
  • npm RHEL 9 1:11.16.0-1.24.18.0.3.module+el9.8.0+24537+83ec84e1
  • nodejs RHEL 9 1:24.18.0-3.module+el9.8.0+24537+83ec84e1
  • nodejs-libs RHEL 9 1:24.18.0-3.module+el9.8.0+24537+83ec84e1
  • nodejs-nodemon RHEL 9 3.1.14-2.module+el9.8.0+24539+0ea88729
  • nodejs-full-i18n RHEL 9 1:24.18.0-3.module+el9.8.0+24537+83ec84e1
  • nodejs-packaging RHEL 9 2021.06-6.module+el9.8.0+24355+35d95b59
  • nodejs-packaging-bundler RHEL 9 2021.06-6.module+el9.8.0+24355+35d95b59

red hat advisories RHSA-2026:57590RHSA-2026:53298RHSA-2026:52399RHSA-2026:47057RHSA-2026:47058RHSA-2026:48034

  • nodejs AlmaLinux 10 1:22.23.1-4.el10_2
  • nodejs-npm AlmaLinux 10 1:10.9.8-1.22.23.1.4.el10_2
  • nodejs-libs AlmaLinux 10 1:22.23.1-4.el10_2
  • nodejs-full-i18n AlmaLinux 10 1:22.23.1-4.el10_2
  • nodejs24 AlmaLinux 10 1:24.18.0-3.el10_2
  • nodejs24-npm AlmaLinux 10 1:11.16.0-1.24.18.0.3.el10_2
  • nodejs24-libs AlmaLinux 10 1:24.18.0-3.el10_2
  • nodejs24-full-i18n AlmaLinux 10 1:24.18.0-3.el10_2

almalinux advisories ALSA-2026:48033ALSA-2026:48034ALSA-2026:47057ALSA-2026:47058ALSA-2026:47059ALSA-2026:47060

  • nodejs Rocky Linux 9 1:24.18.0-3.module+el9.8.0+40264+d9b257bb
  • nodejs-nodemon Rocky Linux 9 3.1.14-2.module+el9.8.0+40264+d9b257bb
  • nodejs-packaging Rocky Linux 9 2021.06-6.module+el9.7.0+40052+e32ea525
  • nodejs-packaging Rocky Linux 9 2021.06-6.module+el9.7.0+40153+4d595597
  • nodejs-packaging Rocky Linux 9 2021.06-6.module+el9.7.0+40165+d075e3f2
  • nodejs-packaging Rocky Linux 9 2021.06-6.module+el9.8.0+40164+8921ab53
  • nodejs Rocky Linux 9 1:22.23.1-2.module+el9.8.0+40263+faa47049
  • nodejs-nodemon Rocky Linux 9 3.1.14-1.module+el9.8.0+40263+faa47049

rocky linux advisories RLSA-2026:47057RLSA-2026:47058RLSA-2026:48033RLSA-2026:48034RLSA-2026:47059RLSA-2026:47060

Is CVE-2026-59874 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2026-59874 updated cvss 7.5

tar: Node-tar: Denial of Service via malformed tar archive header

  • Red Hat Confidential Compute Attestation openshift-sandboxed-containers/osc-pccs
    affected: workaround, no fix planned “Will not fix”
  • Red Hat Exploit Intelligence exploit-intelligence-tech-preview/vulnerability-analysis-rhel9 Red Hat Node HealthCheck Operator workload-availability/node-healthcheck-rhel9-operator, workload-availability/node-healthcheck-operator-bundle, workload-availability/node-healthcheck-must-gather-rhel9 Red Hat OpenShift Pipelines openshift-pipelines/pipelines-console-plugin-rhel8, openshift-pipelines/pipelines-console-plugin-rhel9, openshift-pipelines/pipelines-console-plugin-pf5-rhel9 Red Hat build of Apache Camel - HawtIO 4 tar Red Hat Build of Podman Desktop rh-podman-desktop.git Red Hat Connectivity Link 1 rhcl-1/rhcl-console-plugin-rhel9
    +2 more products
    Red Hat Enterprise Linux 9 sgx-mpa, tdx-qgs, sgx-libs, sgx-pccs, linux-sgx, sgx-common, +2 more Red Hat Enterprise Linux 10 linux-sgx
    affected: workaround, no fix available
  • Red Hat Enterprise Linux AI (RHEL AI) 3 rhelai3/bootc-cuda-rhel9, rhelai3/bootc-rocm-rhel9, rhelai3/bootc-gaudi-rhel9, rhelai3/disk-image-cuda-rhel9
    affected: workaround, no fix available, no fix planned “Will not fix”
  • Red Hat Openshift Data Foundation 4 odf4/mcg-core-rhel9, odf4/odf-console-rhel9, odf4/ocs-client-console-rhel9, odf4/odf-multicluster-console-rhel9
    affected: workaround, no fix available
  • Red Hat Single Sign-On 7 tar
    affected: workaround, no fix planned “Will not fix”
  • Red Hat AMQ Broker 7.13.6
    fixed: vendor fix RHSA-2026:66545
  • Red Hat AMQ Broker 7.14.1
    fixed: vendor fix RHSA-2026:66488
  • Red Hat Ansible Automation Platform 2.2 ansible-automation-platform/automation-portal 1784622951
    fixed: vendor fix RHSA-2026:42815
show 24 more
  • Red Hat Enterprise Linux AppStream (v. 8) nodejs 22.23.1-2.module+el8.10.0+24556+e9352af2, nodejs 24.18.0-2.module+el8.10.0+24562+090c6525, nodejs-libs 22.23.1-2.module+el8.10.0+24556+e9352af2, nodejs-libs 24.18.0-2.module+el8.10.0+24562+090c6525, npm 10.9.8-1.22.23.1.2.module+el8.10.0+24556+e9352af2, nodejs-nodemon 3.1.14-1.module+el8.10.0+24556+e9352af2, +8 more
    fixed: vendor fix RHSA-2026:47059
  • Red Hat Enterprise Linux AppStream (v. 9) nodejs 22.23.1-2.module+el9.8.0+24538+3f176d52, nodejs 24.18.0-3.module+el9.8.0+24537+83ec84e1, nodejs-libs 22.23.1-2.module+el9.8.0+24538+3f176d52, nodejs-libs 24.18.0-3.module+el9.8.0+24537+83ec84e1, npm 10.9.8-1.22.23.1.2.module+el9.8.0+24538+3f176d52, nodejs-nodemon 3.1.14-1.module+el9.8.0+24540+c30b2ffe, +8 more
    fixed: vendor fix RHSA-2026:47058
  • Red Hat Enterprise Linux AppStream (v. 10) nodejs 22.23.1-4.el10_2, nodejs22 22.23.1-4.el10_2, nodejs24 24.18.0-3.el10_2, nodejs-libs 22.23.1-4.el10_2, nodejs24-libs 24.18.0-3.el10_2, nodejs-full-i18n 22.23.1-4.el10_2, +3 more
    fixed: vendor fix RHSA-2026:48033
  • Red Hat Enterprise Linux AppStream EUS (v. 10.0) nodejs 22.23.1-3.el10_0, nodejs22 22.23.1-3.el10_0, nodejs-libs 22.23.1-3.el10_0, nodejs-full-i18n 22.23.1-3.el10_0, nodejs-npm 10.9.8-1.22.23.1.3.el10_0
    fixed: vendor fix RHSA-2026:53298
  • Red Hat Enterprise Linux AppStream EUS (v.9.6) nodejs 22.23.1-2.module+el9.6.0+24604+449f851b, nodejs-libs 22.23.1-2.module+el9.6.0+24604+449f851b, npm 10.9.8-1.22.23.1.2.module+el9.6.0+24604+449f851b, nodejs-nodemon 3.1.14-1.module+el9.6.0+24604+449f851b, nodejs-full-i18n 22.23.1-2.module+el9.6.0+24604+449f851b, nodejs-packaging 2021.06-4.module+el9.6.0+23473+45664c2d, +1 more
    fixed: vendor fix RHSA-2026:52399
  • Red Hat Enterprise Linux Extensions Channel (v. 10) rh-podman-desktop 1.1.2-1.el10_2
    fixed: vendor fix RHSA-2026:57590
  • Red Hat Migration Toolkit 1.8 rhmtc/openshift-migration-ui-rhel8 1789546373
    fixed: vendor fix RHSA-2026:68681
  • Red Hat OpenShift AI 2.25 rhoai/odh-dashboard-rhel9 1788312226, rhoai/odh-mod-arch-model-registry-rhel9 1788312157, rhoai/odh-workbench-codeserver-datascience-cpu-py312-rhel9 1787801527
    fixed: vendor fix RHSA-2026:65126
  • Red Hat OpenShift AI 3.3 rhoai/odh-mlflow-rhel9 1789653606, rhoai/odh-workbench-codeserver-datascience-cpu-py312-rhel9 1790013905
    fixed: vendor fix RHSA-2026:73987
  • Red Hat OpenShift AI 3.4 rhoai/odh-dashboard-rhel9 1787347991, rhoai/odh-mod-arch-maas-rhel9 1787251250, rhoai/odh-mod-arch-automl-rhel9 1787250508, rhoai/odh-mod-arch-gen-ai-rhel9 1786611759, rhoai/odh-mod-arch-mlflow-rhel9 1786612219, rhoai/odh-mod-arch-autorag-rhel9 1787251550, +3 more
    fixed: vendor fix RHSA-2026:60520
  • Red Hat OpenShift Dev Spaces 3.29 devspaces/dashboard-rhel9 1784737150
    fixed: vendor fix RHSA-2026:48124
  • Red Hat OpenShift Dev Spaces 3.30 devspaces/code-rhel9 1787762793, devspaces/openvsx-rhel9 1787759145
    fixed: vendor fix RHSA-2026:62260
  • Red Hat OpenShift Service Mesh 3.0 openshift-service-mesh/kiali-rhel9 1784806446, openshift-service-mesh/kiali-ossmc-rhel9 1784806351
    fixed: vendor fix RHSA-2026:49687
  • Red Hat OpenShift Service Mesh 3.1 openshift-service-mesh/kiali-rhel9 1784813917, openshift-service-mesh/kiali-ossmc-rhel9 1784813334
    fixed: vendor fix RHSA-2026:49689
  • Red Hat OpenShift Service Mesh 3.2 openshift-service-mesh/kiali-rhel9 1784795457, openshift-service-mesh/kiali-ossmc-rhel9 1784805014
    fixed: vendor fix RHSA-2026:49681
  • Red Hat OpenShift Service Mesh 3.3 openshift-service-mesh/kiali-rhel9 1784806326, openshift-service-mesh/kiali-ossmc-rhel9 1784824388
    fixed: vendor fix RHSA-2026:49680
  • Red Hat Satellite 6.18 satellite/iop-remediations-rhel9 1788230538
    fixed: vendor fix RHSA-2026:63371
  • Red Hat Satellite 6.19 satellite/iop-remediations-rhel9 1786008041
    fixed: vendor fix RHSA-2026:51200
  • Red Hat Trusted Artifact Signer 1.4 rhtas/rekor-search-ui-rhel9 1791534339
    fixed: vendor fix RHSA-2026:83598
  • Red Hat Cryostat 4 tar, grafana-infinity-datasource-npm, cryostat-openshift-console-plugin-npm Red Hat 3scale API Management Platform 2 3scale-amp21/system, 3scale-amp22/system, 3scale-amp2/system-rhel7, 3scale-amp2/system-rhel8, 3scale-amp2/system-rhel9
    not affected: component not present
  • Red Hat Advanced Cluster Management for Kubernetes 2 rhacm2/volsync-rhel9, rhacm2/volsync-operator-bundle
    not affected: vulnerable code not present
  • Red Hat build of Apache Camel for Spring Boot 4 tar
    not affected: component not present
  • Red Hat Developer Hub 1 rhdh/rhdh-hub-rhel9
    not affected: vulnerable code not in execute path
  • Red Hat Enterprise Linux 6 tar
    not affected: vulnerable code not present

18 more not affected in the full advisory

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
Proof of concept is public
Automatable
yes
Technical impact
partial
Assessed
4mo ago

Exploit prediction

0.43% chance of exploitation in the next 30 days, higher than 38% of all scored CVEs (FIRST EPSS, 2026-11-11).

Exploits and checks

  • github.com https://github.com/isaacs/node-tar/security/advisories/GHSA-8x88-c5mf-7j5w referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CNA 4.0 8.7 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
GitHub 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CNA 4.0 8.7 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
NVD 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected packages

ecosystem package affected fixed in
npm tar
<7.5.18
7.5.18

Affected products

  • isaacs node-tar

Classification

Weakness
  • CWE-835 Loop with Unreachable Exit Condition

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

The maintainers of isaacs/node-tar published their own advisory on GitHub. Reviewed sources take precedence over it.