---
id: CVE-2026-59874
title: >-
  tar: Node-tar: Denial of Service via malformed tar archive header
  (CVE-2026-59874)
summary: >-
  A flaw was found in node-tar, a tar archive manipulation library for Node.js.
  A remote attacker could exploit this vulnerability by providing a specially
  crafted tar archive with a negative entry size in its header. This malformed
  header c…
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'
cvssSource: vendor
cwe:
  - CWE-606
  - CWE-835
vendor: Red Hat
product: Red Hat Enterprise Linux AppStream (v. 8)
affected:
  - confidential_compute_attestation
  - exploit_intelligence
  - node_healthcheck_operator
  - openshift_pipelines
  - build_of_apache_camel_hawtio 4
  - build_of_podman_desktop
  - connectivity_link 1
  - enterprise_linux 10
  - enterprise_linux 9
  - enterprise_linux_ai_rhel_ai 3
  - hardened_images
  - openshift_ai_rhoai
  - openshift_data_foundation 4
  - single_sign_on 7
  - trusted_artifact_signer
  - enterprise_linux_appstream_eus_v_10_0
  - enterprise_linux_appstream_v_10
  - enterprise_linux_appstream_v_8
  - enterprise_linux_appstream_eus_v_9_6
  - enterprise_linux_appstream_v_9
  - enterprise_linux_extensions_channel_v_10
  - amq_broker 7.13.6
  - amq_broker 7.14.1
  - ansible_automation_platform 2.2
  - migration_toolkit 1.8
  - openshift_ai 2.25
  - openshift_ai 3.4
  - openshift_dev_spaces 3.29
  - openshift_dev_spaces 3.30
  - openshift_service_mesh 3.0
  - openshift_service_mesh 3.1
  - openshift_service_mesh 3.2
  - openshift_service_mesh 3.3
  - satellite 6.18
  - satellite 6.19
patched:
  - enterprise_linux_appstream_eus_v_10_0
  - enterprise_linux_appstream_v_10
  - enterprise_linux_appstream_v_8
  - enterprise_linux_appstream_eus_v_9_6
  - enterprise_linux_appstream_v_9
  - enterprise_linux_extensions_channel_v_10
  - amq_broker 7.13.6
  - amq_broker 7.14.1
  - ansible_automation_platform 2.2
  - migration_toolkit 1.8
  - openshift_ai 2.25
  - openshift_ai 3.4
  - openshift_dev_spaces 3.29
  - openshift_dev_spaces 3.30
  - openshift_service_mesh 3.0
  - openshift_service_mesh 3.1
  - openshift_service_mesh 3.2
  - openshift_service_mesh 3.3
  - satellite 6.18
  - satellite 6.19
published: '2026-07-08'
updated: '2026-09-21'
sourceUpdated: '2026-09-21T11:25:13+00:00'
source: CSAF
sourceUrl: 'https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-59874.json'
references:
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-59874.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-59874'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2498116'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-59874'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-59874'
  - url: >-
      https://github.com/isaacs/node-tar/commit/9e78bf058b2c22dd4d52e00d8922d5c06fc2f7b5
  - url: 'https://github.com/isaacs/node-tar/releases/tag/v7.5.18'
  - url: 'https://github.com/isaacs/node-tar/security/advisories/GHSA-8x88-c5mf-7j5w'
  - url: 'https://access.redhat.com/errata/RHSA-2026:53298'
  - url: 'https://access.redhat.com/errata/RHSA-2026:48033'
  - url: 'https://access.redhat.com/errata/RHSA-2026:48034'
  - url: 'https://access.redhat.com/errata/RHSA-2026:47059'
  - url: 'https://access.redhat.com/errata/RHSA-2026:47060'
  - url: 'https://access.redhat.com/errata/RHSA-2026:52399'
  - url: 'https://access.redhat.com/errata/RHSA-2026:47058'
  - url: 'https://access.redhat.com/errata/RHSA-2026:47057'
  - url: 'https://access.redhat.com/errata/RHSA-2026:57590'
  - url: 'https://access.redhat.com/errata/RHSA-2026:66545'
  - url: 'https://access.redhat.com/errata/RHSA-2026:66488'
  - url: 'https://access.redhat.com/errata/RHSA-2026:42815'
  - url: 'https://access.redhat.com/errata/RHSA-2026:68681'
  - url: 'https://access.redhat.com/errata/RHSA-2026:65126'
  - url: 'https://access.redhat.com/errata/RHSA-2026:60520'
  - url: 'https://access.redhat.com/errata/RHSA-2026:48124'
  - url: 'https://access.redhat.com/errata/RHSA-2026:62260'
  - url: 'https://access.redhat.com/errata/RHSA-2026:49687'
  - url: 'https://access.redhat.com/errata/RHSA-2026:49689'
  - url: 'https://access.redhat.com/errata/RHSA-2026:49681'
  - url: 'https://access.redhat.com/errata/RHSA-2026:49680'
  - url: 'https://access.redhat.com/errata/RHSA-2026:63371'
  - url: 'https://access.redhat.com/errata/RHSA-2026:51200'
  - url: 'https://github.com/advisories/GHSA-8x88-c5mf-7j5w'
tags:
  - csaf
  - vex
  - red-hat
  - ghsa
  - npm
epss: 0.00644
epssPercentile: 0.48678
aliases:
  - GHSA-8x88-c5mf-7j5w
ecosystem: npm
ingestedAt: '2026-07-20T22:43:35.356Z'
---

## Overview

A flaw was found in node-tar, a tar archive manipulation library for Node.js. A remote attacker could exploit this vulnerability by providing a specially crafted tar archive with a negative entry size in its header. This malformed header causes the archive scanner to enter an infinite loop, repeatedly parsing the same header and preventing further processing. This can lead to a denial of service (DoS) condition, making the affected system or application unresponsive.

## Vendor advisories

- **RHSA-2026:53298** · Red Hat · fixed in: Red Hat Enterprise Linux AppStream EUS (v. 10.0) · released 2026-08-11 · [advisory](https://access.redhat.com/errata/RHSA-2026:53298)
- **RHSA-2026:48033** · Red Hat · fixed in: Red Hat Enterprise Linux AppStream (v. 10) · released 2026-07-29 · [advisory](https://access.redhat.com/errata/RHSA-2026:48033)
- **RHSA-2026:48034** · Red Hat · fixed in: Red Hat Enterprise Linux AppStream (v. 10) · released 2026-07-29 · [advisory](https://access.redhat.com/errata/RHSA-2026:48034)
- **RHSA-2026:47059** · Red Hat · fixed in: Red Hat Enterprise Linux AppStream (v. 8) · released 2026-07-28 · [advisory](https://access.redhat.com/errata/RHSA-2026:47059)
- **RHSA-2026:47060** · Red Hat · fixed in: Red Hat Enterprise Linux AppStream (v. 8) · released 2026-07-28 · [advisory](https://access.redhat.com/errata/RHSA-2026:47060)
- **RHSA-2026:52399** · Red Hat · fixed in: Red Hat Enterprise Linux AppStream EUS (v.9.6) · released 2026-08-10 · [advisory](https://access.redhat.com/errata/RHSA-2026:52399)
- **RHSA-2026:47058** · Red Hat · fixed in: Red Hat Enterprise Linux AppStream (v. 9) · released 2026-08-03 · [advisory](https://access.redhat.com/errata/RHSA-2026:47058)
- **RHSA-2026:47057** · Red Hat · fixed in: Red Hat Enterprise Linux AppStream (v. 9) · released 2026-08-03 · [advisory](https://access.redhat.com/errata/RHSA-2026:47057)
- **RHSA-2026:57590** · Red Hat · fixed in: Red Hat Enterprise Linux Extensions Channel (v. 10) · released 2026-08-20 · [advisory](https://access.redhat.com/errata/RHSA-2026:57590)
- **RHSA-2026:66545** · Red Hat · fixed in: Red Hat AMQ Broker 7.13.6 · released 2026-09-10 · [advisory](https://access.redhat.com/errata/RHSA-2026:66545)
- **RHSA-2026:66488** · Red Hat · fixed in: Red Hat AMQ Broker 7.14.1 · released 2026-09-10 · [advisory](https://access.redhat.com/errata/RHSA-2026:66488)
- **Red Hat VEX** · Important · affected: Confidential Compute Attestation, Exploit Intelligence, Node HealthCheck Operator, OpenShift Pipelines, Red Hat build of Apache Camel - HawtIO 4, Red Hat Build of Podman Desktop, … · no fix planned: Confidential Compute Attestation, Exploit Intelligence, Node HealthCheck Operator, OpenShift Pipelines, … · updated 2026-09-21 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-59874.json)
- **RHSA-2026:42815** · Red Hat · fixed in: Red Hat Ansible Automation Platform 2.2 · released 2026-07-21 · [advisory](https://access.redhat.com/errata/RHSA-2026:42815)
- **RHSA-2026:65126** · Red Hat · fixed in: Red Hat OpenShift AI 2.25 · released 2026-09-08 · [advisory](https://access.redhat.com/errata/RHSA-2026:65126)

**tar: Node-tar: Denial of Service via malformed tar archive header** — rated Important by Red Hat. Released 2026-07-08, updated 2026-09-21.

Affected:

- Confidential Compute Attestation
- Exploit Intelligence
- Node HealthCheck Operator
- OpenShift Pipelines
- Red Hat build of Apache Camel - HawtIO 4
- Red Hat Build of Podman Desktop
- Red Hat Connectivity Link 1
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 9
- Red Hat Enterprise Linux AI (RHEL AI) 3
- Red Hat Hardened Images
- Red Hat OpenShift AI (RHOAI)
- Red Hat Openshift Data Foundation 4
- Red Hat Single Sign-On 7
- Red Hat Trusted Artifact Signer

Fixed:

- Red Hat Enterprise Linux AppStream EUS (v. 10.0)
- Red Hat Enterprise Linux AppStream (v. 10)
- Red Hat Enterprise Linux AppStream (v. 8)
- Red Hat Enterprise Linux AppStream EUS (v.9.6)
- Red Hat Enterprise Linux AppStream (v. 9)
- Red Hat Enterprise Linux Extensions Channel (v. 10)
- Red Hat AMQ Broker 7.13.6
- Red Hat AMQ Broker 7.14.1
- Red Hat Ansible Automation Platform 2.2
- Red Hat Migration Toolkit 1.8
- Red Hat OpenShift AI 2.25
- Red Hat OpenShift AI 3.4
- Red Hat OpenShift Dev Spaces 3.29
- Red Hat OpenShift Dev Spaces 3.30
- Red Hat OpenShift Service Mesh 3.0
- Red Hat OpenShift Service Mesh 3.1
- Red Hat OpenShift Service Mesh 3.2
- Red Hat OpenShift Service Mesh 3.3
- Red Hat Satellite 6.18
- Red Hat Satellite 6.19

No fix planned:

- Confidential Compute Attestation
- Exploit Intelligence
- Node HealthCheck Operator
- OpenShift Pipelines
- Red Hat build of Apache Camel - HawtIO 4
- Red Hat Build of Podman Desktop
- Red Hat Connectivity Link 1
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 9
- Red Hat Enterprise Linux AI (RHEL AI) 3
- Red Hat Hardened Images
- Red Hat OpenShift AI (RHOAI)
- Red Hat Openshift Data Foundation 4
- Red Hat Single Sign-On 7
- Red Hat Trusted Artifact Signer

Not affected:

- Red Hat Migration Toolkit 1.8
- Red Hat OpenShift AI 2.25
- Red Hat OpenShift AI 3.4
- Red Hat OpenShift Dev Spaces 3.29
- Red Hat OpenShift Dev Spaces 3.30
- Cryostat 4
- Red Hat 3scale API Management Platform 2
- Red Hat Advanced Cluster Management for Kubernetes 2
- Red Hat build of Apache Camel for Spring Boot 4
- Red Hat Developer Hub

## Remediation

For details on how to apply this update, which includes the changes described in this advisory, refer to:

https://access.redhat.com/articles/11258 https://access.redhat.com/errata/RHSA-2026:53298
For details on how to apply this update, which includes the changes described in this advisory, refer to:

https://access.redhat.com/articles/11258 https://access.redhat.com/errata/RHSA-2026:48033
For details on how to apply this update, which includes the changes described in this advisory, refer to:

https://access.redhat.com/articles/11258 https://access.redhat.com/errata/RHSA-2026:48034

Workarounds / mitigations:

- Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

## Package advisory (CVE-2026-59874)

Affected packages:

- `tar <= 7.5.17`

Patched in:

- `tar 7.5.18`

Source: https://github.com/advisories/GHSA-8x88-c5mf-7j5w
