Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2018-5248

In ImageMagick 7.0.7-17 Q16, there is a heap-based buffer over-read in coders/sixel.c in the ReadSIXELImage function, related to the sixel_decode function.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2018-5248
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 08:43 UTC · Revision 1

Source evidence

CVE-2018-5248

core-osv · Original source

Published 5 Jan 2018, 19:29 UTC

In ImageMagick 7.0.7-17 Q16, there is a heap-based buffer over-read in coders/sixel.c in the ReadSIXELImage function, related to the sixel_decode function.

osv:CVE-2018-5248
Complete source record
{
  "id": "58e20da3405e8692c828bf38f1363bd6cedd0248cc9a40527e4d184270d400be",
  "url": "https://osv.dev/vulnerability/CVE-2018-5248",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2018-5248",
    "summary": "In ImageMagick 7.0.7-17 Q16, there is a heap-based buffer over-read in coders/sixel.c in the ReadSIXELImage function, related to the sixel_decode function.",
    "evidence": "osv:CVE-2018-5248",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2018-5248",
      "aliases": [
        "CVE-2018-5248"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/imagemagick/imagemagick",
              "type": "GIT",
              "events": [
                {
                  "introduced": "c9d4c4ecd1f7fb5168e512a0ba183b4bf8b47ce3"
                },
                {
                  "last_affected": "c9d4c4ecd1f7fb5168e512a0ba183b4bf8b47ce3"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:imagemagick:imagemagick:7.0.7-17:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "7.0.7-17"
                      },
                      {
                        "last_affected": "7.0.7-17"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "7.0.7-17"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-5248.json"
          }
        }
      ],
      "modified": "2026-10-24T10:49:41.358835803Z",
      "provider": "osv",
      "references": [
        "https://usn.ubuntu.com/3681-1/",
        "https://www.debian.org/security/2018/dsa-4204",
        "https://www.debian.org/security/2018/dsa-4245",
        "https://github.com/ImageMagick/ImageMagick/issues/927"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*",
              "cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*",
              "cpe:2.3:o:canonical:ubuntu_linux:17.10:*:*:*:*:*:*:*",
              "cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*"
            ],
            "vendor_product": "canonical:ubuntu_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "14.04"
                  },
                  {
                    "last_affected": "14.04"
                  },
                  {
                    "introduced": "16.04"
                  },
                  {
                    "last_affected": "16.04"
                  },
                  {
                    "introduced": "17.10"
                  },
                  {
                    "last_affected": "17.10"
                  },
                  {
                    "introduced": "18.04"
                  },
                  {
                    "last_affected": "18.04"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*",
              "cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "debian:debian_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "8.0"
                  },
                  {
                    "last_affected": "8.0"
                  },
                  {
                    "introduced": "9.0"
                  },
                  {
                    "last_affected": "9.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:a:imagemagick:imagemagick:7.0.7-17:*:*:*:*:*:*:*"
            ],
            "vendor_product": "imagemagick:imagemagick",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "7.0.7-17"
                  },
                  {
                    "last_affected": "7.0.7-17"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2018-5248",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 441795,
  "published_at": "2018-01-05T19:29:00.403+00:00"
}