{"schemaVersion":3,"id":"CVE-2026-14740","aliases":["ALPINE-CVE-2026-14740","UBUNTU-CVE-2026-14740","DEBIAN-CVE-2026-14740"],"status":"published","duplicateOf":null,"title":null,"description":"DBI versions before 1.650 for Perl read one byte out-of-bounds in preparse when deleting an initial SQL comment.\n\nThe preparse method normalises SQL and removes comments. When the SQL starts with a comment line, the deletion of that line during normalisation led to an out-of-bounds read by one byte. The result is a fault on memory-hardened builds and nondeterministic newline retention on normal builds.","dates":{"published":"2026-07-07T22:05:45.077Z","modified":"2026-07-08T13:59:33.009Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.1,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/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":9.1,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Alpine","score":9.1,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","exploitability":10,"impact":8.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":9.1,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","exploitability":10,"impact":8.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":9.1,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","exploitability":10,"impact":8.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":9.1,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00387,"percentile":0.31548,"severity":"low","asOf":"2026-10-22T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-22T00:00:00.000Z","baselineScore":0.00387},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.00387,"percentile":0.31548}],"last30":[{"date":"2026-09-22T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.00387,"percentile":0.31548}]},"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-125","name":"Out-of-bounds Read","description":"The product reads data past the end, or before the beginning, of the intended buffer.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/125.html"}],"affected":[{"vendor":"alpine","product":"perl-dbi","name":"perl-dbi","label":"perl-dbi","ecosystem":"Alpine Linux","cpePart":null,"purl":"pkg:apk/alpine/perl-dbi","purlType":"apk","versions":[{"text":"< 1.651-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.651-r0","eol":null,"hubHref":null},{"vendor":"debian","product":"libdbi-perl","name":"libdbi-perl","label":"libdbi-perl","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/libdbi-perl","purlType":"deb","versions":[{"text":"< 1.643-4+deb12u2","noFixRecorded":false,"fixedIn":null},{"text":"< 1.652-2~deb13u1","noFixRecorded":false,"fixedIn":null},{"text":"< 1.650-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.643-4+deb12u2 | < 1.652-2~deb13u1 | < 1.650-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"libdbi-perl","name":"libdbi-perl","label":"libdbi-perl","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/libdbi-perl","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"hmbrand","product":"dbi","name":"DBI","label":"dbi","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 1.650","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.650","eol":null,"hubHref":"/vendor/hmbrand/dbi"},{"vendor":"perl","product":"dbi","name":"dbi","label":"dbi","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 1.650","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.650","eol":null,"hubHref":"/vendor/perl/dbi"}],"affectedCount":5,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/perl5-dbi/dbi/commit/fc16f9e8b3dd5c65caf1867781ab2bfe2fadcc01.patch","label":"github.com/perl5-dbi/dbi/commit/fc16f9e8b3dd5c65caf1867781ab2bfe2fadcc01.patch","hostname":"github.com","tags":["Patch"]},{"url":"https://github.com/perl5-dbi/dbi/security/advisories/GHSA-35f4-f8m9-w8xg","label":"github.com/perl5-dbi/dbi/security/advisories/GHSA-35f4-f8m9-w8xg","hostname":"github.com","tags":["Vendor Advisory","REPORT"]},{"url":"https://metacpan.org/release/HMBRAND/DBI-1.650/changes","label":"metacpan.org/release/HMBRAND/DBI-1.650/changes","hostname":"metacpan.org","tags":["Release Notes"]},{"url":"http://www.openwall.com/lists/oss-security/2026/07/07/17","label":"www.openwall.com/lists/oss-security/2026/07/07/17","hostname":"www.openwall.com","tags":["Mailing List","Patch","Third Party Advisory"]},{"url":"https://security.alpinelinux.org/vuln/CVE-2026-14740","label":"security.alpinelinux.org/vuln/CVE-2026-14740","hostname":"security.alpinelinux.org","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-14740","label":"ubuntu.com/security/CVE-2026-14740","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-14740","label":"www.cve.org/CVERecord?id=CVE-2026-14740","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://lists.security.metacpan.org/cve-announce/msg/41625532/","label":"lists.security.metacpan.org/cve-announce/msg/41625532/","hostname":"lists.security.metacpan.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-14740","label":"security-tracker.debian.org/tracker/CVE-2026-14740","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-14740","label":"nvd.nist.gov/vuln/detail/CVE-2026-14740","hostname":"nvd.nist.gov","tags":["Oval","Advisory"]}],"lineage":{"upstream":[],"downstream":["MGASA-2026-0308","OPENSUSE-SU-2026:11234-1","OPENSUSE-SU-2026:21293-1","SUSE-SU-2026:22592-1","SUSE-SU-2026:22623-1","SUSE-SU-2026:3283-1","SUSE-SU-2026:3415-1","SUSE-SU-2026:3461-1"],"duplicates":[],"related":["OPENSUSE-SU-2026:11234-1","OPENSUSE-SU-2026:21293-1","SUSE-SU-2026:22592-1","SUSE-SU-2026:22623-1","SUSE-SU-2026:3283-1","SUSE-SU-2026:3415-1","SUSE-SU-2026:3461-1"]},"timeline":[{"kind":"published","date":"2026-07-07T22:05:45.077Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-07-08T13:59:33.009Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-22T15:18:46.382Z","stale":false,"partial":false}}