{"schemaVersion":3,"id":"CVE-2026-40386","aliases":["RHSA-2026:22529","RHSA-2026:26274","UBUNTU-CVE-2026-40386","DEBIAN-CVE-2026-40386"],"status":"published","duplicateOf":null,"title":null,"description":"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.","dates":{"published":"2026-04-12T18:19:08.684Z","modified":"2026-04-14T16:33:07.044Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.1,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":4,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Red hat","score":4,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L","exploitability":3.6,"impact":4.2,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":7.1,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","exploitability":4.6,"impact":8.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":7.1,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","exploitability":4.6,"impact":8.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.1,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00131,"percentile":0.02439,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":-0.009000000000000001,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.0014},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.0014,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.0014,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.0014,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.0014,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.0014,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.0014,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0014,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0014,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0014,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0014,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00131,"percentile":0.02439}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.0014,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0014,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0014,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0014,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00131,"percentile":0.02439}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-191","name":"Integer Underflow (Wrap or Wraparound)","description":"The product subtracts one value from another, such that the result is less than the minimum allowable integer value, which produces a value that is not equal to the correct result.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/191.html"}],"affected":[{"vendor":"debian","product":"libexif","name":"libexif","label":"libexif","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/libexif","purlType":"deb","versions":[{"text":"< 0.6.24-1+deb12u1","noFixRecorded":false,"fixedIn":null},{"text":"< 0.6.25-1+deb13u1","noFixRecorded":false,"fixedIn":null},{"text":"< 0.6.26-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.6.24-1+deb12u1 | < 0.6.25-1+deb13u1 | < 0.6.26-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"libexif","name":"libexif","label":"libexif","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/libexif","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 0.6.24-1ubuntu0.22.04.1","noFixRecorded":false,"fixedIn":null},{"text":"< 0.6.24-1ubuntu0.24.04.1","noFixRecorded":false,"fixedIn":null},{"text":"< 0.6.25-2ubuntu0.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"All versions (No fix recorded) | < 0.6.24-1ubuntu0.22.04.1 | < 0.6.24-1ubuntu0.24.04.1 | < 0.6.25-2ubuntu0.1","eol":null,"hubHref":null},{"vendor":"libexif_project","product":"libexif","name":"libexif","label":"libexif","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 0.6.25","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 0.6.25","eol":null,"hubHref":"/vendor/libexif_project/libexif"},{"vendor":"redhat","product":"libexif","name":"libexif","label":"libexif","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/libexif","purlType":"rpm","versions":[{"text":"< 0:0.6.24-9.el10_2.1","noFixRecorded":false,"fixedIn":null},{"text":"< 0:0.6.24-9.el10_0.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:0.6.24-9.el10_2.1 | < 0:0.6.24-9.el10_0.1","eol":null,"hubHref":null},{"vendor":"redhat","product":"libexif-debuginfo","name":"libexif-debuginfo","label":"libexif-debuginfo","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/libexif-debuginfo","purlType":"rpm","versions":[{"text":"< 0:0.6.24-9.el10_2.1","noFixRecorded":false,"fixedIn":null},{"text":"< 0:0.6.24-9.el10_0.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:0.6.24-9.el10_2.1 | < 0:0.6.24-9.el10_0.1","eol":null,"hubHref":null},{"vendor":"redhat","product":"libexif-debugsource","name":"libexif-debugsource","label":"libexif-debugsource","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/libexif-debugsource","purlType":"rpm","versions":[{"text":"< 0:0.6.24-9.el10_2.1","noFixRecorded":false,"fixedIn":null},{"text":"< 0:0.6.24-9.el10_0.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:0.6.24-9.el10_2.1 | < 0:0.6.24-9.el10_0.1","eol":null,"hubHref":null},{"vendor":"redhat","product":"libexif-devel","name":"libexif-devel","label":"libexif-devel","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/libexif-devel","purlType":"rpm","versions":[{"text":"< 0:0.6.24-9.el10_2.1","noFixRecorded":false,"fixedIn":null},{"text":"< 0:0.6.24-9.el10_0.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:0.6.24-9.el10_2.1 | < 0:0.6.24-9.el10_0.1","eol":null,"hubHref":null},{"vendor":"redhat","product":"libexif-doc","name":"libexif-doc","label":"libexif-doc","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/libexif-doc","purlType":"rpm","versions":[{"text":"< 0:0.6.24-9.el10_2.1","noFixRecorded":false,"fixedIn":null},{"text":"< 0:0.6.24-9.el10_0.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:0.6.24-9.el10_2.1 | < 0:0.6.24-9.el10_0.1","eol":null,"hubHref":null}],"affectedCount":8,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/libexif/libexif/commit/dc6eac6e9655d14d0779d99e82d0f5f442d2f34b","label":"github.com/libexif/libexif/commit/dc6eac6e9655d14d0779d99e82d0f5f442d2f34b","hostname":"github.com","tags":["ARTICLE","Patch"]},{"url":"https://access.redhat.com/errata/RHSA-2026:22529","label":"access.redhat.com/errata/RHSA-2026:22529","hostname":"access.redhat.com","tags":["Advisory"]},{"url":"https://access.redhat.com/security/updates/classification/#moderate","label":"access.redhat.com/security/updates/classification/","hostname":"access.redhat.com","tags":["ARTICLE"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2457689","label":"bugzilla.redhat.com/show_bug.cgi?id=2457689","hostname":"bugzilla.redhat.com","tags":["REPORT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_22529.json","label":"security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_22529.json","hostname":"security.access.redhat.com","tags":["Advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-40386","label":"access.redhat.com/security/cve/CVE-2026-40386","hostname":"access.redhat.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-40386","label":"www.cve.org/CVERecord?id=CVE-2026-40386","hostname":"www.cve.org","tags":["Advisory","REPORT"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40386","label":"nvd.nist.gov/vuln/detail/CVE-2026-40386","hostname":"nvd.nist.gov","tags":["Advisory","Oval"]},{"url":"https://access.redhat.com/errata/RHSA-2026:26274","label":"access.redhat.com/errata/RHSA-2026:26274","hostname":"access.redhat.com","tags":["Advisory"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_26274.json","label":"security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_26274.json","hostname":"security.access.redhat.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-40386","label":"ubuntu.com/security/CVE-2026-40386","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-8531-1","label":"ubuntu.com/security/notices/USN-8531-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-40386","label":"security-tracker.debian.org/tracker/CVE-2026-40386","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["MGASA-2026-0112","OPENSUSE-SU-2026:10717-1","OPENSUSE-SU-2026:21023-1","RHSA-2026:20929","RHSA-2026:22553","RHSA-2026:26190","RHSA-2026:26191","RHSA-2026:26192","RHSA-2026:26224","RHSA-2026:26276","RHSA-2026:26292","RHSA-2026:26567","SUSE-SU-2026:22324-1","SUSE-SU-2026:2837-1","SUSE-SU-2026:2838-1","USN-8531-1"],"duplicates":[],"related":["OPENSUSE-SU-2026:10717-1","OPENSUSE-SU-2026:21023-1","SUSE-SU-2026:22324-1","SUSE-SU-2026:2837-1","SUSE-SU-2026:2838-1","USN-8531-1"]},"timeline":[{"kind":"published","date":"2026-04-12T18:19:08.684Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-04-14T16:33:07.044Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":28,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T04:26:02.207Z","stale":false,"partial":false}}