Bug 801896 (CVE-2012-1176) - CVE-2012-1176 pyfribidi: buffer overflow when handling 4-byte utf-8 sequences
Summary: CVE-2012-1176 pyfribidi: buffer overflow when handling 4-byte utf-8 sequences
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2012-1176
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 801897
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-03-09 19:06 UTC by Vincent Danen
Modified: 2019-09-29 12:51 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-08-22 15:09:03 UTC


Attachments (Terms of Use)

Description Vincent Danen 2012-03-09 19:06:06 UTC
A buffer overflow flaw was reported [1].[2] in pyfribidi's fribidi_utf8_to_unicode() function, due to it handling at most 3 bytes for a single unicode character.  If a 4-byte utf-8 sequence was supplied, it would generate 2 unicode characters which would overflow the logical buffer.  This has been fixed in pyfribidi 0.11 [3].

[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=663189
[2] https://github.com/pediapress/pyfribidi/issues/2
[3] https://github.com/pediapress/pyfribidi/commit/d2860c655357975e7b32d84e6b45e98f0dcecd7a

Comment 1 Vincent Danen 2012-03-09 19:06:46 UTC
Created pyfribidi tracking bugs for this issue

Affects: fedora-all [bug 801897]

Comment 2 Vincent Danen 2012-03-14 18:12:19 UTC
This was assigned the name CVE-2012-1176:

http://www.openwall.com/lists/oss-security/2012/03/14/9


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