CVE-2007-5936: Low severity Tug Texlive 2007 vulnerability

Published Nov 6, 2007
·
Updated

Description of problem:

Dvips uses insecure tmpnam() function to create files for temporary data while converting a DVI file to laser jet printer format. A local attacker could conduct a time-dependent attack by creating the files before dviljk uses them which could possibly lead into information leak and would permit the attacker to modify the processed data.

Additional info:

See URL filed for Gentoo report. The attached file fixes this problem by using a secure temporary directory together with other issues.

Other sources

dvips in teTeX and TeXlive 2007 and earlier allows local users to obtain sensitive information and modify certain data by creating certain temporary files before they are processed by dviljk, which can then be read or modified in place.

Affected Software

3 affected componentsFixes available
redhat/3.0<40.3.
40.3.
Tug Texlive 2007
teTeX teTeX

Event History

Nov 6, 2007
Data Sourced
via Red Hat·05:54 PM
DescriptionSeverityAffected Software
Nov 13, 2007
CVE Published
via MITRE·10:00 PM
Data Sourced
via MITRE·10:00 PM
Description
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 the severity of CVE-2007-5936?

CVE-2007-5936 is considered a moderate severity vulnerability due to the potential for local attackers to exploit it.

2

How do I fix CVE-2007-5936?

To fix CVE-2007-5936, update to a version of Dvips that does not utilize the insecure tmpnam() function.

3

Who is affected by CVE-2007-5936?

CVE-2007-5936 affects users of Dvips, specifically versions prior to 40.3 and certain teTeX and TeX Live 2007 distributions.

4

What kind of attack does CVE-2007-5936 enable?

CVE-2007-5936 enables local attackers to perform time-dependent attacks by creating temporary files before Dvips uses them.

5

Is there any workaround for CVE-2007-5936?

A potential workaround for CVE-2007-5936 is to ensure that the Dvips processes run in a secure environment where unauthorized users cannot create temporary files.

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