{
  "id": "CVE-2026-118752",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-118752",
  "published_at": "2026-10-28T21:11:21.485Z",
  "title": "FreeImage through 3.18.0 and danoli3 fork before 3.19.22 Heap Buffer Overflow via IFF/LBM PBM RLE Decoder",
  "vendor": "danoli3",
  "product": "FreeImage",
  "cvss": {
    "score": 8.5,
    "source": "cna",
    "vector": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-787",
  "cvss_by_source": {
    "cna": 8.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "danoli3",
        "product": "FreeImage",
        "ranges": [
          "\u003c 3.19.22"
        ],
        "fixed_in": [
          "3.19.22"
        ]
      },
      {
        "vendor": "FreeImage",
        "product": "FreeImage",
        "ranges": [
          "\u003c= 3.18.0"
        ],
        "fixed_in": null
      }
    ],
    "upgrade": [
      "Upgrade FreeImage to 3.19.22 or later."
    ],
    "references": [
      {
        "kind": "Patch",
        "url": "https://github.com/danoli3/FreeImage/pull/161"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/danoli3/FreeImage/commit/e1105d3b464b679f0525c6178d9ccf49d55cf712"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/danoli3/FreeImage/commit/cf173c16354274dc8fb739dc395fc7f32efe7d45"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/danoli3/FreeImage/releases/tag/3.19.22"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/danoli3/FreeImage/pull/244"
      },
      {
        "kind": "Patch",
        "url": "https://sourceforge.net/p/freeimage/patches/198/"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
