CVE-2007-5935

critical

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.

References

https://www.redhat.com/archives/fedora-package-announce/2007-November/msg00663.html

https://usn.ubuntu.com/554-1/

https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11311

https://issues.rpath.com/browse/RPL-1928

https://euvd.enisa.europa.eu/vulnerability/EUVD-2007-5905

https://bugzilla.redhat.com/show_bug.cgi?id=368591

http://www.vupen.com/english/advisories/2007/3896

http://www.securitytracker.com/id?1019058

http://www.securityfocus.com/bid/26469

http://www.securityfocus.com/archive/1/487984/100/0/threaded

http://www.mandriva.com/security/advisories?name=MDKSA-2007:230

http://wiki.rpath.com/wiki/Advisories:rPSA-2007-0266

http://security.gentoo.org/glsa/glsa-200805-13.xml

http://security.gentoo.org/glsa/glsa-200711-34.xml

http://security.gentoo.org/glsa/glsa-200711-26.xml

http://secunia.com/advisories/30168

http://secunia.com/advisories/28412

http://secunia.com/advisories/28107

http://secunia.com/advisories/27967

http://secunia.com/advisories/27743

http://secunia.com/advisories/27718

http://secunia.com/advisories/27686

http://secunia.com/advisories/27672

http://lists.opensuse.org/opensuse-security-announce/2008-05/msg00000.html

http://lists.opensuse.org/opensuse-security-announce/2008-01/msg00002.html

http://bugs.gentoo.org/show_bug.cgi?id=198238

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=447081

Details

Source: Mitre, NVD

Published: 2007-11-13

Updated: 2026-06-16

Risk Information

CVSS v2

Base Score: 6.8

Vector: CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P

Severity: Medium

CVSS v3

Base Score: 9.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Severity: Critical

EPSS

EPSS: 0.03953