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": [
{
"source": "CPE_FIELD",
"cpe": "cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*",
"extracted_events": [
{
"last_affected": "14.04"
}
]
},
{
"source": "CPE_FIELD",
"cpe": "cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*",
"extracted_events": [
{
"last_affected": "16.04"
}
]
},
{
"source": "CPE_FIELD",
"cpe": "cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*",
"extracted_events": [
{
"last_affected": "18.04"
}
]
}
]
}{
"source": [
"CPE_FIELD",
"REFERENCES"
],
"cpe": "cpe:2.3:a:libraw:libraw:*:*:*:*:*:*:*:*",
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "0.18.12"
}
]
}"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2018-5815.json"
"2026-04-11T21:32:52Z"
[
{
"source": "https://github.com/libraw/libraw/commit/1334647862b0c90b2e8cb2f668e66627d9517b17",
"digest": {
"function_hash": "332654752014799311762317652767049922768",
"length": 487.0
},
"signature_type": "Function",
"signature_version": "v1",
"target": {
"function": "parse_qt",
"file": "dcraw/dcraw.c"
},
"deprecated": false,
"id": "CVE-2018-5815-15c547f1"
},
{
"source": "https://github.com/libraw/libraw/commit/1334647862b0c90b2e8cb2f668e66627d9517b17",
"digest": {
"length": 487.0,
"function_hash": "332654752014799311762317652767049922768"
},
"deprecated": false,
"signature_version": "v1",
"target": {
"function": "parse_qt",
"file": "internal/dcraw_common.cpp"
},
"id": "CVE-2018-5815-3b62e427",
"signature_type": "Function"
},
{
"source": "https://github.com/libraw/libraw/commit/1334647862b0c90b2e8cb2f668e66627d9517b17",
"digest": {
"line_hashes": [
"162340819845460020987462871290996818593",
"273570596699015872851700447841487179902",
"231276055567181569759474760943651915664",
"28509251757216518146565145547809995346"
],
"threshold": 0.9
},
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "internal/dcraw_common.cpp"
},
"id": "CVE-2018-5815-669ffb7a",
"signature_type": "Line"
},
{
"source": "https://github.com/libraw/libraw/commit/1334647862b0c90b2e8cb2f668e66627d9517b17",
"digest": {
"line_hashes": [
"162340819845460020987462871290996818593",
"273570596699015872851700447841487179902",
"231276055567181569759474760943651915664",
"28509251757216518146565145547809995346"
],
"threshold": 0.9
},
"signature_type": "Line",
"signature_version": "v1",
"target": {
"file": "dcraw/dcraw.c"
},
"deprecated": false,
"id": "CVE-2018-5815-75b89242"
}
]