FreeImage
CVE-2025-65803
MEDIUM
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft malicious PSD file
-
ExploitDeliver to app using FreeImage
-
ExecutionInteger overflow in psdParser::ReadImageData
-
ImpactProcess crash / Denial of Service
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Integer overflow checks
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires a victim application that uses FreeImage (v3.18.0 or earlier) to parse an attacker-supplied Photoshop PSD file; the crafted PSD's dimension/channel fields drive the integer overflow in psdParser::ReadImageData during image-data reading. The trigger requires user or application interaction to open/process the file (UI:R) - it is not a self-propagating remote crash against a listening service by default. Limiting factors: impact is confined to Denial of Service (process crash) with no confidentiality or integrity impact; practical reachability depends on whether the deploying application accepts PSD input and whether that input arrives over a network path or only via local files. No authentication is required (PR:N). |
| Impact | This is a moderate-severity availability-only issue, not a top-tier emergency. The CVSS vector (AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H, 6.5) indicates a remotely-reachable, low-complexity, unauthenticated trigger, but gated by required user interaction (UI:R) and limited strictly to a Denial of Service - no confidentiality or integrity impact. The signals align toward lower real-world urgency: EPSS is low (0.30%, 23rd percentile), there is NO CISA KEV listing (not confirmed actively exploited), and the referenced PoC is a reference only, not verified as working exploit code. The vuln.today priority is 'this_month', consistent with a patch-when-convenient cadence rather than act_now/emergency. One point to verify: CVSS marks AV:N, but exploitation realistically depends on the affected application feeding an attacker-supplied PSD file to FreeImage - AV:N is defensible only where the library processes images received over a network (e.g., an upload/conversion service); for a purely local desktop viewer the practical vector is closer to local file delivery. The worst outcome is a crash/resource exhaustion of the process using the library, not system compromise. |
| Exploit ScenarioDerived | An attacker crafts a malformed PSD file whose header values trigger an integer overflow in FreeImage's psdParser::ReadImageData, then delivers it to a victim application that uses FreeImage to decode images (for example an image-upload/thumbnailing service or a desktop image viewer). When the application parses the file, the overflow leads to a crash, denying service. A public PoC reference exists (a GitHub gist), but it is not verified as working exploit code, and only availability is affected. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 04, 2026
Denial of service in FreeImage 3.18.0 and earlier is caused by an integer overflow in psdParser::ReadImageData when a crafted Photoshop PSD file is parsed, allowing the affected process to crash. The CVSS 3.1 vector is AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H, so remote unauthenticated attackers can trigger it only when a victim application processes attacker-supplied PSD input and user or application interaction occurs; there is no confidentiality or integrity impact. A public PoC reference exists; it is not verified as working exploit code, there is no CISA KEV confirmation of active exploitation, and EPSS is low at 0.30% (23rd percentile), supporting a this_month rather than emergency priority.
RemediationAI
Update FreeImage to a release later than 3.18.0 when the vendor provides one, and verify the current build against the vendor download page at https://freeimage.sourceforge.io/download.html; no exact fixed version is confirmed in the supplied data, so validate the chosen release against the PSD parsing issue before deployment. If an immediate upgrade is not possible, reduce exposure by disabling PSD support in applications that do not require it, rejecting untrusted or oversized PSD files at ingestion, validating PSD dimension/channel fields before handing files to FreeImage, and running the parser in a low-privilege, resource-limited process so a crash cannot take down a larger service; these controls trade PSD functionality or add parsing overhead and do not replace a vendor fix. The gist reference at https://gist.github.com/1mxml/cabd6d972557d9d992fe5f4f6ca1dd87 should be used only to reproduce or verify the issue, since it is not verified as working exploit code.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
FreeImage is a C/C++ image-processing library, and the affected CPE is cpe:2.3:a:freeimage_project:freeimage:*:*:*:*:*:*:*:*, covering FreeImage through version 3.18.0. The root cause is CWE-190 integer overflow in psdParser::ReadImageData, where PSD dimension/channel fields are used during image-data reading and can overflow an integer, leading to a crash rather than code execution under the assessed impact. The CVSS vector AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H confirms the availability-only scope and the requirement for a victim application to process an attacker-supplied PSD; the exact arithmetic operation and any additional preconditions are not described in the available sources.
Know when Freeimage gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Crafted PSD must be opened by the victim app, so UI:R and PR:N; impact is a crash only, so C:N/I:N/A:H; AV:N holds where images arrive over the network.
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
DescriptionCVE.org
An integer overflow in the psdParser::ReadImageData function of FreeImage v3.18.0 and before allows attackers to cause a Denial of Service (DoS) via supplying a crafted PSD file.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Integer overflow occurs when an arithmetic operation produces a result that exceeds the maximum value a given integer type can store.
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Affected Products (CPE)CVE.org
FreeImage 3.18.0 has a use-after-free in the TARGA plugin's loadRLE function. Processing a malicious TGA file can lead t
An integer overflow vulnerability in FreeImageIO.cpp::_MemoryReadProc in FreeImage 3.18.0 allows attackers to obtain sen
An integer overflow vulnerability in LoadPixelDataRLE4 function in PluginBMP.cpp in Freeimage 3.18.0 allows attackers to
Buffer Overflow vulnerability in open source FreeImage v.3.19.0 [r1909] allows a local attacker to execute arbitrary cod
Buffer Overflow vulnerability in open source FreeImage v.3.19.0 [r1909] allows a local attacker to execute arbitrary cod
Buffer Overflow vulnerability in open source FreeImage v.3.19.0 [r1909] allows a local attacker to execute arbitrary cod
Buffer Overflow vulnerability in open source FreeImage v.3.19.0 [r1909] allows a local attacker to execute arbitrary cod
Buffer Overflow vulnerability in open source FreeImage v.3.19.0 [r1909] allows a local attacker to execute arbitrary cod
Buffer Overflow vulnerability in open source FreeImage v.3.19.0 [r1909] allows a local attacker to execute arbitrary cod
Buffer Overflow vulnerability in open source FreeImage v.3.19.0 [r1909] allows a local attacker to execute arbitrary cod
A flaw was found in the freeimage library. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, n
In FreeImage 3.18.0, an out-of-bounds access occurs because of mishandling of the OpenJPEG j2k_read_ppm_v3 function in j
NVD
CVE.org
EPSS
GitHub
Exploit-DB