ubuntu-cve-2025-55212
Vulnerability from osv_ubuntu
Published
2025-08-26 17:15
Modified
2026-04-22 07:56
Summary
Details

ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 6.9.13-28 and 7.1.2-2, passing a geometry string containing only a colon (":") to montage -geometry leads GetGeometry() to set width/height to 0. Later, ThumbnailImage() divides by these zero dimensions, triggering a crash (SIGFPE/abort), resulting in a denial of service. This issue has been patched in versions 6.9.13-28 and 7.1.2-2.


{
  "affected": [
    {
      "ecosystem_specific": {
        "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
        "binaries": [
          {
            "binary_name": "imagemagick",
            "binary_version": "8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm2"
          },
          {
            "binary_name": "imagemagick-6-common",
            "binary_version": "8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm2"
          },
          {
            "binary_name": "imagemagick-6.q16",
            "binary_version": "8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm2"
          },
          {
            "binary_name": "imagemagick-6.q16hdri",
            "binary_version": "8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm2"
          },
          {
            "binary_name": "libimage-magick-perl",
            "binary_version": "8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm2"
          },
          {
            "binary_name": "libimage-magick-q16-perl",
            "binary_version": "8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm2"
          },
          {
            "binary_name": "libimage-magick-q16hdri-perl",
            "binary_version": "8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm2"
          },
          {
            "binary_name": "libmagick++-6-headers",
            "binary_version": "8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm2"
          },
          {
            "binary_name": "libmagick++-6.q16-9t64",
            "binary_version": "8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm2"
          },
          {
            "binary_name": "libmagick++-6.q16hdri-9t64",
            "binary_version": "8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm2"
          },
          {
            "binary_name": "libmagickcore-6-arch-config",
            "binary_version": "8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm2"
          },
          {
            "binary_name": "libmagickcore-6-headers",
            "binary_version": "8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm2"
          },
          {
            "binary_name": "libmagickcore-6.q16-7-extra",
            "binary_version": "8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm2"
          },
          {
            "binary_name": "libmagickcore-6.q16-7t64",
            "binary_version": "8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm2"
          },
          {
            "binary_name": "libmagickcore-6.q16hdri-7-extra",
            "binary_version": "8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm2"
          },
          {
            "binary_name": "libmagickcore-6.q16hdri-7t64",
            "binary_version": "8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm2"
          },
          {
            "binary_name": "libmagickwand-6-headers",
            "binary_version": "8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm2"
          },
          {
            "binary_name": "libmagickwand-6.q16-7t64",
            "binary_version": "8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm2"
          },
          {
            "binary_name": "libmagickwand-6.q16hdri-7t64",
            "binary_version": "8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm2"
          },
          {
            "binary_name": "perlmagick",
            "binary_version": "8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:24.04:LTS",
        "name": "imagemagick",
        "purl": "pkg:deb/ubuntu/imagemagick@8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm2?arch=source\u0026distro=esm-apps/noble"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm2"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "8:6.9.11.60+dfsg-1.6ubuntu1",
        "8:6.9.12.98+dfsg1-5",
        "8:6.9.12.98+dfsg1-5.2build1",
        "8:6.9.12.98+dfsg1-5.2build2",
        "8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm1"
      ]
    }
  ],
  "aliases": [],
  "details": "ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 6.9.13-28 and 7.1.2-2, passing a geometry string containing only a colon (\":\") to montage -geometry leads GetGeometry() to set width/height to 0. Later, ThumbnailImage() divides by these zero dimensions, triggering a crash (SIGFPE/abort), resulting in a denial of service. This issue has been patched in versions 6.9.13-28 and 7.1.2-2.",
  "id": "UBUNTU-CVE-2025-55212",
  "modified": "2026-04-22T07:56:55Z",
  "published": "2025-08-26T17:15:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2025-55212"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2025-55212"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-fh55-q5pj-pxgw"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/ImageMagick/ImageMagick/commit/5f0bcf986b8b5e90567750d31a37af502b73f2af"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/ImageMagick/ImageMagick/commit/43d92bf855155e8e716ecbb50ed94c2ed41ff9f6"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/ImageMagick/ImageMagick6/commit/3482953ef0af1e538cb776162a8d278141e0b9a0"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/ImageMagick/ImageMagick6/commit/5fddcf974342d8e5e02f604bc2297c038e3d4196"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/ImageMagick/ImageMagick/blob/0ba1b587be17543b664f7ad538e9e51e0da59d17/MagickCore/geometry.c#L355"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/ImageMagick/ImageMagick/blob/0ba1b587be17543b664f7ad538e9e51e0da59d17/MagickCore/resize.c#L4625-L4629"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/dlemstra/Magick.NET/releases/tag/14.8.1"
    },
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-7756-1"
    }
  ],
  "related": [
    "USN-7756-1"
  ],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L",
      "type": "CVSS_V3"
    },
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    },
    {
      "score": "medium",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2025-55212"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…