CVE-2022-35737
HIGH 7.5CVSS 3.1`libsqlite3-sys` via C SQLite improperly validates array index
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
- 3 Aug 2022
- Last modified
- 14 Oct 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-129
- Also known as
- BIT-sqlite-2022-35737GHSA-jw36-hf63-69r9RUSTSEC-2022-0090
- Sources
- NVDJSONOSV GHSA-jw36-hf63-69r9JSONOSV RUSTSEC-2022-0090JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | RustSec | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | sqlite | sqlitecpe:2.3:a:sqlite:sqlite:*:*:*:*:*:*:*:* |
>= 1.0.12, < 3.39.2 | 3.39.2 |
| NVD | netapp | ontap_select_deploy_administration_utilitycpe:2.3:a:netapp:ontap_select_deploy_administration_utility:-:*:*:*:*:*:*:* |
(no version) | |
| NVD | splunk | universal_forwardercpe:2.3:a:splunk:universal_forwarder:*:*:*:*:*:*:*:* |
>= 8.2.0, < 8.2.12 | 8.2.12 |
| NVD | splunk | universal_forwardercpe:2.3:a:splunk:universal_forwarder:*:*:*:*:*:*:*:* |
>= 9.0.0, < 9.0.6 | 9.0.6 |
| NVD | splunk | universal_forwardercpe:2.3:a:splunk:universal_forwarder:9.1.0:*:*:*:*:*:*:* |
= 9.1.0 | |
| OSV | crates.io | libsqlite3-sys | < 0.25.1 | 0.25.1 |
| OSV | crates.io | libsqlite3-sys | >= 0.0.0-0, < 0.25.1 | 0.25.1 |
References
- https://blog.trailofbits.com/2022/10/25/sqlite-vulnerability-july-2022-library-api/ · Exploit, Third Party Advisory, WEB
- https://kb.cert.org/vuls/id/720344 · Broken Link, Third Party Advisory, US Government Resource, WEB
- https://security.gentoo.org/glsa/202210-40 · Third Party Advisory, WEB
- https://security.netapp.com/advisory/ntap-20220915-0009/ · Third Party Advisory, WEB
- https://sqlite.org/releaselog/3_39_2.html · Release Notes, Vendor Advisory, WEB
- https://www.sqlite.org/cves.html · Vendor Advisory, WEB
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html
- https://nvd.nist.gov/vuln/detail/CVE-2022-35737 · ADVISORY, WEB
- https://github.com/rusqlite/rusqlite · PACKAGE
- https://rustsec.org/advisories/RUSTSEC-2022-0090.html · WEB, ADVISORY
- https://crates.io/crates/libsqlite3-sys · PACKAGE
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 3 Aug 2022)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 3 Aug 2022)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 4 Aug 2022)