GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

OESA-2026-3656 (CVE-2026-77118)

Vulnerability from osv_openeuler – Published: 2026-09-05 15:03 – Updated: 2026-09-05 15:03 – Source website
VLAI
Summary
GraphicsMagick security update
Details

GraphicsMagick is a comprehensive image processing package which is initially based on ImageMagick 5.5.2, but which has undergone significant re-work by the GraphicsMagick Group to significantly improve the quality and performance of the software.

Security Fix(es):

A heap out-of-bounds write exists in the Photo CD (PCD) decoder of GraphicsMagick. In DecodeImage() (coders/pcd.c), the Huffman delta loop advances its output pointer with q++ after every decoded delta and never checks it against the end of the heap-allocated luma/chroma plane buffers. The pointer is repositioned only when a sync marker introduces a new plane/row; between sync markers the run length is bounded solely by the input. A crafted PCD file that positions the pointer near the end of a plane and then supplies a long run of deltas with no intervening sync therefore walks the pointer past the end of the allocation and writes through it. Processing an untrusted PCD file — for example with gm convert or gm identify, or through any application linked against libGraphicsMagick — can corrupt heap memory beyond the buffers.(CVE-2026-77118)


{
  "affected": [
    {
      "ecosystem_specific": {
        "aarch64": [
          "GraphicsMagick-1.3.41-4.oe2003sp4.aarch64.rpm",
          "GraphicsMagick-c++-1.3.41-4.oe2003sp4.aarch64.rpm",
          "GraphicsMagick-c++-devel-1.3.41-4.oe2003sp4.aarch64.rpm",
          "GraphicsMagick-debuginfo-1.3.41-4.oe2003sp4.aarch64.rpm",
          "GraphicsMagick-debugsource-1.3.41-4.oe2003sp4.aarch64.rpm",
          "GraphicsMagick-devel-1.3.41-4.oe2003sp4.aarch64.rpm",
          "GraphicsMagick-perl-1.3.41-4.oe2003sp4.aarch64.rpm"
        ],
        "noarch": [
          "GraphicsMagick-help-1.3.41-4.oe2003sp4.noarch.rpm"
        ],
        "src": [
          "GraphicsMagick-1.3.41-4.oe2003sp4.src.rpm"
        ],
        "x86_64": [
          "GraphicsMagick-1.3.41-4.oe2003sp4.x86_64.rpm",
          "GraphicsMagick-c++-1.3.41-4.oe2003sp4.x86_64.rpm",
          "GraphicsMagick-c++-devel-1.3.41-4.oe2003sp4.x86_64.rpm",
          "GraphicsMagick-debuginfo-1.3.41-4.oe2003sp4.x86_64.rpm",
          "GraphicsMagick-debugsource-1.3.41-4.oe2003sp4.x86_64.rpm",
          "GraphicsMagick-devel-1.3.41-4.oe2003sp4.x86_64.rpm",
          "GraphicsMagick-perl-1.3.41-4.oe2003sp4.x86_64.rpm"
        ]
      },
      "package": {
        "ecosystem": "openEuler:20.03-LTS-SP4",
        "name": "GraphicsMagick",
        "purl": "pkg:rpm/openEuler/GraphicsMagick\u0026distro=openEuler-20.03-LTS-SP4"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.3.41-4.oe2003sp4"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    },
    {
      "ecosystem_specific": {
        "aarch64": [
          "GraphicsMagick-1.3.41-4.oe2203sp4.aarch64.rpm",
          "GraphicsMagick-c++-1.3.41-4.oe2203sp4.aarch64.rpm",
          "GraphicsMagick-c++-devel-1.3.41-4.oe2203sp4.aarch64.rpm",
          "GraphicsMagick-debuginfo-1.3.41-4.oe2203sp4.aarch64.rpm",
          "GraphicsMagick-debugsource-1.3.41-4.oe2203sp4.aarch64.rpm",
          "GraphicsMagick-devel-1.3.41-4.oe2203sp4.aarch64.rpm",
          "GraphicsMagick-perl-1.3.41-4.oe2203sp4.aarch64.rpm"
        ],
        "noarch": [
          "GraphicsMagick-help-1.3.41-4.oe2203sp4.noarch.rpm"
        ],
        "src": [
          "GraphicsMagick-1.3.41-4.oe2203sp4.src.rpm"
        ],
        "x86_64": [
          "GraphicsMagick-1.3.41-4.oe2203sp4.x86_64.rpm",
          "GraphicsMagick-c++-1.3.41-4.oe2203sp4.x86_64.rpm",
          "GraphicsMagick-c++-devel-1.3.41-4.oe2203sp4.x86_64.rpm",
          "GraphicsMagick-debuginfo-1.3.41-4.oe2203sp4.x86_64.rpm",
          "GraphicsMagick-debugsource-1.3.41-4.oe2203sp4.x86_64.rpm",
          "GraphicsMagick-devel-1.3.41-4.oe2203sp4.x86_64.rpm",
          "GraphicsMagick-perl-1.3.41-4.oe2203sp4.x86_64.rpm"
        ]
      },
      "package": {
        "ecosystem": "openEuler:22.03-LTS-SP4",
        "name": "GraphicsMagick",
        "purl": "pkg:rpm/openEuler/GraphicsMagick\u0026distro=openEuler-22.03-LTS-SP4"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.3.41-4.oe2203sp4"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    },
    {
      "ecosystem_specific": {
        "aarch64": [
          "GraphicsMagick-1.3.41-4.oe2403sp1.aarch64.rpm",
          "GraphicsMagick-c++-1.3.41-4.oe2403sp1.aarch64.rpm",
          "GraphicsMagick-c++-devel-1.3.41-4.oe2403sp1.aarch64.rpm",
          "GraphicsMagick-debuginfo-1.3.41-4.oe2403sp1.aarch64.rpm",
          "GraphicsMagick-debugsource-1.3.41-4.oe2403sp1.aarch64.rpm",
          "GraphicsMagick-devel-1.3.41-4.oe2403sp1.aarch64.rpm",
          "GraphicsMagick-perl-1.3.41-4.oe2403sp1.aarch64.rpm"
        ],
        "noarch": [
          "GraphicsMagick-help-1.3.41-4.oe2403sp1.noarch.rpm"
        ],
        "src": [
          "GraphicsMagick-1.3.41-4.oe2403sp1.src.rpm"
        ],
        "x86_64": [
          "GraphicsMagick-1.3.41-4.oe2403sp1.x86_64.rpm",
          "GraphicsMagick-c++-1.3.41-4.oe2403sp1.x86_64.rpm",
          "GraphicsMagick-c++-devel-1.3.41-4.oe2403sp1.x86_64.rpm",
          "GraphicsMagick-debuginfo-1.3.41-4.oe2403sp1.x86_64.rpm",
          "GraphicsMagick-debugsource-1.3.41-4.oe2403sp1.x86_64.rpm",
          "GraphicsMagick-devel-1.3.41-4.oe2403sp1.x86_64.rpm",
          "GraphicsMagick-perl-1.3.41-4.oe2403sp1.x86_64.rpm"
        ]
      },
      "package": {
        "ecosystem": "openEuler:24.03-LTS-SP1",
        "name": "GraphicsMagick",
        "purl": "pkg:rpm/openEuler/GraphicsMagick\u0026distro=openEuler-24.03-LTS-SP1"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.3.41-4.oe2403sp1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    },
    {
      "ecosystem_specific": {
        "aarch64": [
          "GraphicsMagick-1.3.41-4.oe2403sp3.aarch64.rpm",
          "GraphicsMagick-c++-1.3.41-4.oe2403sp3.aarch64.rpm",
          "GraphicsMagick-c++-devel-1.3.41-4.oe2403sp3.aarch64.rpm",
          "GraphicsMagick-debuginfo-1.3.41-4.oe2403sp3.aarch64.rpm",
          "GraphicsMagick-debugsource-1.3.41-4.oe2403sp3.aarch64.rpm",
          "GraphicsMagick-devel-1.3.41-4.oe2403sp3.aarch64.rpm",
          "GraphicsMagick-perl-1.3.41-4.oe2403sp3.aarch64.rpm"
        ],
        "noarch": [
          "GraphicsMagick-help-1.3.41-4.oe2403sp3.noarch.rpm"
        ],
        "src": [
          "GraphicsMagick-1.3.41-4.oe2403sp3.src.rpm"
        ],
        "x86_64": [
          "GraphicsMagick-1.3.41-4.oe2403sp3.x86_64.rpm",
          "GraphicsMagick-c++-1.3.41-4.oe2403sp3.x86_64.rpm",
          "GraphicsMagick-c++-devel-1.3.41-4.oe2403sp3.x86_64.rpm",
          "GraphicsMagick-debuginfo-1.3.41-4.oe2403sp3.x86_64.rpm",
          "GraphicsMagick-debugsource-1.3.41-4.oe2403sp3.x86_64.rpm",
          "GraphicsMagick-devel-1.3.41-4.oe2403sp3.x86_64.rpm",
          "GraphicsMagick-perl-1.3.41-4.oe2403sp3.x86_64.rpm"
        ]
      },
      "package": {
        "ecosystem": "openEuler:24.03-LTS-SP3",
        "name": "GraphicsMagick",
        "purl": "pkg:rpm/openEuler/GraphicsMagick\u0026distro=openEuler-24.03-LTS-SP3"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.3.41-4.oe2403sp3"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    },
    {
      "ecosystem_specific": {
        "aarch64": [
          "GraphicsMagick-1.3.47-2.oe2403sp4.aarch64.rpm",
          "GraphicsMagick-c++-1.3.47-2.oe2403sp4.aarch64.rpm",
          "GraphicsMagick-c++-devel-1.3.47-2.oe2403sp4.aarch64.rpm",
          "GraphicsMagick-debuginfo-1.3.47-2.oe2403sp4.aarch64.rpm",
          "GraphicsMagick-debugsource-1.3.47-2.oe2403sp4.aarch64.rpm",
          "GraphicsMagick-devel-1.3.47-2.oe2403sp4.aarch64.rpm",
          "GraphicsMagick-perl-1.3.47-2.oe2403sp4.aarch64.rpm"
        ],
        "noarch": [
          "GraphicsMagick-help-1.3.47-2.oe2403sp4.noarch.rpm"
        ],
        "src": [
          "GraphicsMagick-1.3.47-2.oe2403sp4.src.rpm"
        ],
        "x86_64": [
          "GraphicsMagick-1.3.47-2.oe2403sp4.x86_64.rpm",
          "GraphicsMagick-c++-1.3.47-2.oe2403sp4.x86_64.rpm",
          "GraphicsMagick-c++-devel-1.3.47-2.oe2403sp4.x86_64.rpm",
          "GraphicsMagick-debuginfo-1.3.47-2.oe2403sp4.x86_64.rpm",
          "GraphicsMagick-debugsource-1.3.47-2.oe2403sp4.x86_64.rpm",
          "GraphicsMagick-devel-1.3.47-2.oe2403sp4.x86_64.rpm",
          "GraphicsMagick-perl-1.3.47-2.oe2403sp4.x86_64.rpm"
        ]
      },
      "package": {
        "ecosystem": "openEuler:24.03-LTS-SP4",
        "name": "GraphicsMagick",
        "purl": "pkg:rpm/openEuler/GraphicsMagick\u0026distro=openEuler-24.03-LTS-SP4"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.3.47-2.oe2403sp4"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "severity": "High"
  },
  "details": "GraphicsMagick is a comprehensive image processing package which is initially based on ImageMagick 5.5.2, but which has undergone significant re-work by the GraphicsMagick Group to significantly improve the quality and performance of the software.\r\n\r\nSecurity Fix(es):\n\nA heap out-of-bounds write exists in the Photo CD (PCD) decoder of GraphicsMagick. In DecodeImage() (coders/pcd.c), the Huffman delta loop advances its output pointer with q++ after every decoded delta and never checks it against the end of the heap-allocated luma/chroma plane buffers. The pointer is repositioned only when a sync marker introduces a new plane/row; between sync markers the run length is bounded solely by the input. A crafted PCD file that positions the pointer near the end of a plane and then supplies a long run of deltas with no intervening sync therefore walks the pointer past the end of the allocation and writes through it. Processing an untrusted PCD file \u2014 for example with gm convert or gm identify, or through any application linked against libGraphicsMagick \u2014 can corrupt heap memory beyond the buffers.(CVE-2026-77118)",
  "id": "OESA-2026-3656",
  "modified": "2026-09-05T15:03:35Z",
  "published": "2026-09-05T15:03:35Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://www.openeuler.org/zh/security/security-bulletins/detail/?id=openEuler-SA-2026-3656"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-77118"
    }
  ],
  "schema_version": "1.7.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X",
      "type": "CVSS_V4"
    }
  ],
  "summary": "GraphicsMagick security update",
  "upstream": [
    "CVE-2026-77118"
  ]
}



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…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…