CVE-2018-5815

Source
https://cve.org/CVERecord?id=CVE-2018-5815
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-5815.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2018-5815
Downstream
DEBIAN (1)
MGASA (1)
openSUSE (2)
SUSE (1)
UBUNTU (1)
Related
Published
2018-12-07T22:29:01Z
Modified
2026-07-08T20:04:45Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

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.

Database specific
{
    "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:*:*:*"
            ],
            "extracted_events":  [
                {
                    "introduced":  "14.04"
                },
                {
                    "last_affected":  "14.04"
                },
                {
                    "introduced":  "16.04"
                },
                {
                    "last_affected":  "16.04"
                },
                {
                    "introduced":  "18.04"
                },
                {
                    "last_affected":  "18.04"
                }
            ],
            "source":  "CPE_STRING",
            "vendor_product":  "canonical:ubuntu_linux"
        }
    ]
}
References

Affected packages

Git / github.com/libraw/libraw

Affected ranges

Type
GIT
Repo
https://github.com/libraw/libraw
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
Show details
{
    "cpe":  "cpe:2.3:a:libraw:libraw:*:*:*:*:*:*:*:*",
    "extracted_events":  [
        {
            "introduced":  "0"
        },
        {
            "fixed":  "0.18.12"
        }
    ],
    "source":  [
        "CPE_RANGE",
        "REFERENCES"
    ]
}

Affected versions

0.*
0.12.0
0.13.0
0.13.1
0.13.2
0.13.3
0.13.4
0.13.5
0.13.6
0.14.0
0.14.1
0.14.2
0.14.3
0.14.4
0.14.5
0.14.6
0.15.0
0.16.0
0.17.0
0.18.0
0.18.1
0.18.10
0.18.11
0.18.2
0.18.3
0.18.4
0.18.5
0.18.6
0.18.7
0.18.9

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-5815.json"
vanir_signatures
[
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "332654752014799311762317652767049922768",
            "length":  487
        },
        "id":  "CVE-2018-5815-15c547f1",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/libraw/libraw/commit/1334647862b0c90b2e8cb2f668e66627d9517b17",
        "target":  {
            "file":  "dcraw/dcraw.c",
            "function":  "parse_qt"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "332654752014799311762317652767049922768",
            "length":  487
        },
        "id":  "CVE-2018-5815-3b62e427",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/libraw/libraw/commit/1334647862b0c90b2e8cb2f668e66627d9517b17",
        "target":  {
            "file":  "internal/dcraw_common.cpp",
            "function":  "parse_qt"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "162340819845460020987462871290996818593",
                "273570596699015872851700447841487179902",
                "231276055567181569759474760943651915664",
                "28509251757216518146565145547809995346"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2018-5815-669ffb7a",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/libraw/libraw/commit/1334647862b0c90b2e8cb2f668e66627d9517b17",
        "target":  {
            "file":  "internal/dcraw_common.cpp"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "162340819845460020987462871290996818593",
                "273570596699015872851700447841487179902",
                "231276055567181569759474760943651915664",
                "28509251757216518146565145547809995346"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2018-5815-75b89242",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/libraw/libraw/commit/1334647862b0c90b2e8cb2f668e66627d9517b17",
        "target":  {
            "file":  "dcraw/dcraw.c"
        }
    }
]
vanir_signatures_modified
"2026-07-08T20:04:45Z"