Description
Multiple off-by-one errors in the (1) token and (2) linetoken functions in backend/dvi/mdvi-lib/afmparse.c in t1lib, as used in teTeX 3.0.x, GNOME evince, and possibly other products, allow 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, different vulnerabilities than CVE-2010-2642 and CVE-2011-0433.
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 5.0 | evince | 2.22.2-4~lenny2 | DSA-2357-1 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | t1lib | No fix yet | — |
| Azure Linux 2 (CBL-Mariner) | t1lib | No fix yet | — |
Advisories 1
- DSA-2357-1 evince - several Debian Security (DSA / DLA) · Mar 9, 2026
References
- https://bugzilla.gnome.org/show_bug.cgi?id=643882
- evince-token-code-exec(80271) vdb-entry
- [oss-security] 20110304 Re: Re: CVE request: More Evince overflows mailing-list
- http://git.gnome.org/browse/evince/commit/?id=d4139205b010
- GLSA-201701-57 vendor-advisory
- http://git.gnome.org/browse/evince/commit/?id=439c5070022e