libexpat xmlwf through 2.10.0 Symlink Following via -d Output Directory

State
Published
Severity
4.1 Medium
Published
Nov 13, 2026
Updated
Nov 17, 2026
Reserved
Nov 12, 2026

Read the record on cve.org

Description

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.

ProductVersions
libexpat libexpat project2.10.0 and earlier Affected

Weaknesses

  • CWE-59 Improper Link Resolution Before File Access ('Link Following')

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.