CVE and update status of the FreeBSD ports tree3,982 unaddressed CVEs in 733 portsAll times are CET
CVE details

CVE-2026-128241

The xmlwf tool in libexpat through 2.10.0 contains a symlink following vulnerability because -d output mode opens files with fopen("wb"), which follows symbolic links. Local attackers with write access to the output directory can plant a symlink at the expected output name to truncate or overwrite files writable by the xmlwf user.

Score
4.1 medium
Published
2026-11-13
Links
NVD · cve.org · Report wrong data

Matched ports (4)

PortPackageVersionStatusMaintainer
textproc/expat2expat2.10.0unaddresseddesktop@FreeBSD.org
textproc/linux-c7-expatlinux-c7-expat2.1.0_5unaddressedemulation@FreeBSD.org
textproc/linux-c7-expat-devellinux-c7-expat-devel2.1.0_1unaddressedemulation@FreeBSD.org
textproc/linux-rl9-expatlinux-rl9-expat2.5.0_9possibly backportedemulation@FreeBSD.org

Template for a VuXML entry

Check the content

Check the version numbers before you commit this entry. Some ports share an entry in the CVE database with another port, such as sqlite2 and sqlite3. The version shown here may then be one that never existed for this port.

Ranges per package from the CVE rows that match this port, in pkg notation with the port's epoch and revision, every bound checked with pkg; one range per epoch the port actually had. make newentry in security/vuxml creates the vid.

  <vuln vid="FIXME (make newentry)">
    <topic>expat -- FIXME</topic>
    <affects>
      <package>
	<name>expat</name>
	<name>linux-c7-expat</name>
	<name>linux-c7-expat-devel</name>
	<range><le>2.10.0</le></range>
      </package>
    </affects>
    <description>
      <body xmlns="http://www.w3.org/1999/xhtml">
	<p>CVE-2026-128241: The xmlwf tool in libexpat through 2.10.0 contains a
	  symlink following vulnerability because -d output mode opens files
	  with fopen("wb"), which follows symbolic links. Local attackers
	  with write access to the output directory can plant a symlink at
	  the expected output name to truncate or overwrite files writable by
	  the xmlwf user.</p>
      </body>
    </description>
    <references>
      <cvename>CVE-2026-128241</cvename>
      <url>https://nvd.nist.gov/vuln/detail/CVE-2026-128241</url>
    </references>
    <dates>
      <discovery>2026-11-13</discovery>
      <entry>2026-11-13</entry>
    </dates>
  </vuln>