CVE-2007-5935 Memory corruption in n/a

Medium 6.8 Published Updated

A stack-based buffer overflow in dvips allows attackers to execute arbitrary code via a malicious DVI file with a long href tag.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2007-5935?

CVE-2007-5935 is a medium-severity memory corruption vulnerability in n/a, published on 13 Nov 2007. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

Stack-based buffer overflow in hpc.c in dvips in teTeX and TeXlive 2007 and earlier allows user-assisted attackers to execute arbitrary code via a DVI file with a long href tag.

Weakness: CWE-119

Which versions are affected by CVE-2007-5935?

It affects 2 products.

Products include Tetex Tetex, Tug Texlive 2007.

How do I fix CVE-2007-5935?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2007-5935 being exploited?

There is no known exploitation of CVE-2007-5935 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2007-5935, DTSA-97-1, GHSA-m7c5-9grq-3jqp.

Is CVE-2007-5935 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free