FreeBSD VuXML: Documenting security issues in FreeBSD and the FreeBSD Ports Collection

lynx -- remote buffer overflow

Affected packages
ja-lynx < 2.8.5_1
2.8.6* < ja-lynx < 2.8.6d14
lynx < 2.8.5_1
2.8.6* < lynx < 2.8.6d14
lynx-ssl < 2.8.5_1

Details

VuXML ID c01170bf-4990-11da-a1b8-000854d03344
Discovery 2005-10-17
Entry 2005-10-30
Modified 2006-10-05

Ulf Härnhammar reports:

When Lynx connects to an NNTP server to fetch information about the available articles in a newsgroup, it will call a function called HTrjis() with the information from certain article headers. The function adds missing ESC characters to certain data, to support Asian character sets. However, it does not check if it writes outside of the char array buf, and that causes a remote stack-based buffer overflow.

References

CVE Name CVE-2005-3120
URL http://lists.grok.org.uk/pipermail/full-disclosure/2005-October/038019.html