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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.8
- **CVSS:** 8.8 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: Required; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 1.32% (percentile 71, 2026-11-28)
- **CWE:** CWE-787
- **Aliases:** GHSA-hrw9-ggg3-3r4r, PYSEC-2023-233
- **Published:** 2023-11-06T17:30:54.394Z
- **Modified:** 2026-06-17T06:27:34.033Z

## Who should check

- Projects that depend on PyPI package exiv2 (0.1, 0.11.0, 0.11.1, 0.11.2, 0.11.3, 0.12.0, 0.12.1, 0.13.0, 0.13.1, 0.13.2)
- Anyone running exiv2 = 0.28.0

## 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 and fixed versions

- PyPI `exiv2`: affected 0.1, 0.11.0, 0.11.1, 0.11.2, 0.11.3, 0.12.0, 0.12.1, 0.13.0, 0.13.1, 0.13.2; fixed no fix listed yet (osv)
- exiv2: = 0.28.0 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2023-44398. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-44398.md
Affected: exiv2 0.1, 0.11.0, 0.11.1, 0.11.2, 0.11.3, 0.12.0, 0.12.1, 0.13.0, 0.13.1, 0.13.2
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for exiv2 (PyPI), exiv2: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2023-44398 being exploited?

There is no confirmed exploitation: CVE-2023-44398 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.32% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2023-44398?

High: CVSS 8.8 (v3.1, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2023-44398?

exiv2 0.1, 0.11.0, 0.11.1, 0.11.2, 0.11.3, 0.12.0, 0.12.1, 0.13.0, 0.13.1, 0.13.2.

### Is there a fix for CVE-2023-44398?

No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2023-44398?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/Exiv2/exiv2/security/advisories/GHSA-hrw9-ggg3-3r4r>
- patch: <https://github.com/Exiv2/exiv2/commit/e884a0955359107f4031c74a07406df7e99929a5>
- other: <https://security.gentoo.org/glsa/202312-06>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-44398>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/PYSEC-2023-233> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2023-44398> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-44398>
