OESA-2026-1987 (CVE-2026-40385)
Vulnerability from osv_openeuler – Published: 2026-04-17 11:10 – Updated: 2026-08-06 11:10 – Source websiteMost digital cameras produce EXIF files, which are JPEG files with extra tags that contain information about the image. The EXIF library allows you to parse an EXIF file and read the data from those tags.
Security Fix(es):
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.(CVE-2026-40385)
In libexif through 0.6.25, an integer underflow in size checking for Fuji and Olympus MakerNote decoding could be used by attackers to crash or leak information out of libexif-using programs.(CVE-2026-40386)
| URL | Type | |
|---|---|---|
{
"affected": [
{
"ecosystem_specific": {
"aarch64": [
"libexif-0.6.21-28.oe2003sp4.aarch64.rpm",
"libexif-debuginfo-0.6.21-28.oe2003sp4.aarch64.rpm",
"libexif-debugsource-0.6.21-28.oe2003sp4.aarch64.rpm",
"libexif-devel-0.6.21-28.oe2003sp4.aarch64.rpm"
],
"noarch": [
"libexif-help-0.6.21-28.oe2003sp4.noarch.rpm"
],
"src": [
"libexif-0.6.21-28.oe2003sp4.src.rpm"
],
"x86_64": [
"libexif-0.6.21-28.oe2003sp4.x86_64.rpm",
"libexif-debuginfo-0.6.21-28.oe2003sp4.x86_64.rpm",
"libexif-debugsource-0.6.21-28.oe2003sp4.x86_64.rpm",
"libexif-devel-0.6.21-28.oe2003sp4.x86_64.rpm"
]
},
"package": {
"ecosystem": "openEuler:20.03-LTS-SP4",
"name": "libexif",
"purl": "pkg:rpm/openEuler/libexif\u0026distro=openEuler-20.03-LTS-SP4"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "0.6.21-28.oe2003sp4"
}
],
"type": "ECOSYSTEM"
}
]
},
{
"ecosystem_specific": {
"aarch64": [
"libexif-0.6.22-7.oe2203sp4.aarch64.rpm",
"libexif-debuginfo-0.6.22-7.oe2203sp4.aarch64.rpm",
"libexif-debugsource-0.6.22-7.oe2203sp4.aarch64.rpm",
"libexif-devel-0.6.22-7.oe2203sp4.aarch64.rpm"
],
"noarch": [
"libexif-help-0.6.22-7.oe2203sp4.noarch.rpm"
],
"src": [
"libexif-0.6.22-7.oe2203sp4.src.rpm"
],
"x86_64": [
"libexif-0.6.22-7.oe2203sp4.x86_64.rpm",
"libexif-debuginfo-0.6.22-7.oe2203sp4.x86_64.rpm",
"libexif-debugsource-0.6.22-7.oe2203sp4.x86_64.rpm",
"libexif-devel-0.6.22-7.oe2203sp4.x86_64.rpm"
]
},
"package": {
"ecosystem": "openEuler:22.03-LTS-SP4",
"name": "libexif",
"purl": "pkg:rpm/openEuler/libexif\u0026distro=openEuler-22.03-LTS-SP4"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "0.6.22-7.oe2203sp4"
}
],
"type": "ECOSYSTEM"
}
]
},
{
"ecosystem_specific": {
"aarch64": [
"libexif-0.6.24-3.oe2403.aarch64.rpm",
"libexif-debuginfo-0.6.24-3.oe2403.aarch64.rpm",
"libexif-debugsource-0.6.24-3.oe2403.aarch64.rpm",
"libexif-devel-0.6.24-3.oe2403.aarch64.rpm",
"libexif-0.6.24-3.oe2403sp1.aarch64.rpm",
"libexif-debuginfo-0.6.24-3.oe2403sp1.aarch64.rpm",
"libexif-debugsource-0.6.24-3.oe2403sp1.aarch64.rpm",
"libexif-devel-0.6.24-3.oe2403sp1.aarch64.rpm",
"libexif-0.6.24-3.oe2403sp2.aarch64.rpm",
"libexif-debuginfo-0.6.24-3.oe2403sp2.aarch64.rpm",
"libexif-debugsource-0.6.24-3.oe2403sp2.aarch64.rpm",
"libexif-devel-0.6.24-3.oe2403sp2.aarch64.rpm",
"libexif-0.6.24-3.oe2403sp3.aarch64.rpm",
"libexif-debuginfo-0.6.24-3.oe2403sp3.aarch64.rpm",
"libexif-debugsource-0.6.24-3.oe2403sp3.aarch64.rpm",
"libexif-devel-0.6.24-3.oe2403sp3.aarch64.rpm"
],
"noarch": [
"libexif-help-0.6.24-3.oe2403.noarch.rpm",
"libexif-help-0.6.24-3.oe2403sp1.noarch.rpm",
"libexif-help-0.6.24-3.oe2403sp2.noarch.rpm",
"libexif-help-0.6.24-3.oe2403sp3.noarch.rpm"
],
"src": [
"libexif-0.6.24-3.oe2403.src.rpm",
"libexif-0.6.24-3.oe2403sp1.src.rpm",
"libexif-0.6.24-3.oe2403sp2.src.rpm",
"libexif-0.6.24-3.oe2403sp3.src.rpm"
],
"x86_64": [
"libexif-0.6.24-3.oe2403.x86_64.rpm",
"libexif-debuginfo-0.6.24-3.oe2403.x86_64.rpm",
"libexif-debugsource-0.6.24-3.oe2403.x86_64.rpm",
"libexif-devel-0.6.24-3.oe2403.x86_64.rpm",
"libexif-0.6.24-3.oe2403sp1.x86_64.rpm",
"libexif-debuginfo-0.6.24-3.oe2403sp1.x86_64.rpm",
"libexif-debugsource-0.6.24-3.oe2403sp1.x86_64.rpm",
"libexif-devel-0.6.24-3.oe2403sp1.x86_64.rpm",
"libexif-0.6.24-3.oe2403sp2.x86_64.rpm",
"libexif-debuginfo-0.6.24-3.oe2403sp2.x86_64.rpm",
"libexif-debugsource-0.6.24-3.oe2403sp2.x86_64.rpm",
"libexif-devel-0.6.24-3.oe2403sp2.x86_64.rpm",
"libexif-0.6.24-3.oe2403sp3.x86_64.rpm",
"libexif-debuginfo-0.6.24-3.oe2403sp3.x86_64.rpm",
"libexif-debugsource-0.6.24-3.oe2403sp3.x86_64.rpm",
"libexif-devel-0.6.24-3.oe2403sp3.x86_64.rpm"
]
},
"package": {
"ecosystem": "openEuler:24.03-LTS",
"name": "libexif",
"purl": "pkg:rpm/openEuler/libexif\u0026distro=openEuler-24.03-LTS"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "0.6.24-3.oe2403sp3"
}
],
"type": "ECOSYSTEM"
}
]
},
{
"ecosystem_specific": {
"aarch64": [
"libexif-0.6.24-3.oe2403sp1.aarch64.rpm",
"libexif-debuginfo-0.6.24-3.oe2403sp1.aarch64.rpm",
"libexif-debugsource-0.6.24-3.oe2403sp1.aarch64.rpm",
"libexif-devel-0.6.24-3.oe2403sp1.aarch64.rpm"
],
"noarch": [
"libexif-help-0.6.24-3.oe2403sp1.noarch.rpm"
],
"src": [
"libexif-0.6.24-3.oe2403sp1.src.rpm"
],
"x86_64": [
"libexif-0.6.24-3.oe2403sp1.x86_64.rpm",
"libexif-debuginfo-0.6.24-3.oe2403sp1.x86_64.rpm",
"libexif-debugsource-0.6.24-3.oe2403sp1.x86_64.rpm",
"libexif-devel-0.6.24-3.oe2403sp1.x86_64.rpm"
]
},
"package": {
"ecosystem": "openEuler:24.03-LTS-SP1",
"name": "libexif",
"purl": "pkg:rpm/openEuler/libexif\u0026distro=openEuler-24.03-LTS-SP1"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "0.6.24-3.oe2403sp1"
}
],
"type": "ECOSYSTEM"
}
]
},
{
"ecosystem_specific": {
"aarch64": [
"libexif-0.6.24-3.oe2403sp2.aarch64.rpm",
"libexif-debuginfo-0.6.24-3.oe2403sp2.aarch64.rpm",
"libexif-debugsource-0.6.24-3.oe2403sp2.aarch64.rpm",
"libexif-devel-0.6.24-3.oe2403sp2.aarch64.rpm"
],
"noarch": [
"libexif-help-0.6.24-3.oe2403sp2.noarch.rpm"
],
"src": [
"libexif-0.6.24-3.oe2403sp2.src.rpm"
],
"x86_64": [
"libexif-0.6.24-3.oe2403sp2.x86_64.rpm",
"libexif-debuginfo-0.6.24-3.oe2403sp2.x86_64.rpm",
"libexif-debugsource-0.6.24-3.oe2403sp2.x86_64.rpm",
"libexif-devel-0.6.24-3.oe2403sp2.x86_64.rpm"
]
},
"package": {
"ecosystem": "openEuler:24.03-LTS-SP2",
"name": "libexif",
"purl": "pkg:rpm/openEuler/libexif\u0026distro=openEuler-24.03-LTS-SP2"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "0.6.24-3.oe2403sp2"
}
],
"type": "ECOSYSTEM"
}
]
},
{
"ecosystem_specific": {
"aarch64": [
"libexif-0.6.24-3.oe2403sp3.aarch64.rpm",
"libexif-debuginfo-0.6.24-3.oe2403sp3.aarch64.rpm",
"libexif-debugsource-0.6.24-3.oe2403sp3.aarch64.rpm",
"libexif-devel-0.6.24-3.oe2403sp3.aarch64.rpm"
],
"noarch": [
"libexif-help-0.6.24-3.oe2403sp3.noarch.rpm"
],
"src": [
"libexif-0.6.24-3.oe2403sp3.src.rpm"
],
"x86_64": [
"libexif-0.6.24-3.oe2403sp3.x86_64.rpm",
"libexif-debuginfo-0.6.24-3.oe2403sp3.x86_64.rpm",
"libexif-debugsource-0.6.24-3.oe2403sp3.x86_64.rpm",
"libexif-devel-0.6.24-3.oe2403sp3.x86_64.rpm"
]
},
"package": {
"ecosystem": "openEuler:24.03-LTS-SP3",
"name": "libexif",
"purl": "pkg:rpm/openEuler/libexif\u0026distro=openEuler-24.03-LTS-SP3"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "0.6.24-3.oe2403sp3"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"database_specific": {
"severity": "Medium"
},
"details": "Most digital cameras produce EXIF files, which are JPEG files with extra tags that contain information about the image. The EXIF library allows you to parse an EXIF file and read the data from those tags.\r\n\r\nSecurity Fix(es):\n\nIn 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.(CVE-2026-40385)\n\nIn libexif through 0.6.25, an integer underflow in size checking for Fuji and Olympus MakerNote decoding could be used by attackers to crash or leak information out of libexif-using programs.(CVE-2026-40386)",
"id": "OESA-2026-1987",
"modified": "2026-08-06T11:10:59Z",
"published": "2026-04-17T11:10:59Z",
"references": [
{
"type": "ADVISORY",
"url": "https://www.openeuler.org/zh/security/security-bulletins/detail/?id=openEuler-SA-2026-1987"
},
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-40385"
},
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-40386"
}
],
"schema_version": "1.7.2",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L",
"type": "CVSS_V3"
}
],
"summary": "libexif security update",
"upstream": [
"CVE-2026-40385",
"CVE-2026-40386"
]
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.