UnratedFix available
libexif — security advisory
The exif_convert_utf16_to_utf8 function in exif-entry.c in the EXIF Tag Parsing Library (aka libexif) before 0.6.21 allows remote attackers to cause a denial of service (out-of-bounds read) or possibly obtain sensitive information from process memory via crafted EXIF tags in an image.
- Products
- libexif
- Affected versions
- Not specified
- Fixed versions
- 0.6.21-r0
- CVEs
- CVE-2012-2813
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 21:55 UTC · Revision 1
Source evidence
The exif_convert_utf16_to_utf8 function in exif-entry.c in the EXIF Tag Parsing Library (aka libexif) before 0.6.21 allows remote attackers to cause a denial of service (out-of-bounds read) or possibly obtain sensitive information from process memory via crafted EXIF tags in an image.
osv:ALPINE-CVE-2012-2813
libexif
Fixed versions: 0.6.21-r0
libexif
Fixed versions: 0.6.21-r0
libexif
Fixed versions: 0.6.21-r0
libexif
Fixed versions: 0.6.21-r0
libexif
Fixed versions: 0.6.21-r0
Complete source record
{
"id": "8358e0a2828903f2e42603ba264b064e33606e3dc32a565918a40e95dea4e396",
"url": "https://osv.dev/vulnerability/ALPINE-CVE-2012-2813",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "ALPINE-CVE-2012-2813",
"summary": "The exif_convert_utf16_to_utf8 function in exif-entry.c in the EXIF Tag Parsing Library (aka libexif) before 0.6.21 allows remote attackers to cause a denial of service (out-of-bounds read) or possibly obtain sensitive information from process memory via crafted EXIF tags in an image.",
"evidence": "osv:ALPINE-CVE-2012-2813",
"products": [
{
"name": {
"value": "libexif",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "0.6.21-r0",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "libexif",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "0.6.21-r0",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "libexif",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "0.6.21-r0",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "libexif",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "0.6.21-r0",
"evidence": "/affected/3/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "libexif",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "0.6.21-r0",
"evidence": "/affected/4/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "ALPINE-CVE-2012-2813",
"aliases": [
"ALPINE-CVE-2012-2813"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "0.6.21-r0"
}
]
}
],
"package": {
"name": "libexif",
"purl": "pkg:apk/alpine/libexif?arch=source",
"ecosystem": "Alpine:v3.10"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2012-2813.json"
},
"ecosystem_specific": {}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "0.6.21-r0"
}
]
}
],
"package": {
"name": "libexif",
"purl": "pkg:apk/alpine/libexif?arch=source",
"ecosystem": "Alpine:v3.11"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2012-2813.json"
},
"ecosystem_specific": {}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "0.6.21-r0"
}
]
}
],
"package": {
"name": "libexif",
"purl": "pkg:apk/alpine/libexif?arch=source",
"ecosystem": "Alpine:v3.12"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2012-2813.json"
},
"ecosystem_specific": {}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "0.6.21-r0"
}
]
}
],
"package": {
"name": "libexif",
"purl": "pkg:apk/alpine/libexif?arch=source",
"ecosystem": "Alpine:v3.8"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2012-2813.json"
},
"ecosystem_specific": {}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "0.6.21-r0"
}
]
}
],
"package": {
"name": "libexif",
"purl": "pkg:apk/alpine/libexif?arch=source",
"ecosystem": "Alpine:v3.9"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2012-2813.json"
},
"ecosystem_specific": {}
}
],
"modified": "2026-10-23T17:17:54.932949451Z",
"provider": "osv",
"upstream": [
"CVE-2012-2813"
],
"references": [
"https://security.alpinelinux.org/vuln/CVE-2012-2813"
]
},
"related_cves": [
{
"value": "CVE-2012-2813",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 414911,
"published_at": "2012-07-13T10:34:59.39+00:00"
}