Description
Heap-based buffer overflow in the linetoken function in afmparse.c in t1lib, as used in teTeX 3.0.x, GNOME evince, and possibly other products, allows remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via a DVI file containing a crafted Adobe Font Metrics (AFM) file, a different vulnerability than CVE-2010-2642.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 13 | evince | 2.32.0-1 | — |
| Debian 12 | evince | 2.32.0-1 | — |
| Debian 6.0 | t1lib | 5.1.2-3+squeeze1 | DSA-2388-1 |
| Debian 5.0 | t1lib | 5.1.2-3+lenny1 | DSA-2388-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 6 | mendexk | 2.6e-57.el6_2 | RHSA-2012:0137 |
| RHEL 6 | t1lib +3 | 5.1.2-6.el6_2.1 | RHSA-2012:0062 |
| RHEL 6 | texlive +10 | 2007-57.el6_2 | RHSA-2012:0137 |
| RHEL 5 | tetex +6 | 3.0-33.15.el5_8.1 | RHSA-2012:1201 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | t1lib | No fix yet | — |
| Azure Linux 2 (CBL-Mariner) | t1lib | No fix yet | — |
Advisories 4
- RHSA-2012:0062 Red Hat Security Advisory: t1lib security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- RHSA-2012:0137 Red Hat Security Advisory: texlive security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- RHSA-2012:1201 Red Hat Security Advisory: tetex security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- DSA-2388-1 t1lib - several Debian Security (DSA / DLA) · Mar 9, 2026
References
- https://bugzilla.redhat.com/show_bug.cgi?id=679732
- 48985 third-party-advisory
- http://xorl.wordpress.com/2011/02/20/cve-2011-0433-evince-linetoken-buffer-overflow/
- RHSA-2012:1201 vendor-advisory
- https://bugzilla.gnome.org/show_bug.cgi?id=640923
- MDVSA-2012:144 vendor-advisory
- GLSA-201701-57 vendor-advisory