An integer overflow error within the "parseqt()" function (internal/dcrawcommon.cpp) in LibRaw versions prior to 0.18.12 can be exploited to trigger an infinite loop via a specially crafted Apple QuickTime file.
{
"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"
}
]
}{
"cpe": "cpe:2.3:a:libraw:libraw:*:*:*:*:*:*:*:*",
"source": [
"CPE_RANGE",
"REFERENCES"
],
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "0.18.12"
}
]
}[
{
"source": "https://github.com/libraw/libraw/commit/1334647862b0c90b2e8cb2f668e66627d9517b17",
"deprecated": false,
"signature_version": "v1",
"digest": {
"function_hash": "332654752014799311762317652767049922768",
"length": 487.0
},
"id": "CVE-2018-5815-15c547f1",
"signature_type": "Function",
"target": {
"function": "parse_qt",
"file": "dcraw/dcraw.c"
}
},
{
"source": "https://github.com/libraw/libraw/commit/1334647862b0c90b2e8cb2f668e66627d9517b17",
"deprecated": false,
"signature_version": "v1",
"digest": {
"function_hash": "332654752014799311762317652767049922768",
"length": 487.0
},
"id": "CVE-2018-5815-3b62e427",
"signature_type": "Function",
"target": {
"function": "parse_qt",
"file": "internal/dcraw_common.cpp"
}
},
{
"source": "https://github.com/libraw/libraw/commit/1334647862b0c90b2e8cb2f668e66627d9517b17",
"deprecated": false,
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"162340819845460020987462871290996818593",
"273570596699015872851700447841487179902",
"231276055567181569759474760943651915664",
"28509251757216518146565145547809995346"
]
},
"id": "CVE-2018-5815-669ffb7a",
"signature_type": "Line",
"target": {
"file": "internal/dcraw_common.cpp"
}
},
{
"source": "https://github.com/libraw/libraw/commit/1334647862b0c90b2e8cb2f668e66627d9517b17",
"deprecated": false,
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"162340819845460020987462871290996818593",
"273570596699015872851700447841487179902",
"231276055567181569759474760943651915664",
"28509251757216518146565145547809995346"
]
},
"id": "CVE-2018-5815-75b89242",
"signature_type": "Line",
"target": {
"file": "dcraw/dcraw.c"
}
}
]
"2026-07-08T20:04:45Z"
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-5815.json"