CVE and update status of the FreeBSD ports tree4,526 unaddressed CVEs in 616 portsAll times are CET

CVE details

CVE-2026-18508

A flaw was found in GNU tar. When extracting an archive with the --one-top-level option, hardlink targets are not confined to the designated top-level directory and may resolve relative to the extraction working directory. A crafted archive can create hardlinks that escape the intended boundary and, when combined with a preexisting symbolic link under the working directory, may allow writing outside that boundary during a single extraction.

Score
4.4 medium
Published
2026-08-03
Links
NVD · cve.org

Affected ports (1)

PortPackageVersionStatusMaintainer
archivers/gtargtar1.35_1unaddressednaddy@FreeBSD.org

Template for a VuXML entry

Range taken from the CVE record, check it before committing. make newentry in security/vuxml creates the vid.

  <vuln vid="FIXME (make newentry)">
    <topic>FIXME -- FIXME</topic>
    <affects>
      <package>
	<name>gtar</name>
	<range><lt>FIXME</lt></range>
      </package>
    </affects>
    <description>
      <body xmlns="http://www.w3.org/1999/xhtml">
	<p>A flaw was found in GNU tar. When extracting an archive with the
	--one-top-level option, hardlink targets are not confined to the
	designated top-level directory and may resolve relative to the
	extraction working directory. A crafted archive can create hardlinks
	that escape the intended boundary and, when combined with a
	preexisting symbolic link under the working directory, may allow
	writing outside that boundary during a single extraction.</p>
      </body>
    </description>
    <references>
      <cvename>CVE-2026-18508</cvename>
      <url>https://nvd.nist.gov/vuln/detail/CVE-2026-18508</url>
    </references>
    <dates>
      <discovery>2026-08-03</discovery>
      <entry>2026-10-25</entry>
    </dates>
  </vuln>