{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-35737","id":"CVE-2022-35737","title":"`libsqlite3-sys` via C SQLite improperly validates array index","description":"SQLite 1.0.12 through 3.39.x before 3.39.2 sometimes allows an array-bounds overflow if billions of bytes are used in a string argument to a C API.","descriptionLong":"SQLite 1.0.12 through 3.39.x before 3.39.2 sometimes allows an array-bounds overflow if billions of bytes are used in a string argument to a C API.","published":"2022-08-03T00:00:00.000Z","updated":"2026-10-28T02:30:54.893724146Z","reserved":"2022-07-13T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"CISA-ADP"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"OSV"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"GitHub"}],"rating":"high","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"version":"n/a","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"crates.io","name":"libsqlite3-sys","purl":"pkg:cargo/libsqlite3-sys","ranges":["<0.25.1",">=0.0.0-0 <0.25.1"],"fixed":["0.25.1"],"advisory":"GHSA-jw36-hf63-69r9"}],"cwes":["CWE-129"],"aliases":["BIT-sqlite-2022-35737","GHSA-jw36-hf63-69r9","RUSTSEC-2022-0090"],"references":[{"url":"https://www.sqlite.org/cves.html","tags":["x_transferred","Vendor Advisory","web"]},{"url":"https://kb.cert.org/vuls/id/720344","tags":["x_transferred","Broken Link","Third Party Advisory","US Government Resource","web"]},{"url":"https://sqlite.org/releaselog/3_39_2.html","tags":["x_transferred","Release Notes","Vendor Advisory","web"]},{"url":"https://security.netapp.com/advisory/ntap-20220915-0009/","tags":["x_transferred","Third Party Advisory","advisory"]},{"url":"https://blog.trailofbits.com/2022/10/25/sqlite-vulnerability-july-2022-library-api/","tags":["x_transferred","Exploit","Third Party Advisory","article"]},{"url":"https://security.gentoo.org/glsa/202210-40","tags":["vendor-advisory","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-398330.html","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/35xxx/CVE-2022-35737.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-35737","tags":["advisory","web"]},{"url":"https://blog.trailofbits.com/2022/10/25/sqlite-vulnerability-july-2022-library-api","tags":["web"]},{"url":"https://github.com/rusqlite/rusqlite","tags":["package"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2022-0090.html","tags":["web","advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20220915-0009","tags":["web"]},{"url":"https://crates.io/crates/libsqlite3-sys","tags":["package"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial"},"epss":0.23575,"epssPercentile":0.97849,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-35737","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-35737","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-35737","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-jw36-hf63-69r9","ok":true,"note":"GHSA-jw36-hf63-69r9"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-35737","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":["EPSS 24% with CVSS 7.5"],"attention":null}