Bug 565997 (CVE-2010-3444) - CVE-2010-3444 pyfribidi: buffer overflow when processing Arabic UTF-8 strings
Summary: CVE-2010-3444 pyfribidi: buffer overflow when processing Arabic UTF-8 strings
Keywords:
Status: NEW
Alias: CVE-2010-3444
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard: impact=moderate,source=debian,reporte...
Depends On: 565998
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-02-16 21:15 UTC by Vincent Danen
Modified: 2019-06-08 12:55 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:


Attachments (Terms of Use)

Description Vincent Danen 2010-02-16 21:15:47 UTC
It was reported [1] that pyfribidi contains a buffer overflow in the log2vis_utf8() function due to the assumption that the string returned by fribidi_unicode_to_utf8() will be the same length as the original UTF-8 string.  Due to changes in fribidi 0.19.1, for the Arabic language this is not the case as the joining added in fribidi causes some of the original 2-byte UTF-8 sequences to be come 3-bytes long.

The upstream report also includes a patch that is supposed to correct the issue by increasing the size of the buffer passed to fribidi_unicode_to_utf8().

Due to Fedora 11 and 12 containing fribidi 0.19.2, this would affect Fedora.

[1] http://sourceforge.net/tracker/?func=detail&aid=2676136&group_id=158366&atid=807545

Comment 2 Vincent Danen 2010-10-01 20:03:48 UTC
This has been assigned the name CVE-2010-3444.


Note You need to log in before you can comment on or make changes to this bug.