{"schemaVersion":3,"id":"CVE-2025-7458","aliases":["UBUNTU-CVE-2025-7458","DEBIAN-CVE-2025-7458"],"status":"published","duplicateOf":null,"title":null,"description":"An integer overflow in the sqlite3KeyInfoFromExprList function in SQLite versions 3.39.2 through 3.41.1 allows an attacker with the ability to execute arbitrary SQL statements to cause a denial of service or disclose sensitive information from process memory via a crafted SELECT statement with a large number of expressions in the ORDER BY clause.","dates":{"published":"2025-07-29T12:43:19.427Z","modified":"2025-07-29T13:30:52.617Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.1,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"NVD","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":"4.0","versionLabel":"v4.0","source":"CVE.org","score":6.9,"severity":"medium","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:L/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Ubuntu","score":6.9,"severity":"medium","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:L/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"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":"4.0","versionLabel":"v4.0","source":"NVD","score":6.9,"severity":"medium","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":false},{"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.00252,"percentile":0.15599,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0.014999999999999996,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00237},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00237,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00237,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00237,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00237,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00237,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00237,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00237,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00237,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00237,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00237,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00237,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00237,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00237,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00237,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00237,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00237,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00237,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00237,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00237,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00237,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00237,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00237,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00237,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00237,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00237,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00237,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00237,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00237,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00237,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00237,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00237,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00237,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00237,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00237,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00237,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00252,"percentile":0.15599}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00237,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00237,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00237,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00237,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00237,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00237,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00237,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00237,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00237,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00237,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00237,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00237,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00237,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00237,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00237,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00237,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00237,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00237,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00237,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00237,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00237,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00237,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00237,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00237,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00237,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00237,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00237,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00237,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00237,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00237,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00252,"percentile":0.15599}]},"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-190","name":"Integer Overflow or Wraparound","description":"The product performs a calculation that can\n         produce an integer overflow or wraparound when the logic\n         assumes that the resulting value will always be larger than\n         the original value. This occurs when an integer value is\n         incremented to a value that is too large to store in the\n         associated representation. When this occurs, the value may\n         become a very small or negative number.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/190.html"}],"affected":[{"vendor":"debian","product":"sqlite3","name":"sqlite3","label":"sqlite3","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/sqlite3","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 3.42.0-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"All versions (No fix recorded) | < 3.42.0-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"sqlite","name":"sqlite","label":"sqlite","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/sqlite","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"sqlite","product":"sqlite","name":"sqlite","label":"sqlite","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 3.39.2, < 3.41.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 3.39.2, < 3.41.2","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"sqlite","label":"SQLite","category":"database"}},"hubHref":"/vendor/sqlite/sqlite"}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://sqlite.org/forum/forumpost/16ce2bb7a639e29b","label":"sqlite.org/forum/forumpost/16ce2bb7a639e29b","hostname":"sqlite.org","tags":["REPORT","Issue Tracking"]},{"url":"https://sqlite.org/src/info/12ad822d9b827777","label":"sqlite.org/src/info/12ad822d9b827777","hostname":"sqlite.org","tags":["Patch","REPORT"]},{"url":"https://ubuntu.com/security/CVE-2025-7458","label":"ubuntu.com/security/CVE-2025-7458","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-7458","label":"www.cve.org/CVERecord?id=CVE-2025-7458","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2025-7458","label":"security-tracker.debian.org/tracker/CVE-2025-7458","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-7458","label":"nvd.nist.gov/vuln/detail/CVE-2025-7458","hostname":"nvd.nist.gov","tags":["Oval","Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2025-07-29T12:43:19.427Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-07-29T13:30:52.617Z","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-20T08:25:20.744Z","stale":false,"partial":false}}