Bug 2498833 (CVE-2026-39243) - CVE-2026-39243 decompress: Decompress: File disclosure and corruption via arbitrary hardlink creation
Summary: CVE-2026-39243 decompress: Decompress: File disclosure and corruption via arb...
Keywords:
Status: NEW
Alias: CVE-2026-39243
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2507934 2507935
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-07-09 22:03 UTC by OSIDB Bzimport
Modified: 2026-07-28 09:07 UTC (History)
12 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-07-09 22:03:05 UTC
decompress before 4.2.2 allows arbitrary hardlink creation during archive extraction, enabling file read disclosure and file corruption. When processing hardlink entries (type === 'link'), the x.linkname field from the archive is passed directly to fs.link() without validation (index.js line 113). An attacker can craft an archive with a hardlink entry whose linkname is an absolute path to any file on the same filesystem. This creates a hardlink inside the extraction directory that shares the same inode as the target file, enabling both reading and overwriting the original file's content. Hardlinks are limited to files on the same filesystem and cannot target directories.


Note You need to log in before you can comment on or make changes to this bug.