{
  "id": "CVE-2026-22770",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-22770",
  "published_at": "2026-01-20T00:48:19.241Z",
  "title": "ImageMagick vulnerable to Release of Invalid Pointer in BilateralBlur when memory allocation fails",
  "vendor": "ImageMagick",
  "product": "ImageMagick",
  "cvss": {
    "score": 9.8,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
  },
  "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": "ImageMagick is free and open-source software used for editing and manipulating digital images. The BilateralBlurImage method will allocate a set of double buffers inside AcquireBilateralTLS. But, in versions prior to 7.1.2-13, the last element in the set is not properly initialized. This will result in a release of an invalid pointer inside DestroyBilateralTLS when the memory allocation fails. Version 7.1.2-13 contains a patch for the issue.",
  "cwe": "CWE-763",
  "cpes": [
    "cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 6.5,
    "nvd": 9.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "ImageMagick",
        "product": "ImageMagick",
        "ranges": [
          "\u003c 7.1.2-13"
        ],
        "fixed_in": [
          "7.1.2-13"
        ]
      }
    ],
    "upgrade": [
      "Upgrade ImageMagick to 7.1.2-13 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-39h3-g67r-7g3c"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/ImageMagick/ImageMagick/commit/3e0330721020e0c5bb52e4b77c347527dd71658e"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
