p PatchFirst

CVE-2026-22770

CVE-2026-22770 · ImageMagick vulnerable to Release of Invalid Pointer in BilateralBlur when memory allocation fails

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 6.5 · Medium · EPSS 0.4% · Fix available

Published
Updated

Stack: system

Affected products and versions

  • imagemagick

    Versions
    • < 7.1.2-13: Affected

    No fix published

  • imagemagick Debian:13

    Versions
    • 8:7.1.1.43+dfsg1-1
    • 8:7.1.1.43+dfsg1-1+deb13u1
    • 8:7.1.1.43+dfsg1-1+deb13u2
    • 8:7.1.1.43+dfsg1-1+deb13u3
    • 8:7.1.1.43+dfsg1-1+deb13u4
    Affected ranges
    • ECOSYSTEM: < 8:7.1.1.43+dfsg1-1+deb13u5

    Update to 8:7.1.1.43+dfsg1-1+deb13u5

  • imagemagick Debian:14

    Versions
    • 8:7.1.1.43+dfsg1-1
    • 8:7.1.1.46+dfsg1-1
    • 8:7.1.1.47+dfsg1-1
    • 8:7.1.1.47+dfsg1-2
    • 8:7.1.2.1+dfsg1-1
    • 8:7.1.2.12+dfsg1-1
    • 8:7.1.2.3+dfsg1-1
    • 8:7.1.2.7+dfsg1-1
    • 8:7.1.2.8+dfsg1-1
    Affected ranges
    • ECOSYSTEM: < 8:7.1.2.13+dfsg1-1

    Update to 8:7.1.2.13+dfsg1-1

  • imagemagick Ubuntu:25.10

    Versions
    • 8:7.1.1.43+dfsg1-1
    • 8:7.1.1.43+dfsg1-1ubuntu1
    • 8:7.1.1.43+dfsg1-1ubuntu2
    • 8:7.1.2.3+dfsg1-1
    • 8:7.1.2.3+dfsg1-1ubuntu0.1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →