8.8
HIGH
CVE-2022-28042
"CoreLIB stb_image heap use-after-free"
Description

stb_image.h v2.27 was discovered to contain an heap-based use-after-free via the function stbi__jpeg_huff_decode.

INFO

Published Date :

April 15, 2022, 2:15 p.m.

Last Modified :

Nov. 7, 2023, 3:45 a.m.

Remotely Exploitable :

Yes !

Impact Score :

5.9

Exploitability Score :

2.8
Affected Products

The following products are affected by CVE-2022-28042 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Fedoraproject fedora
1 Debian debian_linux
1 Nothings stb_image.h

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2022-28042 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2022-28042 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Nov. 07, 2023

    Action Type Old Value New Value
    Added Reference MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/I4HXIWU5HBOADXZVMREHT4YTO5WVYXEQ/ [No types assigned]
    Added Reference MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5FXLM5XL77SNH4IPTSXOQD7XL4E2EMIN/ [No types assigned]
    Added Reference MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MMBCMJGAZRQS55SNECUWZSC5URVLEZ5R/ [No types assigned]
    Removed Reference MITRE https://lists.fedoraproject.org/archives/list/[email protected]/message/I4HXIWU5HBOADXZVMREHT4YTO5WVYXEQ/
    Removed Reference MITRE https://lists.fedoraproject.org/archives/list/[email protected]/message/5FXLM5XL77SNH4IPTSXOQD7XL4E2EMIN/
    Removed Reference MITRE https://lists.fedoraproject.org/archives/list/[email protected]/message/MMBCMJGAZRQS55SNECUWZSC5URVLEZ5R/
  • Modified Analysis by [email protected]

    Feb. 23, 2023

    Action Type Old Value New Value
    Changed Reference Type https://lists.debian.org/debian-lts-announce/2023/01/msg00045.html No Types Assigned https://lists.debian.org/debian-lts-announce/2023/01/msg00045.html Mailing List, Third Party Advisory
    Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/MMBCMJGAZRQS55SNECUWZSC5URVLEZ5R/ Third Party Advisory https://lists.fedoraproject.org/archives/list/[email protected]/message/MMBCMJGAZRQS55SNECUWZSC5URVLEZ5R/ Mailing List, Third Party Advisory
    Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Feb. 01, 2023

    Action Type Old Value New Value
    Added Reference https://lists.debian.org/debian-lts-announce/2023/01/msg00045.html [No Types Assigned]
  • Modified Analysis by [email protected]

    May. 10, 2022

    Action Type Old Value New Value
    Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/5FXLM5XL77SNH4IPTSXOQD7XL4E2EMIN/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/5FXLM5XL77SNH4IPTSXOQD7XL4E2EMIN/ Mailing List, Third Party Advisory
    Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/I4HXIWU5HBOADXZVMREHT4YTO5WVYXEQ/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/I4HXIWU5HBOADXZVMREHT4YTO5WVYXEQ/ Mailing List, Third Party Advisory
    Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/MMBCMJGAZRQS55SNECUWZSC5URVLEZ5R/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/MMBCMJGAZRQS55SNECUWZSC5URVLEZ5R/ Third Party Advisory
    Added CPE Configuration OR *cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:* *cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:* *cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    May. 07, 2022

    Action Type Old Value New Value
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/MMBCMJGAZRQS55SNECUWZSC5URVLEZ5R/ [No Types Assigned]
  • CVE Modified by [email protected]

    Apr. 28, 2022

    Action Type Old Value New Value
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/I4HXIWU5HBOADXZVMREHT4YTO5WVYXEQ/ [No Types Assigned]
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/5FXLM5XL77SNH4IPTSXOQD7XL4E2EMIN/ [No Types Assigned]
  • Initial Analysis by [email protected]

    Apr. 22, 2022

    Action Type Old Value New Value
    Added CVSS V2 Metadata Victim must voluntarily interact with attack mechanism
    Added CVSS V2 NIST (AV:N/AC:M/Au:N/C:P/I:P/A:P)
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
    Changed Reference Type https://github.com/nothings/stb/issues/1289 No Types Assigned https://github.com/nothings/stb/issues/1289 Exploit, Issue Tracking, Third Party Advisory
    Changed Reference Type https://github.com/nothings/stb/pull/1297 No Types Assigned https://github.com/nothings/stb/pull/1297 Patch, Third Party Advisory
    Added CWE NIST CWE-416
    Added CPE Configuration OR *cpe:2.3:a:nothings:stb_image.h:2.27:*:*:*:*:*:*:*
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2022-28042 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2022-28042 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.74 }} 0.02%

score

0.81389

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability