Home › CVE › Vulnerabilities
CVE-2026-128241 — libexpat project libexpat
Summary
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.
Severity breakdown
Medium · 4.1
An attacker with a normal user account can exploit this with local access if a user views or visits something, but only under specific conditions.
- Attack from
- local access (a logged-in user, or a malicious file opened on the device)
- Attack complexity
- high (only works under specific conditions)
- Special conditions
- only in some setups or conditions
- Login needed
- yes, a normal user account
- User action needed
- yes, a user must view or visit something
- Impact
- high on integrity, none on confidentiality and availability
- Impact on other systems
- none
Weakness
- CWE-59: Improper Link Resolution Before File Access ('Link Following')
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| libexpat project libexpat | ≤ 2.10.0 | — |
References by type
Patches and fixed releases
Other references
Affected
- libexpat project libexpat
What to do
- Follow the vendor advisory and the references below for fixed versions and workarounds.
Frequently asked questions
What is 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. Weakness type: Improper Link Resolution Before File Access ('Link Following') (CWE-59).
How severe is CVE-2026-128241?
CVE-2026-128241 has a CVSS 4.0 base score of 4.1 (medium), from the CNA (vulncheck.com). An attacker with a normal user account can exploit this with local access if a user views or visits something, but only under specific conditions.
Is CVE-2026-128241 being exploited?
Not as far as is known: CVE-2026-128241 is not in CISA's Known Exploited Vulnerabilities catalog as of November 29, 2026. EPSS estimates a 0.1% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2026-128241?
libexpat project libexpat ≤ 2.10.0.
How do I fix CVE-2026-128241?
Follow the advisories and patches linked on this page under References for fixed versions and workarounds.
Timeline & sources
- NVD: CVE-2026-128241 — libexpat project libexpat
- oss-security: libexpat 2.11.0 fixes three vulnerabilities