CVE-2021-40265
A heap overflow bug exists FreeImage before 1.18.0 via ofLoad function in PluginJPEG.cpp.
Affects 1 product across 1 vendor.
Software writes data past buffer boundaries, corrupting memory and potentially enabling code execution.
A heap overflow vulnerability exists in FreeImage before version 1.18.0, specifically in the ofLoad function within PluginJPEG.cpp. This could allow an attacker to execute arbitrary code or cause a denial of service.
BSID: BS-2023-GLOBAL-307205-H • Model: /workspace/models/qwen2.5-coder-32b-instruct-bf16 • Confidence: HIGH
Is this CVE in your environment?
BreachSpider monitors your ICS/OT environment for vulnerabilities like this one. No agents or network access required. Free to start.
Check My Environment →What is CVE-2021-40265?
What is the CVSS score for CVE-2021-40265?
Is CVE-2021-40265 actively exploited?
How do I remediate CVE-2021-40265?
What systems are affected by CVE-2021-40265?
| CVE ID | CVE-2021-40265 |
|---|---|
| BSID | BS-2023-GLOBAL-307205-H BreachSpider Global ID |
| CVSS Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| Published | 2023-08-22 |
| Last Modified | 2024-11-21 |
| ICS Relevance | 15% |
| Weakness (CWE) | |
| Source | NVD |
A heap overflow bug exists FreeImage before 1.18.0 via ofLoad function in PluginJPEG.cpp.
Source: NIST NVD / MITRE CVE Database
The vulnerability is triggered by a specially crafted JPEG file being loaded using the ofLoad function. An attacker could exploit this by convincing a user to open a malicious JPEG file, potentially leading to remote code execution.
Exploitation Likelihood: HIGH
| Vendor | Product | Affected Versions |
|---|---|---|
| Freeimage Project | Freeimage | < 1.18.0 |
No official vendor advisory link on record. See the CVE record →
| CISA known-exploited | Not in KEV catalog |
|---|---|
| Public Exploit | Not confirmed |
| PoC Code | Not confirmed |
AI Enrichment Record — provenance & audit hash
| Model | /workspace/models/qwen2.5-coder-32b-instruct-bf16 |
|---|---|
| Confidence | HIGH |
| Enriched At | 2026-05-24 |
| SHA-512 Audit Hash | 763dd3f367cb80cac8b6a470e4d028453bef744b62c454d2925763080e9f75ea497ed493cd8f3087d6d64827590aaff9ad4a913542b490c9f843894a9c6e59da |
ICS/OT Vulnerability Intelligence for Your Environment
BreachSpider tracks 384,000+ CVEs and matches them to your ICS/OT assets by exact version, with AI analysis, NERC CIP mapping, and vendor PSIRT contacts.
Create a free account →