Will Drewry of the Google Security Team reported an issue in OGG Vorbis library, that can cause crash of the application using vorbis library, trigger an infinite loop, or cause an integer overflow leading to possible heap overflow. Problem is caused by codebooks with codebook.dim == 0.
Upstream patch: $ svn log -r 14602 http://svn.xiph.org/trunk/vorbis/ ------------------------------------------------------------------------ r14602 | xiphmont | 2008-03-18 19:12:52 +0100 (Tue, 18 Mar 2008) | 2 lines correctly handle the nonsensical codebook.dim==0 case ------------------------------------------------------------------------ $ svn diff -c 14602 http://svn.xiph.org/trunk/vorbis/lib/ Index: codebook.c =================================================================== --- codebook.c (revision 14601) +++ codebook.c (revision 14602) @@ -225,7 +225,7 @@ int quantvals=0; switch(s->maptype){ case 1: - quantvals=_book_maptype1_quantvals(s); + quantvals=(s->dim==0?0:_book_maptype1_quantvals(s)); break; case 2: quantvals=s->entries*s->dim;
https://trac.xiph.org/changeset/14602
Lifting embargo.
libvorbis-1.2.0-4.fc9 has been submitted as an update for Fedora 9
libvorbis-1.2.0-2.fc8 has been submitted as an update for Fedora 8
libvorbis-1.1.2-4.fc7 has been submitted as an update for Fedora 7
libvorbis-1.2.0-2.fc8 has been pushed to the Fedora 8 stable repository. If problems still persist, please make note of it in this bug report.
libvorbis-1.1.2-4.fc7 has been pushed to the Fedora 7 stable repository. If problems still persist, please make note of it in this bug report.
libvorbis-1.2.0-4.fc9 has been pushed to the Fedora 9 stable repository. If problems still persist, please make note of it in this bug report.
This issue was addressed in: Red Hat Enterprise Linux: http://rhn.redhat.com/errata/RHSA-2008-0271.html http://rhn.redhat.com/errata/RHSA-2008-0270.html Fedora: https://admin.fedoraproject.org/updates/F7/FEDORA-2008-3898 https://admin.fedoraproject.org/updates/F8/FEDORA-2008-3934 https://admin.fedoraproject.org/updates/F9/FEDORA-2008-3910