Bug 2235437 (CVE-2021-40262) - CVE-2021-40262 freeimage: stack exhaustion via Validate() in PluginRAW.cpp
Summary: CVE-2021-40262 freeimage: stack exhaustion via Validate() in PluginRAW.cpp
Keywords:
Status: NEW
Alias: CVE-2021-40262
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2235439 2235438 2235440
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-08-28 17:12 UTC by Guilherme de Almeida Suckevicz
Modified: 2023-08-29 14:07 UTC (History)
1 user (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 2023-08-28 17:12:13 UTC
A stack exhaustion issue was discovered in FreeImage before 1.18.0 via the Validate function in PluginRAW.cpp.

Reference:
https://sourceforge.net/p/freeimage/bugs/338/

Comment 1 Guilherme de Almeida Suckevicz 2023-08-28 17:12:36 UTC
Created freeimage tracking bugs for this issue:

Affects: epel-all [bug 2235439]
Affects: fedora-all [bug 2235440]


Created mingw-freeimage tracking bugs for this issue:

Affects: fedora-all [bug 2235438]

Comment 2 Sandro Mani 2023-08-28 21:03:22 UTC
I'm assuming this should read FreeImage before *3.18.0*? And where is it stated that only < 3.18.0 is affected? I can't find or deduce this information from the upstream report.

Comment 3 Guilherme de Almeida Suckevicz 2023-08-29 14:07:08 UTC
Hi, the CVE description probably meant 3.18.0, this is the way it's in the Mitre CVE page[1] though.

I don't have affected information and the report is not very clear. However, given the upstream issue is still opened and the vulnerable code is present in 'trunk', I would say all versions before and including 3.18.0 are affected.

[1]. https://www.cve.org/CVERecord?id=CVE-2021-40262


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