CVE-2023-44398 Out-of-bounds write in exiv2
An out-of-bounds write in Exiv2 allows attackers to execute arbitrary code by tricking users into processing a crafted image file.
- 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
- Available
What is CVE-2023-44398?
CVE-2023-44398 is a high-severity memory corruption vulnerability in Exiv2 Exiv2, published on 6 Nov 2023. 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
Exiv2 is a C++ library and a command-line utility to read, write, delete and modify Exif, IPTC, XMP and ICC image metadata. An out-of-bounds write was found in Exiv2 version v0.28.0. The vulnerable function, `BmffImage::brotliUncompress`, is new in v0.28.0, so earlier versions of Exiv2 are _not_ affected. The out-of-bounds write is triggered when Exiv2 is used to read the metadata of a crafted image file. An attacker could potentially exploit the vulnerability to gain code execution, if they can trick the victim into running Exiv2 on a crafted image file. This bug is fixed in version v0.28.1. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Weakness: CWE-787
Which versions are affected by CVE-2023-44398?
1 open source package ship an affected version, including exiv2. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
exiv2 PyPI | All versions | None |
Linux distribution packages (1)
exiv2 openSUSE:Tumbleweed | All versions | 0.28.1-1.1 |
Products include Exiv2 Exiv2.
How do I fix CVE-2023-44398?
Upgrade to a fixed version.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2023-44398 being exploited?
There is no known exploitation of CVE-2023-44398 in the wild and no public exploit code.
Other vulnerabilities in Exiv2 Exiv2
Sources
Also known as AZL-31939, AZL-36940, CLEANSTART-2024-EU98453, GHSA-hrw9-ggg3-3r4r, PYSEC-2023-233, openSUSE-SU-2024:13403-1.