{"schema_version":"1.7.5","id":"CVE-2020-24870","published":"2021-06-02T16:15:08.287Z","modified":"2026-07-08T16:28:12.870572Z","related":["ALSA-2021:4381"],"details":"Libraw before 0.20.1 has a stack buffer overflow via LibRaw::identify_process_dng_fields in identify.cpp.","affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/libraw/libraw","events":[{"introduced":"0"},{"fixed":"95d5f1616d7df552fba853ea91ff1d6fc00feb6c"},{"fixed":"4feaed4dea636cee4fee010f615881ccf76a096d"}],"database_specific":{"cpe":"cpe:2.3:a:libraw:libraw:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"0.20.1"}],"source":["CPE_RANGE","REFERENCES"]}}],"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":[{"deprecated":false,"digest":{"line_hashes":["127369863400399030445089453515086710742","143352257161882419934463851685344218790","149081386631648574687993847631526607820","90571716103714361609775829094938631250","64212602395394805498333815964493822952","246029732494002346913498674344628261452","336613780886055486036551309628972026859","80819173922190116192470406883009366994","83650079410275834961759166175003361250","72611878404799344344766699135947092279","184054827936135119807788380588696604905","159345781273529265670087347869271034565","46668523762482181852934340781690791223","30895639349609606990868918680604187306","193962300235662687148425839430341672206","248672851197025629570687067468774085258","323324160718181615062772601288014836379","290007040198435070387284445091957484722","201019683317171841142185943256224757142"],"threshold":0.9},"id":"CVE-2020-24870-31872964","signature_type":"Line","signature_version":"v1","source":"https://github.com/libraw/libraw/commit/4feaed4dea636cee4fee010f615881ccf76a096d","target":{"file":"src/metadata/identify.cpp"}},{"deprecated":false,"digest":{"function_hash":"94799694404746039246306392899922980268","length":10660},"id":"CVE-2020-24870-3f6d4e07","signature_type":"Function","signature_version":"v1","source":"https://github.com/libraw/libraw/commit/4feaed4dea636cee4fee010f615881ccf76a096d","target":{"file":"src/metadata/identify.cpp","function":"LibRaw::identify_process_dng_fields"}}],"vanir_signatures_modified":"2026-07-08T16:28:12Z"}}],"references":[{"type":"ADVISORY","url":"https://github.com/LibRaw/LibRaw/issues/330"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/202208-07"},{"type":"FIX","url":"https://github.com/LibRaw/LibRaw/commit/4feaed4dea636cee4fee010f615881ccf76a096d"}],"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}