CVE-2007-5935
Stack-based buffer overflow in hpc.c in dvips in teTeX and TeXlive 2007 and earlier allows user...
CVE-2007-5935 is a medium vulnerability (CVSS 6.8) in Tetex, published November 13, 2007. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 3.95%, the 90th percentile. Fixed in texlive-bin 2007.dfsg.1-1.
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.
Exploit likelihood
What each source reports
NVD Score used
6.8
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.
- Record
CVE-2007-5935- CVSS 2.0
- 6.8 Medium
AV:N/AC:M/Au:N/C:P/I:P/A:P - Weakness
- CWE-119
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2007-5935- Updated
- 2026-11-02
EUVDEUVD-2007-5905 No score
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.
- Record
EUVD-2007-5905- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-m7c5-9grq-3jqp No score
Stack-based buffer overflow in hpc.c in dvips in teTeX and TeXlive 2007 and earlier allows user...
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.
- Record
GHSA-m7c5-9grq-3jqp- Weakness
- CWE-119
- Updated
- 2026-11-02
OSV No score
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.
- Record
CVE-2007-5935- Updated
- 2026-11-02
OSVDEBIAN-CVE-2007-5935 No score
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.
- Record
DEBIAN-CVE-2007-5935- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
texlive-binDebian:12 |
before 2007.dfsg.1-1 | 2007.dfsg.1-1 |
texlive-binDebian:13 |
before 2007.dfsg.1-1 | 2007.dfsg.1-1 |
texlive-binDebian:14 |
before 2007.dfsg.1-1 | 2007.dfsg.1-1 |
texlive-binDebian:5.0 |
before 2007-14+lenny1 | 2007-14+lenny1 |
tetexRed Hat:enterprise_linux:4::as |
before 0:2.0.2-22.0.1.EL4.16 | 0:2.0.2-22.0.1.EL4.16 |
tetex-afmRed Hat:enterprise_linux:4::as |
before 0:2.0.2-22.0.1.EL4.16 | 0:2.0.2-22.0.1.EL4.16 |
tetex-debuginfoRed Hat:enterprise_linux:4::as |
before 0:2.0.2-22.0.1.EL4.16 | 0:2.0.2-22.0.1.EL4.16 |
tetex-docRed Hat:enterprise_linux:4::as |
before 0:2.0.2-22.0.1.EL4.16 | 0:2.0.2-22.0.1.EL4.16 |
tetex-dvipsRed Hat:enterprise_linux:4::as |
before 0:2.0.2-22.0.1.EL4.16 | 0:2.0.2-22.0.1.EL4.16 |
tetex-fontsRed Hat:enterprise_linux:4::as |
before 0:2.0.2-22.0.1.EL4.16 | 0:2.0.2-22.0.1.EL4.16 |
Show 54 moreShow less
| Package | Affected | Fixed |
|---|---|---|
tetex-latexRed Hat:enterprise_linux:4::as |
before 0:2.0.2-22.0.1.EL4.16 | 0:2.0.2-22.0.1.EL4.16 |
tetex-xdviRed Hat:enterprise_linux:4::as |
before 0:2.0.2-22.0.1.EL4.16 | 0:2.0.2-22.0.1.EL4.16 |
tetexRed Hat:enterprise_linux:4::desktop |
before 0:2.0.2-22.0.1.EL4.16 | 0:2.0.2-22.0.1.EL4.16 |
tetex-afmRed Hat:enterprise_linux:4::desktop |
before 0:2.0.2-22.0.1.EL4.16 | 0:2.0.2-22.0.1.EL4.16 |
tetex-debuginfoRed Hat:enterprise_linux:4::desktop |
before 0:2.0.2-22.0.1.EL4.16 | 0:2.0.2-22.0.1.EL4.16 |
tetex-docRed Hat:enterprise_linux:4::desktop |
before 0:2.0.2-22.0.1.EL4.16 | 0:2.0.2-22.0.1.EL4.16 |
tetex-dvipsRed Hat:enterprise_linux:4::desktop |
before 0:2.0.2-22.0.1.EL4.16 | 0:2.0.2-22.0.1.EL4.16 |
tetex-fontsRed Hat:enterprise_linux:4::desktop |
before 0:2.0.2-22.0.1.EL4.16 | 0:2.0.2-22.0.1.EL4.16 |
tetex-latexRed Hat:enterprise_linux:4::desktop |
before 0:2.0.2-22.0.1.EL4.16 | 0:2.0.2-22.0.1.EL4.16 |
tetex-xdviRed Hat:enterprise_linux:4::desktop |
before 0:2.0.2-22.0.1.EL4.16 | 0:2.0.2-22.0.1.EL4.16 |
tetexRed Hat:enterprise_linux:4::es |
before 0:2.0.2-22.0.1.EL4.16 | 0:2.0.2-22.0.1.EL4.16 |
tetex-afmRed Hat:enterprise_linux:4::es |
before 0:2.0.2-22.0.1.EL4.16 | 0:2.0.2-22.0.1.EL4.16 |
tetex-debuginfoRed Hat:enterprise_linux:4::es |
before 0:2.0.2-22.0.1.EL4.16 | 0:2.0.2-22.0.1.EL4.16 |
tetex-docRed Hat:enterprise_linux:4::es |
before 0:2.0.2-22.0.1.EL4.16 | 0:2.0.2-22.0.1.EL4.16 |
tetex-dvipsRed Hat:enterprise_linux:4::es |
before 0:2.0.2-22.0.1.EL4.16 | 0:2.0.2-22.0.1.EL4.16 |
tetex-fontsRed Hat:enterprise_linux:4::es |
before 0:2.0.2-22.0.1.EL4.16 | 0:2.0.2-22.0.1.EL4.16 |
tetex-latexRed Hat:enterprise_linux:4::es |
before 0:2.0.2-22.0.1.EL4.16 | 0:2.0.2-22.0.1.EL4.16 |
tetex-xdviRed Hat:enterprise_linux:4::es |
before 0:2.0.2-22.0.1.EL4.16 | 0:2.0.2-22.0.1.EL4.16 |
tetexRed Hat:enterprise_linux:4::ws |
before 0:2.0.2-22.0.1.EL4.16 | 0:2.0.2-22.0.1.EL4.16 |
tetex-afmRed Hat:enterprise_linux:4::ws |
before 0:2.0.2-22.0.1.EL4.16 | 0:2.0.2-22.0.1.EL4.16 |
tetex-debuginfoRed Hat:enterprise_linux:4::ws |
before 0:2.0.2-22.0.1.EL4.16 | 0:2.0.2-22.0.1.EL4.16 |
tetex-docRed Hat:enterprise_linux:4::ws |
before 0:2.0.2-22.0.1.EL4.16 | 0:2.0.2-22.0.1.EL4.16 |
tetex-dvipsRed Hat:enterprise_linux:4::ws |
before 0:2.0.2-22.0.1.EL4.16 | 0:2.0.2-22.0.1.EL4.16 |
tetex-fontsRed Hat:enterprise_linux:4::ws |
before 0:2.0.2-22.0.1.EL4.16 | 0:2.0.2-22.0.1.EL4.16 |
tetex-latexRed Hat:enterprise_linux:4::ws |
before 0:2.0.2-22.0.1.EL4.16 | 0:2.0.2-22.0.1.EL4.16 |
tetex-xdviRed Hat:enterprise_linux:4::ws |
before 0:2.0.2-22.0.1.EL4.16 | 0:2.0.2-22.0.1.EL4.16 |
tetexRed Hat:enterprise_linux:3::as |
before 0:1.0.7-67.19 | 0:1.0.7-67.19 |
tetex-afmRed Hat:enterprise_linux:3::as |
before 0:1.0.7-67.19 | 0:1.0.7-67.19 |
tetex-debuginfoRed Hat:enterprise_linux:3::as |
before 0:1.0.7-67.19 | 0:1.0.7-67.19 |
tetex-dvipsRed Hat:enterprise_linux:3::as |
before 0:1.0.7-67.19 | 0:1.0.7-67.19 |
tetex-fontsRed Hat:enterprise_linux:3::as |
before 0:1.0.7-67.19 | 0:1.0.7-67.19 |
tetex-latexRed Hat:enterprise_linux:3::as |
before 0:1.0.7-67.19 | 0:1.0.7-67.19 |
tetex-xdviRed Hat:enterprise_linux:3::as |
before 0:1.0.7-67.19 | 0:1.0.7-67.19 |
tetexRed Hat:enterprise_linux:3::desktop |
before 0:1.0.7-67.19 | 0:1.0.7-67.19 |
tetex-afmRed Hat:enterprise_linux:3::desktop |
before 0:1.0.7-67.19 | 0:1.0.7-67.19 |
tetex-debuginfoRed Hat:enterprise_linux:3::desktop |
before 0:1.0.7-67.19 | 0:1.0.7-67.19 |
tetex-dvipsRed Hat:enterprise_linux:3::desktop |
before 0:1.0.7-67.19 | 0:1.0.7-67.19 |
tetex-fontsRed Hat:enterprise_linux:3::desktop |
before 0:1.0.7-67.19 | 0:1.0.7-67.19 |
tetex-latexRed Hat:enterprise_linux:3::desktop |
before 0:1.0.7-67.19 | 0:1.0.7-67.19 |
tetex-xdviRed Hat:enterprise_linux:3::desktop |
before 0:1.0.7-67.19 | 0:1.0.7-67.19 |
tetexRed Hat:enterprise_linux:3::es |
before 0:1.0.7-67.19 | 0:1.0.7-67.19 |
tetex-afmRed Hat:enterprise_linux:3::es |
before 0:1.0.7-67.19 | 0:1.0.7-67.19 |
tetex-debuginfoRed Hat:enterprise_linux:3::es |
before 0:1.0.7-67.19 | 0:1.0.7-67.19 |
tetex-dvipsRed Hat:enterprise_linux:3::es |
before 0:1.0.7-67.19 | 0:1.0.7-67.19 |
tetex-fontsRed Hat:enterprise_linux:3::es |
before 0:1.0.7-67.19 | 0:1.0.7-67.19 |
tetex-latexRed Hat:enterprise_linux:3::es |
before 0:1.0.7-67.19 | 0:1.0.7-67.19 |
tetex-xdviRed Hat:enterprise_linux:3::es |
before 0:1.0.7-67.19 | 0:1.0.7-67.19 |
tetexRed Hat:enterprise_linux:3::ws |
before 0:1.0.7-67.19 | 0:1.0.7-67.19 |
tetex-afmRed Hat:enterprise_linux:3::ws |
before 0:1.0.7-67.19 | 0:1.0.7-67.19 |
tetex-debuginfoRed Hat:enterprise_linux:3::ws |
before 0:1.0.7-67.19 | 0:1.0.7-67.19 |
tetex-dvipsRed Hat:enterprise_linux:3::ws |
before 0:1.0.7-67.19 | 0:1.0.7-67.19 |
tetex-fontsRed Hat:enterprise_linux:3::ws |
before 0:1.0.7-67.19 | 0:1.0.7-67.19 |
tetex-latexRed Hat:enterprise_linux:3::ws |
before 0:1.0.7-67.19 | 0:1.0.7-67.19 |
tetex-xdviRed Hat:enterprise_linux:3::ws |
before 0:1.0.7-67.19 | 0:1.0.7-67.19 |
History
| When | Changed | Sources |
|---|---|---|
| 2026-11-03 | aliases | EUVD |
| 2026-11-02 | affected, aliases, facts, references, title | GitHub Advisories, OSV |
| 2026-11-02 | created | CVE List, NVD |
References
issues.rpath.com/browse/RPL-1928
secunia.com/advisories/27672
secunia.com/advisories/27743
lists.opensuse.org/opensuse-security-announce/2008-05/msg00000.html
secunia.com/advisories/28412
bugs.debian.org/cgi-bin/bugreport.cgi?bug=447081
Show 93 moreShow less
secunia.com/advisories/27686
usn.ubuntu.com/554-1
securityfocus.com/bid/26469
oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11311
security.gentoo.org/glsa/glsa-200805-13.xml
security.gentoo.org/glsa/glsa-200711-26.xml
bugs.gentoo.org/show_bug.cgi?id=198238
secunia.com/advisories/30168
bugzilla.redhat.com/show_bug.cgi?id=368591
vupen.com/english/advisories/2007/3896
secunia.com/advisories/27718
security.gentoo.org/glsa/glsa-200711-34.xml
secunia.com/advisories/27967
redhat.com/archives/fedora-package-announce/2007-November/msg00663.html
wiki.rpath.com/wiki/Advisories:rPSA-2007-0266
securitytracker.com/id?1019058
secunia.com/advisories/28107
mandriva.com/security/advisories?name=MDKSA-2007:230
securityfocus.com/archive/1/487984/100/0/threaded
lists.opensuse.org/opensuse-security-announce/2008-01/msg00002.html
nvd.nist.gov/vuln/detail/CVE-2007-5935
github.com/advisories/GHSA-m7c5-9grq-3jqp
security-tracker.debian.org/tracker/CVE-2007-5935
access.redhat.com/errata/RHSA-2010:0399
access.redhat.com/security/updates/classification
bugzilla.redhat.com/show_bug.cgi?id=490612
bugzilla.redhat.com/show_bug.cgi?id=490614
bugzilla.redhat.com/show_bug.cgi?id=490625
bugzilla.redhat.com/show_bug.cgi?id=491840
bugzilla.redhat.com/show_bug.cgi?id=495886
bugzilla.redhat.com/show_bug.cgi?id=495887
bugzilla.redhat.com/show_bug.cgi?id=495889
bugzilla.redhat.com/show_bug.cgi?id=495892
bugzilla.redhat.com/show_bug.cgi?id=495894
bugzilla.redhat.com/show_bug.cgi?id=495896
bugzilla.redhat.com/show_bug.cgi?id=495899
bugzilla.redhat.com/show_bug.cgi?id=526893
bugzilla.redhat.com/show_bug.cgi?id=572914
bugzilla.redhat.com/show_bug.cgi?id=572941
bugzilla.redhat.com/show_bug.cgi?id=586819
security.access.redhat.com/data/csaf/v2/advisories/2010/rhsa-2010_0399.json
access.redhat.com/security/cve/CVE-2007-5935
cve.org/CVERecord?id=CVE-2007-5935
access.redhat.com/security/cve/CVE-2009-0146
cve.org/CVERecord?id=CVE-2009-0146
nvd.nist.gov/vuln/detail/CVE-2009-0146
access.redhat.com/security/cve/CVE-2009-0147
cve.org/CVERecord?id=CVE-2009-0147
nvd.nist.gov/vuln/detail/CVE-2009-0147
access.redhat.com/security/cve/CVE-2009-0166
cve.org/CVERecord?id=CVE-2009-0166
nvd.nist.gov/vuln/detail/CVE-2009-0166
access.redhat.com/security/cve/CVE-2009-0195
cve.org/CVERecord?id=CVE-2009-0195
nvd.nist.gov/vuln/detail/CVE-2009-0195
access.redhat.com/security/cve/CVE-2009-0791
cve.org/CVERecord?id=CVE-2009-0791
nvd.nist.gov/vuln/detail/CVE-2009-0791
access.redhat.com/security/cve/CVE-2009-0799
cve.org/CVERecord?id=CVE-2009-0799
nvd.nist.gov/vuln/detail/CVE-2009-0799
access.redhat.com/security/cve/CVE-2009-0800
cve.org/CVERecord?id=CVE-2009-0800
nvd.nist.gov/vuln/detail/CVE-2009-0800
access.redhat.com/security/cve/CVE-2009-1179
cve.org/CVERecord?id=CVE-2009-1179
nvd.nist.gov/vuln/detail/CVE-2009-1179
access.redhat.com/security/cve/CVE-2009-1180
cve.org/CVERecord?id=CVE-2009-1180
nvd.nist.gov/vuln/detail/CVE-2009-1180
access.redhat.com/security/cve/CVE-2009-1181
cve.org/CVERecord?id=CVE-2009-1181
nvd.nist.gov/vuln/detail/CVE-2009-1181
access.redhat.com/security/cve/CVE-2009-1182
cve.org/CVERecord?id=CVE-2009-1182
nvd.nist.gov/vuln/detail/CVE-2009-1182
access.redhat.com/security/cve/CVE-2009-1183
cve.org/CVERecord?id=CVE-2009-1183
nvd.nist.gov/vuln/detail/CVE-2009-1183
access.redhat.com/security/cve/CVE-2009-3609
cve.org/CVERecord?id=CVE-2009-3609
nvd.nist.gov/vuln/detail/CVE-2009-3609
access.redhat.com/security/cve/CVE-2010-0739
cve.org/CVERecord?id=CVE-2010-0739
nvd.nist.gov/vuln/detail/CVE-2010-0739
access.redhat.com/security/cve/CVE-2010-0827
cve.org/CVERecord?id=CVE-2010-0827
nvd.nist.gov/vuln/detail/CVE-2010-0827
access.redhat.com/security/cve/CVE-2010-1440
cve.org/CVERecord?id=CVE-2010-1440
nvd.nist.gov/vuln/detail/CVE-2010-1440
access.redhat.com/errata/RHSA-2010:0401
security.access.redhat.com/data/csaf/v2/advisories/2010/rhsa-2010_0401.json