CVE-2012-2845: Integer overflow in the jpeg_data_load_data function in jpeg-data.c in libjpeg in exif 0.6.20 allows remote at
CVE-2012-2845 is a medium-severity flaw (CVSS 6.4) affecting exif. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
Integer overflow in the jpeg_data_load_data function in jpeg-data.c in libjpeg in exif 0.6.20 allows remote attackers to cause a denial of service (buffer over-read and application crash) or obtain potentially sensitive information via a crafted JPEG file.
Why this priority
- No elevated risk signals yet
No fix is published yet: follow the downgrade or mitigation steps.
Risk facts
| CVSS score | 6.4 (Medium) |
| EPSS exploit chance | 3.6% (top 11%) |
| CISA exploited list | No |
| Weakness | CWE-189 |
| Published | 2012-07-13 |
| Last modified | 2026-06-16 |
Last updated 2026-06-16 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2012-2845?
exif: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2012-2845 being exploited?
CVE-2012-2845 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2012-2845 affect?
CVE-2012-2845 affects exif. Severity is medium (CVSS 6.4). Integer overflow in the jpeg_data_load_data function in jpeg-data.c in libjpeg in exif 0.6.20 allows remote attackers to cause a denial of service (buffer over-read and application crash) or obtain potentially sensitive information via a cr
How urgent is CVE-2012-2845?
Priority 45/100. No elevated risk signals yet.
Related CVEs
- CVE-2021-27815 MEDIUM 5.5 UPGRADE MITIGATE NULL Pointer Deference in the exif command line tool, when printing out XML formatted EXIF data, in exif v0.6.
- CVE-2009-1501 MEDIUM 4.3 DOWNGRADE Cross-site scripting (XSS) vulnerability in the Exif module 5.x-1.x before 5.x-1.2 and 6.x-1.x-dev before Apri