{"schemaVersion":3,"id":"CVE-2021-27815","aliases":["MGASA-2021-0252","UBUNTU-CVE-2021-27815","DEBIAN-CVE-2021-27815"],"status":"published","duplicateOf":null,"title":null,"description":"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.","dates":{"published":"2021-04-14T00:00:00.000Z","modified":"2024-08-03T21:33:15.890Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.5,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":5.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","exploitability":4.6,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":5.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","exploitability":4.6,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":4.3,"severity":"medium","vector":"AV:N/AC:M/Au:N/C:N/I:N/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.01268,"percentile":0.69383,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.01268},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01268,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01268,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01268,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01268,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01268,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01268,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01268,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01268,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01268,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01268,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01268,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01268,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01268,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01268,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01268,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01268,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01268,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01268,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01268,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01268,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01268,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01268,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01268,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01268,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01268,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01268,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01268,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01268,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01268,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01268,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01268,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01268,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01268,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01268,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01268,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01268,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01268,"percentile":0.69383}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.01268,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01268,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01268,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01268,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01268,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01268,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01268,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01268,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01268,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01268,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01268,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01268,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01268,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01268,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01268,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01268,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01268,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01268,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01268,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01268,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01268,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01268,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01268,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01268,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01268,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01268,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01268,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01268,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01268,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01268,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01268,"percentile":0.69383}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_LIBEXIF_EXIF","name":"Exif","source":"github","url":"https://github.com/libexif/exif/issues/4","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-476","name":"NULL Pointer Dereference","description":"The product dereferences a pointer that it expects to be valid but is NULL.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/476.html"}],"affected":[{"vendor":"debian","product":"exif","name":"exif","label":"exif","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/exif","purlType":"deb","versions":[{"text":"< 0.6.22-3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.6.22-3","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"exif","name":"exif","label":"exif","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/exif","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"fedoraproject","product":"fedora","name":"fedora","label":"fedora","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"32","noFixRecorded":false,"fixedIn":null},{"text":"33","noFixRecorded":false,"fixedIn":null},{"text":"34","noFixRecorded":false,"fixedIn":null}],"versionsText":"32 | 33 | 34","eol":{"isEol":true,"eolDate":"2021-05-25T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"32","label":"32","eolFrom":"2021-05-25T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":null},"product":{"name":"fedora","label":"Fedora Linux","category":"os"}},"hubHref":"/vendor/fedoraproject/fedora"},{"vendor":"libexif_project","product":"exif","name":"exif","label":"exif","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 0.6.22","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 0.6.22","eol":null,"hubHref":"/vendor/libexif_project/exif"},{"vendor":"mageia","product":"exif","name":"exif","label":"exif","ecosystem":"Mageia","cpePart":null,"purl":"pkg:rpm/mageia/exif","purlType":"rpm","versions":[{"text":"< 0.6.22-1.1.mga7","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.6.22-1.1.mga7","eol":null,"hubHref":null},{"vendor":"mageia","product":"exif","name":"exif","label":"exif","ecosystem":"Mageia","cpePart":null,"purl":"pkg:rpm/mageia/exif","purlType":"rpm","versions":[{"text":"< 0.6.22-1.1.mga8","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.6.22-1.1.mga8","eol":null,"hubHref":null}],"affectedCount":6,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://github.com/libexif/exif/issues/4","label":"github.com/libexif/exif/issues/4","hostname":"github.com","tags":["REPORT","Exploit","Third Party Advisory"]},{"url":"https://github.com/libexif/exif/commit/f6334d9d32437ef13dc902f0a88a2be0063d9d1c","label":"github.com/libexif/exif/commit/f6334d9d32437ef13dc902f0a88a2be0063d9d1c","hostname":"github.com","tags":["REPORT","Patch","Third Party Advisory"]},{"url":"https://github.com/libexif/exif/commit/eb84b0e3c5f2a86013b6fcfb800d187896a648fa","label":"github.com/libexif/exif/commit/eb84b0e3c5f2a86013b6fcfb800d187896a648fa","hostname":"github.com","tags":["Patch","Third Party Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JSWAXZVNXYLV3E4R6YQTEGRGMGWEAR76/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YZQ3L45F7S7PQPG5HEHXOCGNOO64MJOS/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QMC6OTXZRPCUD3LOSWO4ISR7CH7NJQDT/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory"]},{"url":"https://security.gentoo.org/glsa/202210-28","label":"security.gentoo.org/glsa/202210-28","hostname":"security.gentoo.org","tags":["Vendor Advisory","Third Party Advisory"]},{"url":"https://advisories.mageia.org/MGASA-2021-0252.html","label":"advisories.mageia.org/MGASA-2021-0252.html","hostname":"advisories.mageia.org","tags":["Advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=29038","label":"bugs.mageia.org/show_bug.cgi?id=29038","hostname":"bugs.mageia.org","tags":["REPORT"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/QMC6OTXZRPCUD3LOSWO4ISR7CH7NJQDT/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["WEB"]},{"url":"https://ubuntu.com/security/CVE-2021-27815","label":"ubuntu.com/security/CVE-2021-27815","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-27815","label":"www.cve.org/CVERecord?id=CVE-2021-27815","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2021-27815","label":"security-tracker.debian.org/tracker/CVE-2021-27815","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2021-04-14T00:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-03T21:33:15.890Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":32,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T08:09:32.204Z","stale":false,"partial":false}}