A heap-based buffer overflow flaw was found in the way AFM font file parser, used for rendering of DVI files, in GNOME evince document viewer and other products, processed line tokens from the given input stream. A remote attacker could provide a DVI file, with embedded specially-crafted font file, and trick the local user to open it with an application using the AFM font parser, leading to that particular application crash or, potentially, arbitrary code execution with the privileges of the user running the application. Different vulnerability than CVE-2010-2642. Upstream bug report: [1] https://bugzilla.gnome.org/show_bug.cgi?id=640923 Upstream patch: [2] https://bugzilla.gnome.org/show_bug.cgi?id=640923#c1
This issue does not affect the versions of the evince package, as shipped with Red Hat Enterprise Linux 5 and 6. -- This issue does not affect the versions of the evince package, as shipped with Fedora release of 13 and 14.
This issue affects the version of the t1lib package, as shipped with Red Hat Enterprise Linux 6. -- This issue affects the versions of the t1lib package, as shipped with Fedora release of 13 and 14. This issue affects the version of the t1lib package, as present within EPEL-5 repository.
Created evince tracking bugs for this issue Affects: fedora-all [bug 679733]
Created t1lib tracking bugs for this issue Affects: epel-5 [bug 679734] Affects: fedora-all [bug 679735]
evince in rhel-6 is not build with afmparse.c, due to the following code segment in tfmfile.c #ifdef WITH_AFM_FILES #undef TRUE #undef FALSE #include "afmparse.h" #endif Statement: Not vulnerable. This issue did not affect the versions of evince as shipped with Red Hat Enterprise Linux 5 and 6.
A gnome BZ bug for the off-by-one issue in the original patch: https://bugzilla.gnome.org/show_bug.cgi?id=643882
Created t1lib tracking bugs for this issue Affects: fedora-all [bug 772899]
Created attachment 551814 [details] t1lib fix
This issue has been addressed in following products: Red Hat Enterprise Linux 6 Via RHSA-2012:0062 https://rhn.redhat.com/errata/RHSA-2012-0062.html
t1lib-5.0.2-2 has been pushed to the Fedora EPEL 4 stable repository. If problems still persist, please make note of it in this bug report.
t1lib-5.1.1-9.el5 has been pushed to the Fedora EPEL 5 stable repository. If problems still persist, please make note of it in this bug report.
t1lib-5.1.2-9.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report.
t1lib-5.1.2-9.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report.
This issue has been addressed in following products: Red Hat Enterprise Linux 6 Via RHSA-2012:0137 https://rhn.redhat.com/errata/RHSA-2012-0137.html
This issue has been addressed in following products: Red Hat Enterprise Linux 5 Via RHSA-2012:1201 https://rhn.redhat.com/errata/RHSA-2012-1201.html
(In reply to comment #0) > Different vulnerability than CVE-2010-2642. CVE-2010-2642 (bug 666318) was assigned to the overflow in the token() function. CVE-2011-0433 was assigned to the similar issue in the linetoken() function. Upstream commit is: http://git.gnome.org/browse/evince/commit/?id=439c5070022e Off-by-one issue mentioned in comment 11 was fixed in both functions via: http://git.gnome.org/browse/evince/commit/?id=efadec4ffcdd This problem later got CVE-2011-5244 assigned (bug 878483).
This was previously fixed in OpenOffice.org, see bug 666318, comment 30.