CVE-2025-26623CWE-416

Use After Free in Exiv2

Medium · published February 18, 2025

CVSS v4.0
5.3
EPSS
1%
Percentile
59.8
In the wild
Unconfirmed
What it is

⚠️ A crafty image could trigger chaos! Exiv2 versions v0.28.0 to v0.28.4 have a heap buffer overflow that opens the door to potential code execution if you handle a specially crafted image file. 🔥 Think of it like a restaurant serving a meal with an unexpected ingredient; if the chef doesn’t double-check the order, they might accidentally serve something harmful. In this case, that harmful ingredient is a crafted image file that could cause the Exiv2 utility to misbehave. An attacker could potentially execute malicious code on a victim's machine simply by tricking them into processing a malicious image with Exiv2. This could lead to unauthorized access, data manipulation, or even a complete system takeover!

Put simply

Think of it like a restaurant serving a meal with an unexpected ingredient; if the chef doesn’t double-check the order, they might accidentally serve something harmful. In this case, that harmful ingredient is a crafted image file that could cause the Exiv2 utility to misbehave. This vulnerability occurs due to a heap buffer overflow when Exiv2 attempts to write metadata into a manipulated image file. It’s triggered by using specific command-line arguments, like `fixiso`, when running Exiv2.

What to do

An attacker could potentially execute malicious code on a victim's machine simply by tricking them into processing a malicious image with Exiv2. This could lead to unauthorized access, data manipulation, or even a complete system takeover! To safeguard your system, upgrade Exiv2 to version v0.28.5 immediately. If you're using an affected version, refrain from writing metadata until you patch. There are currently no workarounds, so updating is essential! You've got this! Stay vigilant, patch up, and keep your systems secure. 🛡️

The record
Technical detail
CVSS v4.0
5.3 · MEDIUM
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
EPSS
0.00916 · 59.8th percentile
Weakness
CWE-416 · Use After Free
Published
2025-02-18T19:24Z
EPSS history
Timeline
  • 18 FEB 19:24Z
    Use After Free in Exiv2
    cvelistv5