Bug 2077022 (CVE-2022-28042) - CVE-2022-28042 stb: use-after-free in stbi__jpeg_huff_decode()
Summary: CVE-2022-28042 stb: use-after-free in stbi__jpeg_huff_decode()
Keywords:
Status: NEW
Alias: CVE-2022-28042
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Nobody
QA Contact:
URL:
Whiteboard:
Depends On: 2077023 2077024 2083033
Blocks: 2077041
TreeView+ depends on / blocked
 
Reported: 2022-04-20 13:53 UTC by Guilherme de Almeida Suckevicz
Modified: 2023-07-07 08:33 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description Guilherme de Almeida Suckevicz 2022-04-20 13:53:18 UTC
stb_image.h v2.27 was discovered to contain an heap-based use-after-free via the function stbi__jpeg_huff_decode.

Reference:
https://github.com/nothings/stb/issues/1289

Upstream patch:
https://github.com/nothings/stb/pull/1297

Comment 1 Guilherme de Almeida Suckevicz 2022-04-20 13:53:37 UTC
Created stb tracking bugs for this issue:

Affects: epel-all [bug 2077024]
Affects: fedora-all [bug 2077023]

Comment 2 Ben Beasley 2022-04-23 18:12:15 UTC
This is covered by the same patch as bug 2077019, so it will be fixed by the same set of updates.


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