CVE-2026-118752: FreeImage - Buffer Overflow
- Cve: CVE-2026-118752
- Name: FreeImage - Buffer Overflow
- Description: FreeImage through 3.18.0 and the danoli3 FreeImage fork before 3.19.22 contain a heap buffer overflow vulnerability in the PBM RLE decoder of PluginIFF.cpp that lacks bounds checks on ByteRun1 runs. Attackers can supply a crafted IFF/LBM PBM file with runs straddling scanline ends to write up to 127 controlled bytes past the heap-allocated bitmap.
- Impact: Attackers can write up to 127 bytes beyond heap buffer, potentially leading to code execution or application crash.
- Remediation: Update to version 3.19.22 or later.
- Vulnerability type: buffer_overflow
- Vulnerability impact: remote_code_execution, denial_of_service
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.8
- Cvss vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Epss score: 0.00282
- Epss percentile: 0.20828
- Assignee: [email protected]
- Published at: 2026-10-28T22:17:13Z
- Age in days: 27
- Modified at: 2026-11-05T17:17:55Z
- References total: 11
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-118752
- Nvd status: deferred
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-787 | Out-of-bounds Write |
References
Same in every row:
- Source: nvd
- Tags:
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| freeimage_project:freeimage | <= 3.18.0 | no | cna | /v1/products/freeimage_project/freeimage |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| danoli3/FreeImage | commit, issues, pull, releases | yes | /v1/repositories/danoli3/FreeImage |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts