cve.bz

CVE-2026-128241 libexpat xmlwf through 2.10.0 Symlink Following via -d Output Directory

4.1 mediumEPSS 0.1%

Medium (4.1) in libexpat project libexpat. EPSS 0.1% estimated probability of exploitation activity in the next 30 days.

On this page
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

CVSS 4.0

4.1 medium
CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N

CVSS 3.1

4.4 medium
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N
EPSS
0.1% estimated probability of exploitation activity in the next 30 days; 3rd percentile. Scored 2026-11-13. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-59 Improper Link Resolution Before File Access (Link Following)
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
Assigned by
VulnCheck (CNA)
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Ask an AI about this CVE

Show the promptExplain CVE-2026-128241 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-128241?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-128241?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-128241 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2026-128241

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2026-128241](https://cve.bz/cve/badge/CVE-2026-128241.svg)](https://cve.bz/cve/CVE-2026-128241)

HTML:

<a href="https://cve.bz/cve/CVE-2026-128241"><img src="https://cve.bz/cve/badge/CVE-2026-128241.svg" alt="CVE-2026-128241"></a>

Affected

  • libexpat project:libexpat

Versions

From the CNA's record in the CVE List.

ProductAffected
libexpat project libexpatthrough 2.10.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Ubuntu16.04:LTSgdcm, tdom, smart and 4 moreno fix listedUBUNTU-CVE-2026-128241
Ubuntu18.04:LTSgdcm, tdom, vnc4 and 5 moreno fix listedUBUNTU-CVE-2026-128241
Ubuntu20.04:LTStdom, wbxml2, cadaver and 2 moreno fix listedUBUNTU-CVE-2026-128241
Ubuntu22.04:LTStdom, expat, wbxml2 and 3 moreno fix listedUBUNTU-CVE-2026-128241
Ubuntu24.04:LTStdom, expat, wbxml2 and 2 moreno fix listedUBUNTU-CVE-2026-128241
Ubuntu26.04:LTStdom, expat, wbxml2 and 3 moreno fix listedUBUNTU-CVE-2026-128241
Ubuntu26.10tdom, expat, wbxml2 and 4 moreno fix listedUBUNTU-CVE-2026-128241
UbuntuPro:14.04:LTSvtk, vnc4, coin3 and 2 moreno fix listedUBUNTU-CVE-2026-128241
UbuntuPro:16.04:LTSvtk, vnc4, ayttm and 6 moreno fix listedUBUNTU-CVE-2026-128241
UbuntuPro:18.04:LTScoin3, expat, swish-e and 2 moreno fix listedUBUNTU-CVE-2026-128241
UbuntuPro:20.04:LTSexpat, swish-e, xmlrpc-c and 1 moreno fix listedUBUNTU-CVE-2026-128241
UbuntuPro:22.04:LTS, Pro:24.04:LTSswish-e, xmlrpc-c, libxmltokno fix listedUBUNTU-CVE-2026-128241
1 more for Ubuntu in the JSON and on Ubuntu's page.

From the distributions' data via OSV.dev: Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Ubuntu.

Attack patterns (CAPEC)

  • CAPEC-17 Using Malicious Files Likelihood: High · Severity: Very High
  • CAPEC-35 Leverage Executable Code in Non-Executable Files Likelihood: High · Severity: Very High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-132 Symlink Attack Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON