Description
Multiple buffer overflows in LaTeX2rtf 1.9.15, and possibly other versions, allow remote attackers to execute arbitrary code via (1) the expandmacro function, and possibly (2) Environments and (3) TranslateCommand.
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 14 | latex2rtf | 1.9.16 | — |
| Debian 13 | latex2rtf | 1.9.16 | — |
| Debian 12 | latex2rtf | 1.9.16 | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 1
- LaTeX2rtf 1.9.15 - Remote Buffer Overflow EDB-24622 · remote · Sep 21, 2004 · verified
GitHub 1 repository
-
uzzzval/cve-2004-2167 ★ 0 · Dec 5, 2018
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- 1011367 vdb-entry
- latex2rtf-multiple-bo(17487) vdb-entry
- http://cvs.sourceforge.net/viewcvs.py/latex2rtf/latex2rtf/definitions.c?rev=1.22&view=log
- 11233 vdb-entry
- 10216 vdb-entry
- latex2rtf-expandmacro-bo(17460) vdb-entry