Bug 2588049 (CVE-2026-140118)

Summary: CVE-2026-140118 tar: node-tar: Denial of Service via excessive memory allocation from deeply nested link paths
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: aazores, abarbaro, abrianik, akhatavk, alizardo, amctagga, anujha, aoconnor, aos-team-art-private, aruklets, aschwart, asdas, asoldano, aszczucz, bbaranow, bbrownin, bmaxwell, bniver, boliveir, bstansbe, cdrage, cmah, crizzo, csuconic, dbruscin, dfreiber, dhanak, dlofthou, doconnor, dpaolell, drichtar, drosa, drow, dsimansk, dymurray, eaguilar, ebaron, eborisov, flucifre, fmariani, gbenhaim, ggrzybek, gmalinko, gmeno, gparvin, groman, gtanzill, gtully, ibolton, istudens, ivassile, iweiss, janstey, jbaesner, jbalunas, jburrell, jbuscemi, jchui, jdelft, jhe, jkrystof, jlanda, jmatsuok, jmatthew, jmontleo, jraez, jsherman, jtolenti, jupierce, jwon, kaycoth, kingland, kshier, ktsao, kvanderr, lball, lchilton, lgarciaa, manissin, mbenjamin, mbiarnes, mcarlett, mhackett, mnovotny, mosmerov, mposolda, mstipich, msvehla, nboldt, ngough, niyer, nwallace, oaljalju, parichar, pberan, pdelbell, pesilva, pgaikwad, pjindal, pmackay, ppalepu, ppostler, prdhamdh, psrna, rbobbitt, rexwhite, rgemmell, rgodfrey, rhaigner, rhel-process-autobot, rmartinc, rstancel, rstepani, rushinde, sausingh, sdawley, sfeifer, sghai, shudeshp, sidsharm, simaishi, slucidi, sostapov, sseago, ssilvert, stcannon, sthirugn, sthorger, suppawar, tasato, tbish, tcunning, thjenkin, tlavocat, tmielke, tsze, twaugh, tzimanyi, vdosoudi, vereddy, veshanka, vkumar, vlaad, vmuzikar, watson-tool-maintainers, yfang, yguenane
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in node-tar. A remote attacker can exploit this vulnerability by providing a specially crafted archive containing a deeply nested file link target during asynchronous extraction. When processed on Portable Operating System Interface (POSIX) systems, the application excessively generates ancestor directory paths, leading to uncontrolled memory allocation. This memory exhaustion terminates the application process, resulting in a Denial of Service (DoS).
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description OSIDB Bzimport 2026-12-01 16:52:19 UTC
node-tar is a tar archive manipulation library for Node.js. Prior to 8.0.0, on POSIX hosts, asynchronous extraction of an attacker-controlled archive with a deeply nested linkpath causes PathReservations.getDirs() to materialize every ancestor prefix. The quadratic allocation can exhaust the Node.js heap and terminate the process. The reserve() path is not used for this purpose on Windows. This issue is fixed in version 8.0.0.