This problem has been fixed in version 1.79-16a.1 for nvi and 1.79+19991117-2.3 for nvi-m17n for the stable Debian GNU/Linux 2.2.
Even if we don't believe that this could lead into somebody gaining access of another users account if they haven't lost their brain, we recommend that you upgrade your nvi packages.
MD5 checksums of the listed files are available in the original advisory.