CVE-2007-5935 json
Stack-based buffer overflow in hpc.c in dvips in teTeX and TeXlive 2007 and earlier allows user-assisted attackers to execute arbitrary cod…
published 2007-11-13 18 y ago modified 2026-06-16 4 mo ago also EUVD-2007-5905
- cvss
- 6.8
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 4.0%
- EPSS 4.0% chance of exploitation in 30 days, percentile 90%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- texlive-bin Debian 14, Debian 13, Debian 12 2007.dfsg.1-1
debian advisories DEBIAN-CVE-2007-5935
- tetex RHEL 3 1.0.7-67.19
- tetex-afm RHEL 3 1.0.7-67.19
- tetex-xdvi RHEL 3 1.0.7-67.19
- tetex-dvips RHEL 3 1.0.7-67.19
- tetex-fonts RHEL 3 1.0.7-67.19
- tetex-latex RHEL 3 1.0.7-67.19
- tetex RHEL 4 2.0.2-22.0.1.EL4.16
- tetex-afm RHEL 4 2.0.2-22.0.1.EL4.16
red hat advisories RHSA-2010:0401RHSA-2010:0399
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2007-5935 updated
dvips -z buffer overflow with long href
-
Red Hat Desktop version 3 tetex 1.0.7-67.19, tetex-afm 1.0.7-67.19, tetex-xdvi 1.0.7-67.19, tetex-dvips 1.0.7-67.19, tetex-fonts 1.0.7-67.19, tetex-latex 1.0.7-67.19 Red Hat Enterprise Linux AS version 3 tetex 1.0.7-67.19, tetex-afm 1.0.7-67.19, tetex-xdvi 1.0.7-67.19, tetex-dvips 1.0.7-67.19, tetex-fonts 1.0.7-67.19, tetex-latex 1.0.7-67.19fixed: vendor fix RHSA-2010:0401
-
Red Hat Enterprise Linux AS version 4 tetex 2.0.2-22.0.1.EL4.16, tetex-afm 2.0.2-22.0.1.EL4.16, tetex-xdvi 2.0.2-22.0.1.EL4.16, tetex-dvips 2.0.2-22.0.1.EL4.16, tetex-fonts 2.0.2-22.0.1.EL4.16, tetex-latex 2.0.2-22.0.1.EL4.16 Red Hat Enterprise Linux Desktop version 4 tetex 2.0.2-22.0.1.EL4.16, tetex-afm 2.0.2-22.0.1.EL4.16, tetex-xdvi 2.0.2-22.0.1.EL4.16, tetex-dvips 2.0.2-22.0.1.EL4.16, tetex-fonts 2.0.2-22.0.1.EL4.16, tetex-latex 2.0.2-22.0.1.EL4.16fixed: vendor fix RHSA-2010:0399
-
Red Hat Enterprise Linux ES version 3 tetex 1.0.7-67.19, tetex-afm 1.0.7-67.19, tetex-xdvi 1.0.7-67.19, tetex-dvips 1.0.7-67.19, tetex-fonts 1.0.7-67.19, tetex-latex 1.0.7-67.19fixed: vendor fix RHSA-2010:0401
-
Red Hat Enterprise Linux ES version 4 tetex 2.0.2-22.0.1.EL4.16, tetex-afm 2.0.2-22.0.1.EL4.16, tetex-xdvi 2.0.2-22.0.1.EL4.16, tetex-dvips 2.0.2-22.0.1.EL4.16, tetex-fonts 2.0.2-22.0.1.EL4.16, tetex-latex 2.0.2-22.0.1.EL4.16fixed: vendor fix RHSA-2010:0399
-
Red Hat Enterprise Linux WS version 3 tetex 1.0.7-67.19, tetex-afm 1.0.7-67.19, tetex-xdvi 1.0.7-67.19, tetex-dvips 1.0.7-67.19, tetex-fonts 1.0.7-67.19, tetex-latex 1.0.7-67.19fixed: vendor fix RHSA-2010:0401
-
Red Hat Enterprise Linux WS version 4 tetex 2.0.2-22.0.1.EL4.16, tetex-afm 2.0.2-22.0.1.EL4.16, tetex-xdvi 2.0.2-22.0.1.EL4.16, tetex-dvips 2.0.2-22.0.1.EL4.16, tetex-fonts 2.0.2-22.0.1.EL4.16, tetex-latex 2.0.2-22.0.1.EL4.16fixed: vendor fix RHSA-2010:0399
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
3.95% chance of exploitation in the next 30 days, higher than 90% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- bugs.debian.org http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=447081 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Classification
- Weakness
-
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
References
-
bugs.debian.org
/cgi-bin/bugreport.cgi?bug=447081
exploit
-
lists.opensuse.org
/opensuse-security-announce/2008-05/msg00000.html
vendor-advisory
-
usn.ubuntu.com
/554-1/
vendor-advisory
-
security.gentoo.org
/glsa/glsa-200805-13.xml
vendor-advisory
-
security.gentoo.org
/glsa/glsa-200711-26.xml
vendor-advisory
-
security.gentoo.org
/glsa/glsa-200711-34.xml
vendor-advisory
-
redhat.com
/archives/fedora-package-announce/2007-November/msg00663.html
vendor-advisory
-
mandriva.com
/security/advisories?name=MDKSA-2007:230
vendor-advisory
-
lists.opensuse.org
/opensuse-security-announce/2008-01/msg00002.html
vendor-advisory
-
secunia.com
/advisories/27672
third-party-advisory, vendor-advisory
-
secunia.com
/advisories/27743
third-party-advisory, vendor-advisory
-
secunia.com
/advisories/28412
third-party-advisory, vendor-advisory
-
secunia.com
/advisories/27686
third-party-advisory, vendor-advisory
-
secunia.com
/advisories/30168
third-party-advisory, vendor-advisory
-
secunia.com
/advisories/27718
third-party-advisory, vendor-advisory
-
secunia.com
/advisories/27967
third-party-advisory, vendor-advisory
-
secunia.com
/advisories/28107
third-party-advisory, vendor-advisory
- issues.rpath.com /browse/RPL-1928
-
securityfocus.com
/bid/26469
vdb-entry
-
oval.cisecurity.org
/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11311
vdb-entry, signature
- bugs.gentoo.org /show_bug.cgi?id=198238
- bugzilla.redhat.com /show_bug.cgi?id=368591
-
vupen.com
/english/advisories/2007/3896
vdb-entry
- wiki.rpath.com /wiki/Advisories:rPSA-2007-0266
-
securitytracker.com
/id?1019058
vdb-entry
-
securityfocus.com
/archive/1/487984/100/0/threaded
mailing-list
Sources
- CVE List CVE-2007-5935
- NVD CVE-2007-5935
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.