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)
| Port | Package | Version | Status | Maintainer |
|---|---|---|---|---|
| textproc/expat2 | expat | 2.10.0 | unaddressed | desktop@FreeBSD.org |
| textproc/linux-c7-expat | linux-c7-expat | 2.1.0_5 | unaddressed | emulation@FreeBSD.org |
| textproc/linux-c7-expat-devel | linux-c7-expat-devel | 2.1.0_1 | unaddressed | emulation@FreeBSD.org |
| textproc/linux-rl9-expat | linux-rl9-expat | 2.5.0_9 | possibly backported | emulation@FreeBSD.org |
Template for a VuXML entry
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>