# CVE-2022-35737: `libsqlite3-sys` via C SQLite improperly validates array index

- Severity: High 7.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 19.3%, higher than 98% of CVEs (2026-11-29)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-08-03T00:00:00.000Z
- Modified: 2026-10-14T18:17:01.163Z
- Also known as: GHSA-jw36-hf63-69r9, BIT-SQLITE-2022-35737, RUSTSEC-2022-0090
- Weaknesses: CWE-129
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- libsqlite3-sys (crates.io): before 0.25.1; from 0.0.0-0 before 0.25.1
- sqlite sqlite: from 1.0.12 before 3.39.2
- netapp ontap_select_deploy_administration_utility: no versions given
- splunk universal_forwarder: from 8.2.0 before 8.2.12; from 9.0.0 before 9.0.6; 9.1.0
- sqlite (Bitnami): from 1.0.12 before 3.39.2

## Every score

- CISA-ADP: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- RustSec Advisory Database: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Bitnami Vulnerability Database: rating High

## References

- <https://blog.trailofbits.com/2022/10/25/sqlite-vulnerability-july-2022-library-api/> (exploit, advisory, third-party-advisory)
- <https://www.sqlite.org/cves.html> (advisory, vendor-advisory, web)
- <https://kb.cert.org/vuls/id/720344> (advisory, broken-link, third-party-advisory, us-government-resource, web)
- <https://sqlite.org/releaselog/3_39_2.html> (advisory, release-notes, vendor-advisory, web)
- <https://security.netapp.com/advisory/ntap-20220915-0009/> (advisory, third-party-advisory)
- <https://security.gentoo.org/glsa/202210-40> (advisory, third-party-advisory, 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://blog.trailofbits.com/2022/10/25/sqlite-vulnerability-july-2022-library-api> (web)
- <https://github.com/rusqlite/rusqlite> (package)
- <https://rustsec.org/advisories/RUSTSEC-2022-0090.html> (advisory, web)
- <https://security.netapp.com/advisory/ntap-20220915-0009> (web)
- <https://crates.io/crates/libsqlite3-sys> (package)

## Sources

- CVE List: [CVE-2022-35737](https://www.cve.org/CVERecord?id=CVE-2022-35737), CVE Terms of Use, modified 2026-10-14
- GitHub Advisory Database: [GHSA-jw36-hf63-69r9](https://github.com/advisories/GHSA-jw36-hf63-69r9), CC-BY-4.0, modified 2024-03-27
- RustSec Advisory Database: [RUSTSEC-2022-0090](https://rustsec.org/advisories/RUSTSEC-2022-0090.html), CC0-1.0, modified 2023-12-06
- NVD: [CVE-2022-35737](https://nvd.nist.gov/vuln/detail/CVE-2022-35737), Public domain, modified 2026-10-14
- Bitnami Vulnerability Database: [BIT-SQLITE-2022-35737](https://osv.dev/vulnerability/BIT-SQLITE-2022-35737), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2022-35737 · Whole record: https://cve.day/CVE-2022-35737.json · Rebuilt by cve.day 2026-11-25T22:58:13.373Z
