{"id":"CVE-2021-27815","details":"NULL Pointer Deference in the exif command line tool, when printing out XML formatted EXIF data, in exif v0.6.22 and earlier allows attackers to cause a Denial of Service (DoS) by uploading a malicious JPEG file, causing the application to crash.","modified":"2026-07-09T00:13:23.786812Z","published":"2021-04-14T14:15:13.787Z","database_specific":{"unresolved_ranges":[{"vendor_product":"fedoraproject:fedora","cpes":["cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*","cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*","cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*"],"extracted_events":[{"introduced":"32"},{"last_affected":"32"},{"introduced":"33"},{"last_affected":"33"},{"introduced":"34"},{"last_affected":"34"}],"source":"CPE_STRING"}]},"references":[{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JSWAXZVNXYLV3E4R6YQTEGRGMGWEAR76/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QMC6OTXZRPCUD3LOSWO4ISR7CH7NJQDT/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YZQ3L45F7S7PQPG5HEHXOCGNOO64MJOS/"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/202210-28"},{"type":"FIX","url":"https://github.com/libexif/exif/commit/eb84b0e3c5f2a86013b6fcfb800d187896a648fa"},{"type":"FIX","url":"https://github.com/libexif/exif/commit/f6334d9d32437ef13dc902f0a88a2be0063d9d1c"},{"type":"EVIDENCE","url":"https://github.com/libexif/exif/issues/4"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/libexif/exif","events":[{"introduced":"0"},{"last_affected":"edad134a28caaa7ea324b8c075bde52da05ad7d9"},{"fixed":"eb84b0e3c5f2a86013b6fcfb800d187896a648fa"},{"fixed":"f6334d9d32437ef13dc902f0a88a2be0063d9d1c"}],"database_specific":{"cpe":"cpe:2.3:a:libexif_project:exif:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"last_affected":"0.6.22"}],"source":["CPE_RANGE","REFERENCES"]}}],"versions":["exif-0_6_22-release","cvs-migration","exif-0_6_21-release","exif-0_6_20-release","exif-0_6_19-release","exif-0_6_18-release","exif-0_6_17-release","exif-0_6_15-release","exif-0_6_9-release","exif-0_6-release"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-27815.json","vanir_signatures_modified":"2026-07-09T00:13:23Z","vanir_signatures":[{"target":{"file":"exif/actions.c","function":"escape_xml"},"deprecated":false,"digest":{"function_hash":"117739525872714467810242060778568890977","length":826},"id":"CVE-2021-27815-32de5894","signature_type":"Function","signature_version":"v1","source":"https://github.com/libexif/exif/commit/eb84b0e3c5f2a86013b6fcfb800d187896a648fa"},{"digest":{"function_hash":"66487071761578745178268823097657667458","length":774},"id":"CVE-2021-27815-5a7bcf89","signature_type":"Function","signature_version":"v1","source":"https://github.com/libexif/exif/commit/f6334d9d32437ef13dc902f0a88a2be0063d9d1c","target":{"file":"exif/actions.c","function":"escape_xml"},"deprecated":false},{"source":"https://github.com/libexif/exif/commit/f6334d9d32437ef13dc902f0a88a2be0063d9d1c","target":{"file":"exif/actions.c"},"deprecated":false,"digest":{"line_hashes":["56429957118893573836594359231792757542","236708506390338073920272238376695567027","251815281604461825816962047897251030965"],"threshold":0.9},"id":"CVE-2021-27815-d8c64ba2","signature_type":"Line","signature_version":"v1"},{"deprecated":false,"digest":{"line_hashes":["267985955826095369399255340329894694665","206567539733347984706140851524349779254","161934927561592451764293787085084039009","166523331223495064149312083299725894127"],"threshold":0.9},"id":"CVE-2021-27815-e50fe298","signature_type":"Line","signature_version":"v1","source":"https://github.com/libexif/exif/commit/eb84b0e3c5f2a86013b6fcfb800d187896a648fa","target":{"file":"exif/actions.c"}}]}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"}]}