CVE-2024-31570
libfreeimage in FreeImage 3.4.0 through 3.18.0 has a stack-based buffer overflow in the PluginXPM...
libfreeimage in FreeImage 3.4.0 through 3.18.0 has a stack-based buffer overflow in the PluginXPM.cpp Load function via an XPM file.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
9.8
libfreeimage in FreeImage 3.4.0 through 3.18.0 has a stack-based buffer overflow in the PluginXPM.cpp Load function via an XPM file.
- Record
CVE-2024-31570- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-787, CWE-121
- Updated
- 2026-11-02
CVE List
9.8
libfreeimage in FreeImage 3.4.0 through 3.18.0 has a stack-based buffer overflow in the PluginXPM.cpp Load function via an XPM file.
- Record
CVE-2024-31570- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-121
- Updated
- 2026-11-02
EUVDEUVD-2024-29448
9.8
libfreeimage in FreeImage 3.4.0 through 3.18.0 has a stack-based buffer overflow in the PluginXPM.cpp Load function via an XPM file.
- Record
EUVD-2024-29448- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-03
GitHub AdvisoriesGHSA-c4jq-v98x-5qm2
9.8
libfreeimage in FreeImage 3.4.0 through 3.18.0 has a stack-based buffer overflow in the PluginXPM...
libfreeimage in FreeImage 3.4.0 through 3.18.0 has a stack-based buffer overflow in the PluginXPM.cpp Load function via an XPM file.
- Record
GHSA-c4jq-v98x-5qm2- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-121, CWE-787
- Updated
- 2026-11-02
OSV
9.8
libfreeimage in FreeImage 3.4.0 through 3.18.0 has a stack-based buffer overflow in the PluginXPM.cpp Load function via an XPM file.
- Record
CVE-2024-31570- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2024-31570
9.8
libfreeimage in FreeImage 3.4.0 through 3.18.0 has a stack-based buffer overflow in the PluginXPM.cpp Load function via an XPM file.
- Record
DEBIAN-CVE-2024-31570- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2024-31570
9.8
libfreeimage in FreeImage 3.4.0 through 3.18.0 has a stack-based buffer overflow in the PluginXPM.cpp Load function via an XPM file.
- Record
UBUNTU-CVE-2024-31570- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
freeimageDebian: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 |
freeimageDebian: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 |
freeimageUbuntu: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 |
freeimageUbuntu: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 |
freeimageUbuntu: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 |
freeimageUbuntu: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 |
freeimageUbuntu: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 |
freeimageUbuntu: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 |
freeimageUbuntu:25.10 |
All versions, plus listed versions 3.18.0+ds2-11 |
None known |
freeimageUbuntu:26.10 |
All versions, plus listed versions 3.18.0+ds2-11build13.18.0+ds2-11build23.18.0+ds2-11build3 |
None known |
freeimageUbuntu:26.04:LTS |
All versions, plus listed versions 3.18.0+ds2-113.18.0+ds2-11build1 |
None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2024-31570 is a critical vulnerability (CVSS 9.8) in Freeimage Project Freeimage, published September 19, 2024. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.60%, the 49th percentile. No source names a fixed version.
References
sourceforge.net/p/freeimage/bugs/355
openwall.com/lists/oss-security/2024/04/11/10
nvd.nist.gov/vuln/detail/CVE-2024-31570
github.com/advisories/GHSA-c4jq-v98x-5qm2
security-tracker.debian.org/tracker/CVE-2024-31570
ubuntu.com/security/CVE-2024-31570
openwall.com/lists/oss-security/2024/04/11
marc.info?l=oss-security&m=171284642816463
cve.org/CVERecord?id=CVE-2024-31570