Infinite loop in node-tar - CVE-2026-59874

 

Infinite loop in node-tar - CVE-2026-59874

Published: June 29, 2026


Vulnerability identifier: #VU135767
CSH Severity: Medium
CVSS v4: 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]
CVE-ID: CVE-2026-59874
CWE-ID: CWE-835
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to cause a denial of service.

The vulnerability exists due to loop with an unreachable exit condition in tar.replace() when scanning an attacker-controlled existing archive. A remote attacker can supply a specially crafted tar archive with a negative base-256 encoded entry size to cause a denial of service.

Only applications that call the replace API on an existing attacker-controlled archive are affected; plain extraction-only workflows are not affected.


Affected software

node-tar
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Confluence Data Center
Jira Software Data Center
Jira Service Management Data Center
Ansible Automation Platform
nodejs22 (Red Hat package)
nodejs24 (Red Hat package)

How to mitigate CVE-2026-59874

Install security update from vendor's website.

node-tar - update to 7.5.18
Confluence Data Center - addressed in versions 9.2.22, 10.2.14
Jira Software Data Center - addressed in versions 10.3.18, 11.3.9
Jira Service Management Data Center - addressed in versions 10.3.18, 11.3.10
Ansible Automation Platform - update to 2.2.0
nodejs22 (Red Hat package) - addressed in versions 22.23.1-3.el10_0, 22.23.1-4.el10_2
nodejs24 (Red Hat package) - update to 24.18.0-3.el10_2

External References

Related Security Bulletins