CVE-2023-44398

NameCVE-2023-44398
DescriptionExiv2 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
exiv2 (PTS)jessie, jessie (lts)0.24-4.1+deb8u7fixed
stretch (security)0.25-3.1+deb9u3fixed
stretch (lts), stretch0.25-3.1+deb9u4fixed
buster (security), buster, buster (lts)0.25-4+deb10u4fixed
bullseye0.27.3-3+deb11u2fixed
bullseye (security)0.27.3-3+deb11u1fixed
bookworm0.27.6-1fixed
sid, trixie0.28.3+dfsg-2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
exiv2source(unstable)(not affected)

Notes

- exiv2 <not-affected> (Vulnerable code introduced in 0.28.0)
Fixed by: https://github.com/Exiv2/exiv2/commit/d8f82d5db1fed05a18aa0f84f1cc8899d011a18b (v0.28.1)
Regression test: https://github.com/Exiv2/exiv2/commit/6ca8fcd9526ad509a64b71c818b7ddc099b54583

Search for package or bug name: Reporting problems