CVE-2021-40263

HIGH

A heap overflow vulnerability in FreeImage 1.18.0 via the ofLoad function in PluginTIFF.cpp.

Affects 1 product across 1 vendor.

CVSS 3.18.8
EPSS1.2%
Percentile67th
PatchUnknown
CVSS Vector — Plain English Remotely exploitable over the network, low complexity, no authentication required, requires user interaction, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
CWE Weakness Definitions
CWE-787: Out-of-Bounds Write

Software writes data past buffer boundaries, corrupting memory and potentially enabling code execution.

◆ AI Analysis — automated analysis, not human-reviewed

A heap overflow vulnerability exists in FreeImage 1.18.0 through the ofLoad function in PluginTIFF.cpp, which could allow an attacker to execute arbitrary code or cause a denial of service.

BSID: BS-2023-GLOBAL-307203-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 →
Frequently Asked Questions
What is CVE-2021-40263?
A heap overflow vulnerability exists in FreeImage 1.18.0 through the ofLoad function in PluginTIFF.cpp, which could allow an attacker to execute arbitrary code or cause a denial of service.
What is the CVSS score for CVE-2021-40263?
CVE-2021-40263 has CVSS 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H. EPSS: 1.2%.
Is CVE-2021-40263 actively exploited?
No confirmed active exploitation of CVE-2021-40263 as of 2026-05-30.
How do I remediate CVE-2021-40263?
Priority: IMMEDIATE.
What systems are affected by CVE-2021-40263?
CVE-2021-40263 affects Freeimage Project Freeimage.
Vulnerability Details
CVE IDCVE-2021-40263
BSIDBS-2023-GLOBAL-307203-H BreachSpider Global ID
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Published2023-08-22
Last Modified2024-11-21
ICS Relevance15%
Weakness (CWE)
SourceNVD
Official Description

A heap overflow vulnerability in FreeImage 1.18.0 via the ofLoad function in PluginTIFF.cpp.

Source: NIST NVD / MITRE CVE Database

Attack Vector Analysis — CITED Relevance

The vulnerability is triggered by a specially crafted TIFF file, which, when loaded by the ofLoad function, can cause a heap overflow. This can lead to memory corruption, potentially allowing an attacker to execute arbitrary code with the privileges of the application using FreeImage.

Exploitation Likelihood: HIGH

Affected Products
VendorProductAffected Versions
Freeimage Project Freeimage 1.18.0
Remediation

No official vendor advisory link on record. See the CVE record →

Threat Intelligence
● Threat Intelligence Validated: October 2026 | Threat Age: 1150 Days
CISA known-exploitedNot in KEV catalog
Public ExploitNot confirmed
PoC CodeNot confirmed
AI Enrichment Record — provenance & audit hash
Model/workspace/models/qwen2.5-coder-32b-instruct-bf16
ConfidenceHIGH
Enriched At2026-05-24
SHA-512 Audit Hashcb2ce7f2973e0fd063f946d5bffa97f41dfa3ca5927bd07a4ff3b1c1e4cfa15158b0e260928ad85a41a2b578a8ad2b02b1682d08bbf8d5106ad154d2643b4418
Related CVEs affecting Freeimage Project
CVE-2025-70968 9.8 FreeImage 3.18.0 contains a Use After Free in PluginTARGA.cpp;loadRLE(). CVE-2024-31570 9.8 libfreeimage in FreeImage 3.4.0 through 3.18.0 has a stack-based buffer overf... CVE-2021-40265 8.8 A heap overflow bug exists FreeImage before 1.18.0 via ofLoad function in Plu... CVE-2020-24293 8.8 Buffer Overflow vulnerability in psdThumbnail::Read in PSDParser.cpp in FreeI... CVE-2020-24292 8.8 Buffer Overflow vulnerability in load function in PluginICO.cpp in FreeImage ...
View all Freeimage Project CVEs →

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 →