Bug 1639548 (CVE-2018-16981)

Summary: CVE-2018-16981 stbi: Heap-based buffer overflow in stb_image.h:stbi__out_gif_code() function
Product: [Other] Security Response Reporter: Sam Fowler <sfowler>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: dewachter.jonathan, fmuellner, hdegoede, igor.raits, mhroncok, otaylor, pbrobinson, pranav913, wtaymans
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-11-16 13:49:22 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1639549, 1639550, 1639551, 1639552, 1639553, 1639554    
Bug Blocks: 1639556    

Description Sam Fowler 2018-10-16 04:58:32 UTC
stb stb_image.h 2.19, as used in catimg, Emscripten, and other products, has a heap-based buffer overflow in the stbi__out_gif_code function.


Upstream Issue:

https://github.com/nothings/stb/issues/656

Comment 1 Sam Fowler 2018-10-16 04:59:19 UTC
Created SFML tracking bugs for this issue:

Affects: fedora-all [bug 1639552]


Created catimg tracking bugs for this issue:

Affects: fedora-all [bug 1639550]


Created cogl tracking bugs for this issue:

Affects: fedora-all [bug 1639551]


Created stbi tracking bugs for this issue:

Affects: fedora-all [bug 1639549]

Comment 3 Stefan Cornelius 2018-11-16 13:49:22 UTC
the stbi versions bundled with clutter and cogl don't support gif loading.

Comment 4 Stefan Cornelius 2018-11-16 13:49:33 UTC
Statement:

This issue did not affect the versions of cogl and compat-cogl114 as shipped with Red Hat Enterprise Linux 7.

This issue did not affect the versions of clutter as shipped with Red Hat Enterprise Linux 6.