Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2018-1152

libjpeg-turbo 1.5.90 is vulnerable to a denial of service vulnerability caused by a divide by zero when processing a crafted BMP image.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2018-1152
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 12:16 UTC · Revision 1

Source evidence

CVE-2018-1152

core-osv · Original source

Published 18 Jun 2018, 14:29 UTC

libjpeg-turbo 1.5.90 is vulnerable to a denial of service vulnerability caused by a divide by zero when processing a crafted BMP image.

osv:CVE-2018-1152
Complete source record
{
  "id": "5162bd927e6a8e9575216e8d61c05f2adec8ad698489c811d643ecf8c6e1e231",
  "url": "https://osv.dev/vulnerability/CVE-2018-1152",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2018-1152",
    "summary": "libjpeg-turbo 1.5.90 is vulnerable to a denial of service vulnerability caused by a divide by zero when processing a crafted BMP image.",
    "evidence": "osv:CVE-2018-1152",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2018-1152",
      "aliases": [
        "CVE-2018-1152"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/libjpeg-turbo/libjpeg-turbo",
              "type": "GIT",
              "events": [
                {
                  "introduced": "c80ddef7a4ce21ace9e3ca0fd190d320cc8cdaeb"
                },
                {
                  "last_affected": "c80ddef7a4ce21ace9e3ca0fd190d320cc8cdaeb"
                },
                {
                  "fixed": "43e84cff1bb2bd8293066f6ac4eb0df61ddddbc6"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:libjpeg-turbo:libjpeg-turbo:1.5.90:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.5.90"
                      },
                      {
                        "last_affected": "1.5.90"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "range": [
                      {
                        "fixed": "43e84cff1bb2bd8293066f6ac4eb0df61ddddbc6"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "1.5.90"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-1152.json",
            "vanir_signatures": [
              {
                "id": "CVE-2018-1152-29506a03",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "129780747376625381667775847119624228235",
                    "227068836745747627774619749071608887311",
                    "34225397560487323254076009200324745625",
                    "106117018631478627825106329696271503556"
                  ]
                },
                "source": "https://github.com/libjpeg-turbo/libjpeg-turbo/commit/43e84cff1bb2bd8293066f6ac4eb0df61ddddbc6",
                "target": {
                  "file": "rdbmp.c"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2018-1152-47a62e9f",
                "digest": {
                  "length": 5452,
                  "function_hash": "184743128116255845782783724918916497301"
                },
                "source": "https://github.com/libjpeg-turbo/libjpeg-turbo/commit/43e84cff1bb2bd8293066f6ac4eb0df61ddddbc6",
                "target": {
                  "file": "rdbmp.c",
                  "function": "start_input_bmp"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-20T13:26:22Z"
          }
        }
      ],
      "modified": "2026-10-20T13:26:22.571654759Z",
      "provider": "osv",
      "references": [
        "https://lists.debian.org/debian-lts-announce/2020/07/msg00033.html",
        "https://lists.debian.org/debian-lts-announce/2019/01/msg00015.html",
        "https://usn.ubuntu.com/3706-1/",
        "https://usn.ubuntu.com/3706-2/",
        "https://www.tenable.com/security/research/tra-2018-17",
        "https://github.com/libjpeg-turbo/libjpeg-turbo/commit/43e84cff1bb2bd8293066f6ac4eb0df61ddddbc6"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:esm:*:*:*",
              "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": "12.04"
                  },
                  {
                    "last_affected": "12.04"
                  },
                  {
                    "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:*:*:*:*:*:*:*"
            ],
            "vendor_product": "debian:debian_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "8.0"
                  },
                  {
                    "last_affected": "8.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2018-1152",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 387678,
  "published_at": "2018-06-18T14:29:00.323+00:00"
}