libexif: "exif_convert_utf16_to_utf8()" off-by-one
Published Jul 13, 2012
7.5
HIGHCVSS 2.0
EPSS 5.02%
Description
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.
Affected products
No data.
- ≤ 0.6.20
- 0.6.14
- 0.6.15
- 0.6.16
- 0.6.18
- 0.6.19
No data.
Red Hat Enterprise Linux 5
libexif-0:0.6.21-1.el5_8
Fixed · RHSA-2012:1255
Red Hat Enterprise Linux 6
libexif-0:0.6.21-5.el6_3
Fixed · RHSA-2012:1255
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 5 | libexif-0:0.6.21-1.el5_8 | Fixed | RHSA-2012:1255 |
| Red Hat Enterprise Linux 6 | libexif-0:0.6.21-5.el6_3 | Fixed | RHSA-2012:1255 |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
No CVSS v3.0 score for this CVE.
AV:N/AC:L/Au:N/C:P/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (10 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 5.02% (0.05016) | 91.99th | v5 (v2026.06.15) |
| Jun 15, 2026 | 5.02% (0.05016) | 91.11th | v5 (v2026.06.15) |
| Mar 30, 2025 | 2.17% (0.02169) | 82.80th | v4 (v2025.03.14) |
| Mar 29, 2025 | 5.97% (0.05972) | 84.02th | v4 (v2025.03.14) |
| Mar 17, 2025 | 2.37% (0.02374) | 83.87th | v4 (v2025.03.14) |
| Dec 12, 2024 | 8.75% (0.08754) | 94.80th | v3 (v2023.03.01) |
| Mar 7, 2023 | 8.48% (0.08479) | 93.39th | v3 (v2023.03.01) |
| Mar 6, 2023 | 5.14% (0.05139) | 89.65th | v2 (v2022.01.01) |
| Apr 1, 2022 | 5.14% (0.05139) | 88.62th | v2 (v2022.01.01) |
| Feb 4, 2022 | 5.14% (0.05139) | 75.16th | v2 (v2022.01.01) |
References (11)
- http://lists.opensuse.org/opensuse-security-announce/2012-07/msg00015.html vendor-advisoryx_refsource_SUSE
- http://rhn.redhat.com/errata/RHSA-2012-1255.html vendor-advisoryx_refsource_REDHAT
- http://secunia.com/advisories/49988 third-party-advisoryx_refsource_SECUNIA
- http://sourceforge.net/mailarchive/message.php?msg_id=29534027 mailing-listx_refsource_MLIST
- http://www.debian.org/security/2012/dsa-2559 vendor-advisoryx_refsource_DEBIAN
- http://www.securityfocus.com/bid/54437 vdb-entryx_refsource_BID
- http://www.ubuntu.com/usn/USN-1513-1 vendor-advisoryx_refsource_UBUNTU
- https://access.redhat.com/security/cve/CVE-2012-2840 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=839188 Issue Tracking
- https://nvd.nist.gov/vuln/detail/CVE-2012-2840
- https://www.cve.org/CVERecord?id=CVE-2012-2840
| Link | Providers | Tags |
|---|---|---|
| http://lists.opensuse.org/opensuse-security-announce/2012-07/msg00015.html | vendor-advisoryx_refsource_SUSE | |
| http://rhn.redhat.com/errata/RHSA-2012-1255.html | vendor-advisoryx_refsource_REDHAT | |
| http://secunia.com/advisories/49988 | third-party-advisoryx_refsource_SECUNIA | |
| http://sourceforge.net/mailarchive/message.php?msg_id=29534027 | mailing-listx_refsource_MLIST | |
| http://www.debian.org/security/2012/dsa-2559 | vendor-advisoryx_refsource_DEBIAN | |
| http://www.securityfocus.com/bid/54437 | vdb-entryx_refsource_BID | |
| http://www.ubuntu.com/usn/USN-1513-1 | vendor-advisoryx_refsource_UBUNTU | |
| https://access.redhat.com/security/cve/CVE-2012-2840 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=839188 | Issue Tracking | |
| https://nvd.nist.gov/vuln/detail/CVE-2012-2840 | ||
| https://www.cve.org/CVERecord?id=CVE-2012-2840 |
Change history (0)
No recorded changes yet.