In libexif through 0.6.25, an unsigned 32bit integer overflow in Nikon MakerNote handling could be used by local attackers to cause crashes or information leaks. This only affects 32bit systems.
{
"cna_assigner": "mitre",
"cwe_ids": [
"CWE-190"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40385.json"
}{
"cpe": "cpe:2.3:a:libexif_project:libexif:*:*:*:*:*:*:*:*",
"source": [
"CPE_RANGE",
"REFERENCES"
],
"extracted_events": [
{
"introduced": "0"
},
{
"last_affected": "0.6.25"
}
]
}[
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"44364553068656902013241119499066941894",
"84803690842731361292614978179914194703",
"69302651060603491418130840016775313020"
]
},
"id": "CVE-2026-40385-063e98f7",
"signature_type": "Line",
"signature_version": "v1",
"deprecated": false,
"source": "https://github.com/libexif/libexif/commit/93003b93e50b3d259bd2227d8775b73a53c35d58",
"target": {
"file": "libexif/olympus/exif-mnote-data-olympus.c"
}
},
{
"digest": {
"function_hash": "124667694046732373236033063371576930238",
"length": 6426.0
},
"id": "CVE-2026-40385-5b4f5524",
"signature_type": "Function",
"signature_version": "v1",
"deprecated": false,
"source": "https://github.com/libexif/libexif/commit/93003b93e50b3d259bd2227d8775b73a53c35d58",
"target": {
"file": "libexif/olympus/exif-mnote-data-olympus.c",
"function": "exif_mnote_data_olympus_load"
}
}
]
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-40385.json"
"2026-06-18T14:57:06Z"