Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2018-5815

An integer overflow error within the "parse_qt()" function (internal/dcraw_common.cpp) in LibRaw versions prior to 0.18.12 can be exploited to trigger an infinite loop via a specially crafted Apple QuickTime file.

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

Source evidence

CVE-2018-5815

core-osv · Original source

Published 7 Dec 2018, 22:29 UTC

An integer overflow error within the "parse_qt()" function (internal/dcraw_common.cpp) in LibRaw versions prior to 0.18.12 can be exploited to trigger an infinite loop via a specially crafted Apple QuickTime file.

osv:CVE-2018-5815
Complete source record
{
  "id": "c7905b6c1782474ffa44d4b0e47de483938bdf92dfbe046bdab61d82654531e1",
  "url": "https://osv.dev/vulnerability/CVE-2018-5815",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2018-5815",
    "summary": "An integer overflow error within the \"parse_qt()\" function (internal/dcraw_common.cpp) in LibRaw versions prior to 0.18.12 can be exploited to trigger an infinite loop via a specially crafted Apple QuickTime file.",
    "evidence": "osv:CVE-2018-5815",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2018-5815",
      "aliases": [
        "CVE-2018-5815"
      ],
      "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/libraw/libraw",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "6c62f2b45c290c25371492bbd7bae431b3cddd48"
                },
                {
                  "fixed": "1334647862b0c90b2e8cb2f668e66627d9517b17"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:libraw:libraw:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "0.18.12"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "1334647862b0c90b2e8cb2f668e66627d9517b17"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "0.18.11",
            "0.18.10",
            "0.18.9",
            "0.18.7",
            "0.18.6",
            "0.18.5",
            "0.18.4",
            "0.18.3",
            "0.18.2",
            "0.18.1",
            "0.18.0",
            "0.17.0",
            "0.16.0",
            "0.15.0",
            "0.14.6",
            "0.14.5",
            "0.14.4",
            "0.14.3",
            "0.14.2",
            "0.14.1",
            "0.14.0",
            "0.13.6",
            "0.13.5",
            "0.13.4",
            "0.13.3",
            "0.13.2",
            "0.13.1",
            "0.13.0",
            "0.12.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-5815.json",
            "vanir_signatures": [
              {
                "id": "CVE-2018-5815-15c547f1",
                "digest": {
                  "length": 487,
                  "function_hash": "332654752014799311762317652767049922768"
                },
                "source": "https://github.com/libraw/libraw/commit/1334647862b0c90b2e8cb2f668e66627d9517b17",
                "target": {
                  "file": "dcraw/dcraw.c",
                  "function": "parse_qt"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2018-5815-3b62e427",
                "digest": {
                  "length": 487,
                  "function_hash": "332654752014799311762317652767049922768"
                },
                "source": "https://github.com/libraw/libraw/commit/1334647862b0c90b2e8cb2f668e66627d9517b17",
                "target": {
                  "file": "internal/dcraw_common.cpp",
                  "function": "parse_qt"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2018-5815-669ffb7a",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "162340819845460020987462871290996818593",
                    "273570596699015872851700447841487179902",
                    "231276055567181569759474760943651915664",
                    "28509251757216518146565145547809995346"
                  ]
                },
                "source": "https://github.com/libraw/libraw/commit/1334647862b0c90b2e8cb2f668e66627d9517b17",
                "target": {
                  "file": "internal/dcraw_common.cpp"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2018-5815-75b89242",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "162340819845460020987462871290996818593",
                    "273570596699015872851700447841487179902",
                    "231276055567181569759474760943651915664",
                    "28509251757216518146565145547809995346"
                  ]
                },
                "source": "https://github.com/libraw/libraw/commit/1334647862b0c90b2e8cb2f668e66627d9517b17",
                "target": {
                  "file": "dcraw/dcraw.c"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-20T13:40:01Z"
          }
        }
      ],
      "modified": "2026-10-20T13:40:01.923502874Z",
      "provider": "osv",
      "references": [
        "https://github.com/LibRaw/LibRaw/blob/master/Changelog.txt",
        "https://secuniaresearch.flexerasoftware.com/secunia_research/2018-14/",
        "https://usn.ubuntu.com/3838-1/",
        "https://secuniaresearch.flexerasoftware.com/advisories/83507/",
        "https://github.com/LibRaw/LibRaw/commit/1334647862b0c90b2e8cb2f668e66627d9517b17"
      ],
      "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: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": "18.04"
                  },
                  {
                    "last_affected": "18.04"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2018-5815",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 387936,
  "published_at": "2018-12-07T22:29:01.613+00:00"
}