ubuntu-cve-2026-25794
Vulnerability from osv_ubuntu
Published
2026-02-24 01:16
Modified
2026-06-30 16:19
Summary
Details

ImageMagick is free and open-source software used for editing and manipulating digital images. WriteUHDRImage in coders/uhdr.c uses int arithmetic to compute the pixel buffer size. Prior to version 7.1.2-15, when image dimensions are large, the multiplication overflows 32-bit int, causing an undersized heap allocation followed by an out-of-bounds write. This can crash the process or potentially lead to an out of bounds heap write. Version 7.1.2-15 contains a patch.


{
  "affected": [
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "imagemagick",
            "binary_version": "8:7.1.2.3+dfsg1-1ubuntu0.1"
          },
          {
            "binary_name": "imagemagick-7-common",
            "binary_version": "8:7.1.2.3+dfsg1-1ubuntu0.1"
          },
          {
            "binary_name": "imagemagick-7.q16",
            "binary_version": "8:7.1.2.3+dfsg1-1ubuntu0.1"
          },
          {
            "binary_name": "imagemagick-7.q16hdri",
            "binary_version": "8:7.1.2.3+dfsg1-1ubuntu0.1"
          },
          {
            "binary_name": "libimage-magick-perl",
            "binary_version": "8:7.1.2.3+dfsg1-1ubuntu0.1"
          },
          {
            "binary_name": "libimage-magick-q16-perl",
            "binary_version": "8:7.1.2.3+dfsg1-1ubuntu0.1"
          },
          {
            "binary_name": "libimage-magick-q16hdri-perl",
            "binary_version": "8:7.1.2.3+dfsg1-1ubuntu0.1"
          },
          {
            "binary_name": "libmagick++-7-headers",
            "binary_version": "8:7.1.2.3+dfsg1-1ubuntu0.1"
          },
          {
            "binary_name": "libmagick++-7.q16-5",
            "binary_version": "8:7.1.2.3+dfsg1-1ubuntu0.1"
          },
          {
            "binary_name": "libmagick++-7.q16hdri-5",
            "binary_version": "8:7.1.2.3+dfsg1-1ubuntu0.1"
          },
          {
            "binary_name": "libmagickcore-7-arch-config",
            "binary_version": "8:7.1.2.3+dfsg1-1ubuntu0.1"
          },
          {
            "binary_name": "libmagickcore-7-headers",
            "binary_version": "8:7.1.2.3+dfsg1-1ubuntu0.1"
          },
          {
            "binary_name": "libmagickcore-7.q16-10",
            "binary_version": "8:7.1.2.3+dfsg1-1ubuntu0.1"
          },
          {
            "binary_name": "libmagickcore-7.q16-10-extra",
            "binary_version": "8:7.1.2.3+dfsg1-1ubuntu0.1"
          },
          {
            "binary_name": "libmagickcore-7.q16hdri-10",
            "binary_version": "8:7.1.2.3+dfsg1-1ubuntu0.1"
          },
          {
            "binary_name": "libmagickcore-7.q16hdri-10-extra",
            "binary_version": "8:7.1.2.3+dfsg1-1ubuntu0.1"
          },
          {
            "binary_name": "libmagickwand-7-headers",
            "binary_version": "8:7.1.2.3+dfsg1-1ubuntu0.1"
          },
          {
            "binary_name": "libmagickwand-7.q16-10",
            "binary_version": "8:7.1.2.3+dfsg1-1ubuntu0.1"
          },
          {
            "binary_name": "libmagickwand-7.q16hdri-10",
            "binary_version": "8:7.1.2.3+dfsg1-1ubuntu0.1"
          },
          {
            "binary_name": "perlmagick",
            "binary_version": "8:7.1.2.3+dfsg1-1ubuntu0.1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:25.10",
        "name": "imagemagick",
        "purl": "pkg:deb/ubuntu/imagemagick@8:7.1.2.3+dfsg1-1ubuntu0.1?arch=source\u0026distro=questing"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "8:7.1.2.3+dfsg1-1ubuntu0.1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "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"
      ]
    }
  ],
  "aliases": [],
  "details": "ImageMagick is free and open-source software used for editing and manipulating digital images. `WriteUHDRImage` in `coders/uhdr.c` uses `int` arithmetic to compute the pixel buffer size. Prior to version 7.1.2-15, when image dimensions are large, the multiplication overflows 32-bit `int`, causing an undersized heap allocation followed by an out-of-bounds write. This can crash the process or potentially lead to an out of bounds heap write. Version 7.1.2-15 contains a patch.",
  "id": "UBUNTU-CVE-2026-25794",
  "modified": "2026-06-30T16:19:39Z",
  "published": "2026-02-24T01:16:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2026-25794"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2026-25794"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-vhqj-f5cj-9x8h"
    },
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-8263-1"
    }
  ],
  "related": [
    "USN-8263-1"
  ],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H",
      "type": "CVSS_V3"
    },
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H",
      "type": "CVSS_V3"
    },
    {
      "score": "medium",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2026-25794"
  ]
}



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…