Out-of-bounds write in exiv2
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2023-44398
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 15:57 UTC · Revision 1
Source evidence
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.
osv:CVE-2023-44398
Complete source record
{
"id": "7f148e1dd0f4766bbdb6ad1b27f32fbe57ac6b9a777402b42bb40f8ece41f43d",
"url": "https://osv.dev/vulnerability/CVE-2023-44398",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Out-of-bounds write in exiv2",
"summary": "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.",
"evidence": "osv:CVE-2023-44398",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2023-44398",
"aliases": [
"CVE-2023-44398",
"GHSA-hrw9-ggg3-3r4r",
"PYSEC-2023-233"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/exiv2/exiv2",
"type": "GIT",
"events": [
{
"introduced": "931a40a746f5678dcc4625b06a2eb25fa4f00b34"
},
{
"fixed": "e884a0955359107f4031c74a07406df7e99929a5"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "= 0.28.0"
},
{
"last_affected": "= 0.28.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
},
{
"range": [
{
"fixed": "e884a0955359107f4031c74a07406df7e99929a5"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"0.28.0",
"= 0.28.0",
"v0.28.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-44398.json"
}
}
],
"modified": "2026-10-28T02:30:30.401459636Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/44xxx/CVE-2023-44398.json",
"https://github.com/Exiv2/exiv2/security/advisories/GHSA-hrw9-ggg3-3r4r",
"https://nvd.nist.gov/vuln/detail/CVE-2023-44398",
"https://security.gentoo.org/glsa/202312-06",
"https://github.com/Exiv2/exiv2/commit/e884a0955359107f4031c74a07406df7e99929a5"
],
"provider_metadata": {
"cwe_ids": [
"CWE-787"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/44xxx/CVE-2023-44398.json"
}
},
"related_cves": [
{
"value": "CVE-2023-44398",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 497072,
"published_at": "2023-11-06T17:30:54.394+00:00"
}