This issue was discovered by Dean Brettle While investigating a crash of grip on my FC3 system, I've come across what appears to be a long-standing remote buffer overflow vulnerability. Specifically, if the CDDB server (eg freedb.org) returns more than 16 matches (exact or inexact) for a CD, grip will write past the end of a stack-based array. I think that means that a hostile server or a hostile 3rd party submitter to the CDDB server could exploit the bug (by embedding exploit code in the overflowing matches).
Patch is located here: https://sourceforge.net/tracker/index.php?func=detail&aid=1160134&group_id=3714&atid=303714
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHSA-2005-304.html