CVE-2023-47992
High · 8.8CVSS
8.8
EPSS
0.7%
Published
Jan 9, 2024
CISA due date
—
Cloudanix analysis
A flaw in widely used image-handling software could let attackers steal information, crash programs, or take control of systems by sending specially made files.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Low
- Impact
- Full Compromise
- Component
- Library
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Integer overflow in FreeImageIO.cpp::_MemoryReadProc permits out-of-bounds memory access, enabling information disclosure, denial of service, or arbitrary code execution.
Why it matters to the business
Organizations using affected FreeImage versions face risks of data exposure, service outages, and full system compromise, with public exploits increasing urgency despite no listed patches.
How an attack unfolds
An attacker crafts a malicious image or input stream that triggers the integer overflow during _MemoryReadProc execution, leading to memory corruption that can be leveraged for code execution or crashes.
How to fix it
Upgrade FreeImage to the latest available version once patches are released; in the interim, restrict processing of untrusted image files and consider alternative libraries.
How to confirm the fix worked
Confirm FreeImage version is not 3.18.0; test with known proof-of-concept inputs targeting _MemoryReadProc if available; monitor vendor advisories for fixed releases.
Typical attack path
- Identify target application or service embedding FreeImage 3.18.0
- Deliver crafted image or data via network or file input
- Trigger _MemoryReadProc to induce integer overflow
- Leverage resulting memory corruption for information leak, DoS, or RCE
How to detect it
Monitor application logs for crashes or unexpected behavior during image processing; inspect for memory corruption artifacts in affected processes; review network traffic for anomalous image payloads.
What your security team should do
- Prioritize inventory of all FreeImage deployments due to ExploitAvailable status and 1011 days since publication
- Apply updates immediately when fixed versions become available
- Implement input sanitization or sandboxing for image processing workflows
- Review and restrict network-accessible endpoints that accept image inputs
The record
An integer overflow vulnerability in FreeImageIO.cpp::_MemoryReadProc in FreeImage 3.18.0 allows attackers to obtain sensitive information, cause a denial-of-service attacks and/or run arbitrary code.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:11 | freeimage | 0 | No fix |
| Debian:12 | freeimage | 0 | No fix |
| Debian:13 | freeimage | 0 | No fix |
| Ubuntu:20.04:LTS | freeimage | 0 | No fix |
| Ubuntu:22.04:LTS | freeimage | 0 | No fix |
| Ubuntu:24.04:LTS | freeimage | 0 | No fix |
| Ubuntu:24.10 | freeimage | 0 | No fix |
| Ubuntu:25.04 | freeimage | 0 | No fix |
| Ubuntu:25.10 | freeimage | 0 | No fix |
| Ubuntu:Pro:14.04:LTS | freeimage | 0 | No fix |
| Ubuntu:Pro:16.04:LTS | freeimage | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | freeimage | 0 | No fix |
| Ubuntu:Pro:20.04:LTS | freeimage | 0 | No fix |
Related vulnerabilities
- CVE-2024-9029 A flaw was found in the freeimage library. Also affects freeimage
- CVE-2024-31570 In FreeImage library version 3.19.0 [r1909], when reading images in XPM format, the… Also affects freeimage
- CVE-2024-28583 Buffer Overflow vulnerability in open source FreeImage v.3.19.0 [r1909] allows a local… Also affects freeimage
- CVE-2024-28584 Null Pointer Dereference vulnerability in open source FreeImage v.3.19.0 [r1909] allows a… Also affects freeimage
- CVE-2024-28578 Buffer Overflow vulnerability in open source FreeImage v.3.19.0 [r1909] allows a local… Also affects freeimage
- CVE-2024-28579 Buffer Overflow vulnerability in open source FreeImage v.3.19.0 [r1909] allows a local… Also affects freeimage
- CVE-2024-28580 Buffer Overflow vulnerability in open source FreeImage v.3.19.0 [r1909] allows a local… Also affects freeimage
- CVE-2024-28582 Buffer Overflow vulnerability in open source FreeImage v.3.19.0 [r1909] allows a local… Also affects freeimage