This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/19729] New: out of bounds heap read on invalid utf-8 inputs in stringprep_utf8_nfkc_normalize


https://sourceware.org/bugzilla/show_bug.cgi?id=19729

            Bug ID: 19729
           Summary: out of bounds heap read on invalid utf-8 inputs in
                    stringprep_utf8_nfkc_normalize
           Product: glibc
           Version: 2.23
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
          Assignee: unassigned at sourceware dot org
          Reporter: hanno at hboeck dot de
                CC: drepper.fsp at gmail dot com
  Target Milestone: ---

Created attachment 9039
  --> https://sourceware.org/bugzilla/attachment.cgi?id=9039&action=edit
sample input.

libidn's stringprep_utf8_nfkc_normalize function may read out of bounds if an
invalid utf-8 string gets passed. glibc bundles libidn.

This has been fixed upstream here:
http://git.savannah.gnu.org/gitweb/?p=libidn.git;a=commit;h=1fbee57ef3c72db2206dd87e4162108b2f425555

Attached is a sample input that can be triggered with idn -n.

Found with american fuzzy lop.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]