CVE-2026-3102 exiftool PNG File MacOS.pm SetMacOSTags os command injection

Medium 5.3 Published Updated

Remote attackers can execute arbitrary OS commands via crafted PNG files processed by exiftool on macOS.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2026-3102?

CVE-2026-3102 is a medium-severity command injection vulnerability in exiftool, published on 24 Feb 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

A vulnerability was determined in exiftool up to 13.49 on macOS. This issue affects the function SetMacOSTags of the file lib/Image/ExifTool/MacOS.pm of the component PNG File Parser. This manipulation of the argument DateTimeOriginal causes os command injection. The attack is possible to be carried out remotely. The exploit has been publicly disclosed and may be utilized. Upgrading to version 13.50 is capable of addressing this issue. Patch name: e9609a9bcc0d32bd252a709a562fb822d6dd86f7. Upgrading the affected component is recommended.

Weakness: CWE-78, CWE-77

Which versions are affected by CVE-2026-3102?

It affects 1 product.

Products include Exiftool Project Exiftool.

How do I fix CVE-2026-3102?

No fix has been published for CVE-2026-3102 yet. Limit exposure of the affected software until one is available.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2026-3102 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-3102 exists.

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as GHSA-mr6q-w873-6jfr.

Is CVE-2026-3102 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free