CVEfocus › CVE database › CVE-2023-44398

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

CVSS 8.8 HighEPSS 1.3% (higher than 71% of CVEs)Published 2023-11-06Updated 2025-02-26Assigner: GitHub_M

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.

CWE-787

What to do

Fixed builds are available from Alpine: see the table below for the fixed version per release.

PyPI, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

6Fixed
3Fix pending
20Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 22.04exiv2Not affected
vulnerable_code_not_present
Ubuntu 16.04exiv2Fix pending
Ubuntu 14.04exiv2Fix pending
Red Hat Enterprise Linux 9exiv2Not affected
Red Hat Enterprise Linux 9exiv2-develNot affected
Red Hat Enterprise Linux 9exiv2-docNot affected
Red Hat Enterprise Linux 9exiv2-libsNot affected
Red Hat Enterprise Linux 8compat-exiv2-026Not affected
Red Hat Enterprise Linux 8exiv2Not affected
Red Hat Enterprise Linux 8exiv2-develNot affected
Red Hat Enterprise Linux 8exiv2-docNot affected
Red Hat Enterprise Linux 8exiv2-libsNot affected
Red Hat Enterprise Linux 7compat-exiv2-023Not affected
Red Hat Enterprise Linux 7compat-exiv2-026Not affected
Red Hat Enterprise Linux 7exiv2Not affected
Red Hat Enterprise Linux 7exiv2-develNot affected
Red Hat Enterprise Linux 7exiv2-docNot affected
Red Hat Enterprise Linux 7exiv2-libsNot affected
Red Hat Enterprise Linux 6compat-exiv2-023Not affected
Red Hat Enterprise Linux 6exiv2Not affected
Red Hat Enterprise Linux 6exiv2-develNot affected
Red Hat Enterprise Linux 6exiv2-libsNot affected
Alpine Linux 3.24exiv2Fixed0.28.1-r0ALPINE-CVE-2023-44398
Alpine Linux 3.23exiv2Fixed0.28.1-r0ALPINE-CVE-2023-44398
Alpine Linux 3.22exiv2Fixed0.28.1-r0ALPINE-CVE-2023-44398
Alpine Linux 3.21exiv2Fixed0.28.1-r0ALPINE-CVE-2023-44398
Alpine Linux 3.20exiv2Fixed0.28.1-r0ALPINE-CVE-2023-44398
Alpine Linux 3.19exiv2Fixed0.28.1-r0ALPINE-CVE-2023-44398
PyPI libraryexiv2Fix pendingPYSEC-2023-233

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.