Every CVE Search/ Get API key

CVE-2021-40262

A stack exhaustion issue was discovered in FreeImage before 1.18.0 via the Validate function in...

6.5 Medium

A stack exhaustion issue was discovered in FreeImage before 1.18.0 via the Validate function in PluginRAW.cpp.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
High

Exploit likelihood

0.73%Up 0.7 points since Aug 25, 2023
90%50%10%1%

What each source reports

NVD Score used 6.5

A stack exhaustion issue was discovered in FreeImage before 1.18.0 via the Validate function in PluginRAW.cpp.

Record
CVE-2021-40262
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness
CWE-787
Updated
2026-11-02
CVE List No score

A stack exhaustion issue was discovered in FreeImage before 1.18.0 via the Validate function in PluginRAW.cpp.

Record
CVE-2021-40262
Updated
2026-11-02
EUVDEUVD-2021-27446 No score

A stack exhaustion issue was discovered in FreeImage before 1.18.0 via the Validate function in PluginRAW.cpp.

Record
EUVD-2021-27446
Updated
2026-11-03
GitHub AdvisoriesGHSA-ffv6-g99g-rj96 6.5

A stack exhaustion issue was discovered in FreeImage before 1.18.0 via the Validate function in...

A stack exhaustion issue was discovered in FreeImage before 1.18.0 via the Validate function in PluginRAW.cpp.

Record
GHSA-ffv6-g99g-rj96
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness
CWE-787
Updated
2026-11-02
OSV 6.5

A stack exhaustion issue was discovered in FreeImage before 1.18.0 via the Validate function in PluginRAW.cpp.

Record
CVE-2021-40262
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2021-40262 6.5

A stack exhaustion issue was discovered in FreeImage before 1.18.0 via the Validate function in PluginRAW.cpp.

Record
DEBIAN-CVE-2021-40262
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2021-40262 6.5

A stack exhaustion issue was discovered in FreeImage before 1.18.0 via the Validate function in PluginRAW.cpp.

Record
UBUNTU-CVE-2021-40262
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
freeimage
Debian:12
All versions, plus listed versions
3.18.0+ds2-103.18.0+ds2-113.18.0+ds2-93.18.0+ds2-9+deb12u13.18.0+ds2-9.14.2.1+ds-1~exp14.2.1+ds-1~exp24.2.1+ds-1~exp3
None known
freeimage
Debian:13
All versions, plus listed versions
3.18.0+ds2-114.2.1+ds-1~exp14.2.1+ds-1~exp24.2.1+ds-1~exp3
None known
freeimage
Ubuntu:Pro:14.04:LTS
All versions, plus listed versions
3.15.1-2build13.15.1-2build23.15.4-23.15.4-33.15.4-3ubuntu0.13.15.4-3ubuntu0.1+esm13.15.4-3ubuntu0.1+esm23.15.4-3ubuntu0.1+esm3
None known
freeimage
Ubuntu:Pro:16.04:LTS
All versions, plus listed versions
3.15.4-4.1build13.15.4-63.17.0+ds1-1.13.17.0+ds1-23.17.0+ds1-2ubuntu0.13.17.0+ds1-2ubuntu0.1+esm1
None known
freeimage
Ubuntu:Pro:18.04:LTS
All versions, plus listed versions
3.17.0+ds1-5build23.17.0+ds1-5+deb9u1build0.18.04.13.17.0+ds1-5+deb9u1ubuntu0.1~esm1
None known
freeimage
Ubuntu:20.04:LTS
All versions, plus listed versions
3.18.0+ds2-1ubuntu13.18.0+ds2-1ubuntu23.18.0+ds2-1ubuntu33.18.0+ds2-1ubuntu3.1
None known
freeimage
Ubuntu:22.04:LTS
All versions, plus listed versions
3.18.0+ds2-6ubuntu33.18.0+ds2-6ubuntu43.18.0+ds2-6ubuntu53.18.0+ds2-6ubuntu5.1
None known
freeimage
Ubuntu:24.04:LTS
All versions, plus listed versions
3.18.0+ds2-9.13.18.0+ds2-103.18.0+ds2-10build23.18.0+ds2-10build33.18.0+ds2-10build4
None known
freeimage
Ubuntu:25.10
All versions, plus listed versions
3.18.0+ds2-11
None known
freeimage
Ubuntu:26.10
All versions, plus listed versions
3.18.0+ds2-11build13.18.0+ds2-11build23.18.0+ds2-11build3
None known
freeimage
Ubuntu:26.04:LTS
All versions, plus listed versions
3.18.0+ds2-113.18.0+ds2-11build1
None known

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2021-40262 is a medium vulnerability (CVSS 6.5) in Freeimage Project Freeimage, published August 22, 2023. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.73%, the 54th percentile. No source names a fixed version.

References

MoveEnter Open