{"id":"DEBIAN-CVE-2012-2840","details":"Off-by-one error in the exif_convert_utf16_to_utf8 function in exif-entry.c in the EXIF Tag Parsing Library (aka libexif) before 0.6.21 allows remote attackers to cause a denial of service or possibly execute arbitrary code via crafted EXIF tags in an image.","modified":"2026-04-28T20:11:58.500082Z","published":"2012-07-13T10:34:59.547Z","upstream":["CVE-2012-2840"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2012-2840"}],"affected":[{"package":{"name":"libexif","ecosystem":"Debian:11","purl":"pkg:deb/debian/libexif?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.6.20-3"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2012-2840.json"}},{"package":{"name":"libexif","ecosystem":"Debian:12","purl":"pkg:deb/debian/libexif?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.6.20-3"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2012-2840.json"}},{"package":{"name":"libexif","ecosystem":"Debian:13","purl":"pkg:deb/debian/libexif?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.6.20-3"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2012-2840.json"}},{"package":{"name":"libexif","ecosystem":"Debian:14","purl":"pkg:deb/debian/libexif?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.6.20-3"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2012-2840.json"}}],"schema_version":"1.7.5"}