{"id":"UBUNTU-CVE-2026-40385","details":"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.","modified":"2026-07-13T20:30:08.698481376Z","published":"2026-04-12T19:16:00Z","related":["USN-8531-1"],"upstream":["CVE-2026-40385"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-40385"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-40385"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-8531-1"}],"affected":[{"package":{"name":"libexif","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/libexif?arch=source&distro=esm-infra-legacy%2Ftrusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.6.21-1","0.6.21-1ubuntu1","0.6.21-1ubuntu1+esm1","0.6.21-1ubuntu1+esm2","0.6.21-1ubuntu1+esm5","0.6.21-1ubuntu1+esm6"],"ecosystem_specific":{"binaries":[{"binary_name":"libexif12","binary_version":"0.6.21-1ubuntu1+esm6"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-40385.json"}},{"package":{"name":"libexif","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/libexif?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.6.21-2","0.6.21-2ubuntu0.1","0.6.21-2ubuntu0.2","0.6.21-2ubuntu0.5","0.6.21-2ubuntu0.6"],"ecosystem_specific":{"binaries":[{"binary_name":"libexif12","binary_version":"0.6.21-2ubuntu0.6"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-40385.json"}},{"package":{"name":"libexif","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/libexif?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.6.21-2.1","0.6.21-4","0.6.21-4ubuntu0.1","0.6.21-4ubuntu0.2","0.6.21-4ubuntu0.5","0.6.21-4ubuntu0.6"],"ecosystem_specific":{"binaries":[{"binary_name":"libexif12","binary_version":"0.6.21-4ubuntu0.6"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-40385.json"}},{"package":{"name":"libexif","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/libexif?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.6.21-5.1","0.6.21-6","0.6.21-6ubuntu0.1","0.6.21-6ubuntu0.3","0.6.21-6ubuntu0.4"],"ecosystem_specific":{"binaries":[{"binary_name":"libexif12","binary_version":"0.6.21-6ubuntu0.4"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-40385.json"}},{"package":{"name":"libexif","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/libexif?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.6.24-1ubuntu0.22.04.1"}]}],"versions":["0.6.22-3","0.6.22-3build1","0.6.23-1","0.6.24-1","0.6.24-1build1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"libexif12","binary_version":"0.6.24-1ubuntu0.22.04.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-40385.json"}},{"package":{"name":"libexif","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/libexif?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.6.24-1ubuntu0.24.04.1"}]}],"versions":["0.6.24-1build1","0.6.24-1build2"],"ecosystem_specific":{"binaries":[{"binary_version":"0.6.24-1ubuntu0.24.04.1","binary_name":"libexif12"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-40385.json"}},{"package":{"name":"libexif","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/libexif?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.6.25-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libexif12","binary_version":"0.6.25-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-40385.json"}},{"package":{"name":"libexif","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/libexif?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.6.25-2ubuntu0.1"}]}],"versions":["0.6.25-1","0.6.25-1build1","0.6.25-2"],"ecosystem_specific":{"binaries":[{"binary_name":"libexif12","binary_version":"0.6.25-2ubuntu0.1"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-40385.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}