CVE-2017-7544
Critical · 9.1CVSS
9.1
EPSS
3.3%
Published
Sep 21, 2017
CISA due date
—
Cloudanix analysis
A bug in software that reads photo metadata can let attackers crash programs or steal data from memory when certain images are opened.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Low
- Impact
- Data Exposure
- Component
- Library
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Out-of-bounds heap read in exif_data_save_data_entry caused by incorrect length calculation for ExifMnote entry data, enabling denial-of-service or memory disclosure.
Why it matters to the business
Applications processing images may crash or leak sensitive memory contents, disrupting image-handling services and risking data exposure in environments using the affected packages.
How an attack unfolds
An attacker supplies a crafted image containing malformed EXIF metadata that triggers improper length computation during exif_data_save_data_entry processing, resulting in an out-of-bounds read that can crash the process or expose adjacent heap memory.
How to fix it
Upgrade percona-server-8.3, percona-server-8.3-dev, percona-server-8.3-oci-entrypoint, and percona-server-8.3-oci-entrypoint-compat packages to version 8.3.0-r1 or later on both Chainguard and Wolfi distributions.
How to confirm the fix worked
Confirm installed package versions match the fixed releases, then reprocess known-malformed test images to verify absence of crashes or unexpected memory reads.
Typical attack path
- Craft image file with manipulated EXIF Mnote entry lengths
- Deliver file to application using vulnerable libexif
- Trigger image metadata parsing path
- Cause out-of-bounds heap read leading to crash or disclosure
How to detect it
Review application logs for crashes or errors referencing exif_data_save_data_entry or exif-data.c when processing uploaded images; inspect heap dumps or memory access violations around EXIF parsing.
- exif_data_save_data_entry
- exif-data.c
- ExifMnote
What your security team should do
- Immediately update all listed Percona Server packages to 8.3.0-r1
- Inventory image-processing code paths that depend on libexif
- Add input sanitization or sandboxing around EXIF parsing
The record
libexif through 0.6.21 is vulnerable to out-of-bounds heap read vulnerability in exif_data_save_data_entry function in libexif/exif-data.c caused by improper length computation of the allocated data of an ExifMnote entry which can cause denial-of-service or possibly information disclosure.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Alpine:v3.10 | libexif | 0 | 0.6.21-r3 |
| Alpine:v3.11 | libexif | 0 | 0.6.21-r3 |
| Alpine:v3.12 | libexif | 0 | 0.6.21-r3 |
| Alpine:v3.5 | libexif | 0 | 0.6.21-r2 |
| Alpine:v3.6 | libexif | 0 | 0.6.21-r2 |
| Alpine:v3.7 | libexif | 0 | 0.6.21-r2 |
| Alpine:v3.8 | libexif | 0 | 0.6.21-r3 |
| Alpine:v3.9 | libexif | 0 | 0.6.21-r3 |
| Debian:11 | libexif | 0 | 0.6.21-2.1 |
| Debian:12 | libexif | 0 | 0.6.21-2.1 |
| Debian:13 | libexif | 0 | 0.6.21-2.1 |
| Debian:8 | libexif | 0 | 0.6.21-2+deb8u2 |
| Mageia:5 | libexif | 0 | 0.6.21-8.2.mga5 |
| Mageia:6 | libexif | 0 | 0.6.21-9.2.mga6 |
| SUSE:Enterprise Storage 5 | libexif | 0 | 0.6.22-8.9.1 |
| SUSE:HPE Helion OpenStack 8 | libexif | 0 | 0.6.22-8.9.1 |
| SUSE:Linux Enterprise Desktop 12 SP2 | libexif | 0 | 0.6.21-8.3.1 |
| SUSE:Linux Enterprise Desktop 12 SP3 | libexif | 0 | 0.6.21-8.3.1 |
| SUSE:Linux Enterprise Module for Desktop Applications 15 SP1 | libexif | 0 | 0.6.22-5.6.1 |
| SUSE:Linux Enterprise Module for Desktop Applications 15 SP2 | libexif | 0 | 0.6.22-5.6.1 |
| SUSE:Linux Enterprise Module for Package Hub 15 SP1 | libexif | 0 | 0.6.22-5.6.1 |
| SUSE:Linux Enterprise Module for Package Hub 15 SP2 | libexif | 0 | 0.6.22-5.6.1 |
| SUSE:Linux Enterprise Server 11 SP4 | libexif | 0 | 0.6.17-2.14.3.1 |
| SUSE:Linux Enterprise Server 12 SP1-LTSS | libexif | 0 | 0.6.22-8.9.1 |
| SUSE:Linux Enterprise Server 12 SP2 | libexif | 0 | 0.6.21-8.3.1 |
| SUSE:Linux Enterprise Server 12 SP2-BCL | libexif | 0 | 0.6.22-8.9.1 |
| SUSE:Linux Enterprise Server 12 SP2-LTSS | libexif | 0 | 0.6.22-8.9.1 |
| SUSE:Linux Enterprise Server 12 SP3 | libexif | 0 | 0.6.21-8.3.1 |
| SUSE:Linux Enterprise Server 12 SP3-BCL | libexif | 0 | 0.6.22-8.9.1 |
| SUSE:Linux Enterprise Server 12 SP3-LTSS | libexif | 0 | 0.6.22-8.9.1 |
| SUSE:Linux Enterprise Server 12 SP4 | libexif | 0 | 0.6.22-8.9.1 |
| SUSE:Linux Enterprise Server 12 SP5 | libexif | 0 | 0.6.22-8.9.1 |
| SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2 | libexif | 0 | 0.6.21-8.3.1 |
| SUSE:Linux Enterprise Server for SAP Applications 11 SP4 | libexif | 0 | 0.6.17-2.14.3.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP1 | libexif | 0 | 0.6.22-8.9.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP2 | libexif | 0 | 0.6.21-8.3.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP2 | libexif | 0 | 0.6.22-8.9.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP3 | libexif | 0 | 0.6.21-8.3.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP3 | libexif | 0 | 0.6.22-8.9.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP4 | libexif | 0 | 0.6.22-8.9.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP5 | libexif | 0 | 0.6.22-8.9.1 |
| SUSE:Linux Enterprise Software Development Kit 11 SP4 | libexif | 0 | 0.6.17-2.14.3.1 |
| SUSE:Linux Enterprise Software Development Kit 12 SP2 | libexif | 0 | 0.6.21-8.3.1 |
| SUSE:Linux Enterprise Software Development Kit 12 SP3 | libexif | 0 | 0.6.21-8.3.1 |
| SUSE:Linux Enterprise Software Development Kit 12 SP4 | libexif | 0 | 0.6.22-8.9.1 |
| SUSE:Linux Enterprise Software Development Kit 12 SP5 | libexif | 0 | 0.6.22-8.9.1 |
| SUSE:OpenStack Cloud 7 | libexif | 0 | 0.6.22-8.9.1 |
| SUSE:OpenStack Cloud 8 | libexif | 0 | 0.6.22-8.9.1 |
| SUSE:OpenStack Cloud Crowbar 8 | libexif | 0 | 0.6.22-8.9.1 |
| Ubuntu:16.04:LTS | libexif | 0 | 0.6.21-2ubuntu0.1 |
| Ubuntu:18.04:LTS | libexif | 0 | 0.6.21-4 |
| Ubuntu:18.04:LTS | libexif | 0 | 0.6.21-4ubuntu0.1 |
| Ubuntu:Pro:14.04:LTS | libexif | 0 | 0.6.21-1ubuntu1+esm1 |
| openSUSE:Leap 15.1 | libexif | 0 | 0.6.22-lp151.4.6.1 |
| openSUSE:Tumbleweed | libexif | 0 | 0.6.23-1.2 |
Related vulnerabilities
- CVE-2020-0452 In exif_entry_get_value of exif-entry.c, there is a possible out of bounds write due to… Also affects libexif
- CVE-2020-0198 In exif_data_load_data_content of exif-data.c, there is a possible UBSAN abort due to an… Also affects libexif
- CVE-2007-2645 Integer overflow in the exif_data_load_data_entry function in exif-data.c in libexif… Also affects libexif
- CVE-2026-40385 In libexif through 0.6.25, an unsigned 32bit integer overflow in Nikon MakerNote handling… Also affects libexif
- CVE-2026-40386 In libexif through 0.6.25, an integer underflow in size checking for Fuji and Olympus… Also affects libexif
- CVE-2026-32775 libexif through 0.6.25 has a flaw in decoding MakerNotes. Also affects libexif
- CVE-2026-118237 An out-of-bounds read vulnerability was identified in GitHub Enterprise Server in the Git… CWE-125
- CVE-2026-121208 Out of bounds read in Media in Google Chrome prior to 157.0.8103.38 allowed a remote… CWE-125