A format string vulnerability was found in CmdKeywords function when processing \keywords command in tex file. When the user runs latex2rtf with malicious crafted tex file, an attacker can execute arbitrary code. The variable keywords' in the function CmdKeywords may hold a malicious input string, which can be used as a format argument of vsnprintf.
Vulnerable code:
1789 char keywords = getBraceParam(); ... 1798 fprintRTF(keywords); ...
858 void fprintRTF(char format, ...){ ... 873 vsnprintf(buffer, 1024, format, apf); ...
Public disclosure (includes reproducer and suggested fix):
http://seclists.org/oss-sec/2015/q4/283