High
Security advisory
Libraw before 0.20.1 has a stack buffer overflow via LibRaw::identify_process_dng_fields in identify.cpp.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2020-24870
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 12:38 UTC · Revision 1
Source evidence
Libraw before 0.20.1 has a stack buffer overflow via LibRaw::identify_process_dng_fields in identify.cpp.
osv:CVE-2020-24870
Complete source record
{
"id": "c79faaca42da6ecf4b2e72dcfdf96d631b71552fa3342371cfec09197949bd4d",
"url": "https://osv.dev/vulnerability/CVE-2020-24870",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2020-24870",
"summary": "Libraw before 0.20.1 has a stack buffer overflow via LibRaw::identify_process_dng_fields in identify.cpp.",
"evidence": "osv:CVE-2020-24870",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2020-24870",
"aliases": [
"CVE-2020-24870"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/libraw/libraw",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "95d5f1616d7df552fba853ea91ff1d6fc00feb6c"
},
{
"fixed": "4feaed4dea636cee4fee010f615881ccf76a096d"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:libraw:libraw:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "0.20.1"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "4feaed4dea636cee4fee010f615881ccf76a096d"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"0.20.0",
"0.20-RC2",
"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-2020-24870.json",
"vanir_signatures": [
{
"id": "CVE-2020-24870-31872964",
"digest": {
"threshold": 0.9,
"line_hashes": [
"127369863400399030445089453515086710742",
"143352257161882419934463851685344218790",
"149081386631648574687993847631526607820",
"90571716103714361609775829094938631250",
"64212602395394805498333815964493822952",
"246029732494002346913498674344628261452",
"336613780886055486036551309628972026859",
"80819173922190116192470406883009366994",
"83650079410275834961759166175003361250",
"72611878404799344344766699135947092279",
"184054827936135119807788380588696604905",
"159345781273529265670087347869271034565",
"46668523762482181852934340781690791223",
"30895639349609606990868918680604187306",
"193962300235662687148425839430341672206",
"248672851197025629570687067468774085258",
"323324160718181615062772601288014836379",
"290007040198435070387284445091957484722",
"201019683317171841142185943256224757142"
]
},
"source": "https://github.com/libraw/libraw/commit/4feaed4dea636cee4fee010f615881ccf76a096d",
"target": {
"file": "src/metadata/identify.cpp"
},
"deprecated": false,
"signature_type": "Line",
"signature_version": "v1"
},
{
"id": "CVE-2020-24870-3f6d4e07",
"digest": {
"length": 10660,
"function_hash": "94799694404746039246306392899922980268"
},
"source": "https://github.com/libraw/libraw/commit/4feaed4dea636cee4fee010f615881ccf76a096d",
"target": {
"file": "src/metadata/identify.cpp",
"function": "LibRaw::identify_process_dng_fields"
},
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1"
}
],
"vanir_signatures_modified": "2026-10-20T14:10:35Z"
}
}
],
"modified": "2026-10-20T14:10:35.830849584Z",
"provider": "osv",
"references": [
"https://github.com/LibRaw/LibRaw/issues/330",
"https://security.gentoo.org/glsa/202208-07",
"https://github.com/LibRaw/LibRaw/commit/4feaed4dea636cee4fee010f615881ccf76a096d"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2020-24870",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 388628,
"published_at": "2021-06-02T16:15:08.287+00:00"
}