SecurityContext

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

IdName
CWE-787Out-of-bounds Write

References

Same in every row:

  • Source: nvd
  • Tags:
Url
https://github.com/danoli3/FreeImage
https://github.com/danoli3/FreeImage/blob/3.19.21/Source/FreeImage/PluginIFF.cpp#L296-L324
https://github.com/danoli3/FreeImage/commit/cf173c16354274dc8fb739dc395fc7f32efe7d45
https://github.com/danoli3/FreeImage/commit/e1105d3b464b679f0525c6178d9ccf49d55cf712
https://github.com/danoli3/FreeImage/issues/156
https://github.com/danoli3/FreeImage/pull/161
https://github.com/danoli3/FreeImage/pull/244
https://github.com/danoli3/FreeImage/releases/tag/3.19.22
https://sourceforge.net/p/freeimage/patches/198/
https://sourceforge.net/projects/freeimage/

Products

ProductAffectedPlatform boundSourcesUrl
freeimage_project:freeimage<= 3.18.0nocna/v1/products/freeimage_project/freeimage

Projects

RepositoryLink kindsIndexedUrl
danoli3/FreeImagecommit, issues, pull, releasesyes/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