Vulnerability · Published Nov 6, 2023 · Assigned by GitHub_M

CVE-2023-44398Out-of-bounds write in exiv2

High 8.8

In plain English

A high-severity out-of-bounds write in exiv2 from Exiv2. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.0% (higher than 62% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.8High
Exploit odds (30 days)1.0%top 38.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.20exiv20.28.1-r0ALPINE-CVE-2023-44398
Alpine:v3.21exiv20.28.1-r0ALPINE-CVE-2023-44398
Alpine:v3.22exiv20.28.1-r0ALPINE-CVE-2023-44398
Alpine:v3.23exiv20.28.1-r0ALPINE-CVE-2023-44398
Alpine:v3.24exiv20.28.1-r0ALPINE-CVE-2023-44398
PyPIexiv2no fix listedPYSEC-2023-233

Affected products (as reported)

VendorProductVersions
Exiv2 exiv2 = 0.28.0

Weakness: CWE-787 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

References