CVE-2015-5700: Medium severity Tug Texlive vulnerability

Published Jan 12, 2015
·
Updated

It was reported [1] that mktexlsr script uses /tmp in an insecure way. Part of original report: ... This is how mktexlsr uses temporary files (with boring parts snipped):

treefile="${TMPDIR-/tmp}/mktexlsrtrees$$.tmp" ... while test $# -gt 0; do # ... (umask 077 if echo "$1" >>"$treefile"; then :; else echo "$progname: $treefile: could not append to arg file, goodbye." >&2 exit 1 fi # ... done

This is insecure because the filename is predictable and, more importantly, the program doesn't fail atomically if the file already exists. ...

Suggested patch is attached.

[1]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=775139

Other sources

mktexlsr revision 22855 through revision 36625 as packaged in texlive allows local users to write to arbitrary files via a symlink attack.

Launchpad

Affected Software

6 affected componentsFixes available
Tug Texlive=20100722
Tug Texlive=20110705
Tug Texlive=20120701
Tug Texlive=20130530
Tug Texlive=20140525
debian/texlive-bin
2020.20200327.54578-7+deb11u12020.20200327.54578-7+deb11u22022.20220321.62855-5.1+deb12u22024.20240313.70630+ds-62025.20250727.75242+ds-5

Event History

Jan 12, 2015
Data Sourced
via Red Hat·02:11 PM
DescriptionSeverityAffected Software
Aug 25, 2017
CVE Published
via MITRE·06:00 PM
Data Sourced
via MITRE·06:00 PM
Description
Data Sourced
via NVD·06:29 PM
RemedyDescriptionSeverityWeaknessAffected Software
Feb 19, 2026
Data Sourced
via Ubuntu·11:10 PM
RemedyDescriptionSeverityAffected Software
Data Sourced
via Launchpad·11:11 PM
Description
Data Sourced
via Debian·11:11 PM
DescriptionAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2015-5700?

CVE-2015-5700 is a vulnerability that allows local users to write to arbitrary files via a symlink attack in mktexlsr revision 22855 through revision 36625 as packaged in texlive.

2

Which software versions are affected by CVE-2015-5700?

The texlive package versions 2014.20140926.35254-5, 2013.20130729.30972-2ubuntu0.1, 20100722, 20110705, 20120701, 20130530, and 20140525 are affected by CVE-2015-5700.

3

How can this vulnerability be exploited?

This vulnerability can be exploited by local users who can create a symlink attack to write to arbitrary files.

4

What is the severity of CVE-2015-5700?

The severity of CVE-2015-5700 is medium with a severity value of 6.1.

5

Where can I find more information about CVE-2015-5700?

You can find more information about CVE-2015-5700 at the following references: [1] [2] [3].

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203