# CVE-2022-21227: Denial of Service (DoS)

- Priority: **Prioritise**
- Reason: Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 2% (FIRST, 04-12-2026)
- Next step: Check applicability: affected before 5.0.3 (CNA); fix release not confirmed
- Status: published
- Published: 2022-05-01 · Modified: 2024-09-16
- Aliases: UBUNTU-CVE-2022-21227, DEBIAN-CVE-2022-21227, GHSA-9qrh-qjmc-5w2p
- Record: https://cvemate.com/vulnerability/CVE-2022-21227 · JSON: https://cvemate.com/vulnerability/CVE-2022-21227/json

## Description

```text
The package sqlite3 before 5.0.3 are vulnerable to Denial of Service (DoS) which will invoke the toString function of the passed parameter. If passed an invalid Function object it will throw and crash the V8 engine.
```

## Signals

- CVSS: 7.5 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P
- EPSS: 2.213%, percentile 83.218%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian node-sqlite3 (Debian): \< 5.0.6+ds1-1
- ubuntu node-sqlite3 (Ubuntu): All versions (No fix recorded)
- ghost sqlite3: \< 5.0.3
- Npm sqlite3 (Npm): ≥ 5.0.0, \< 5.0.3

## References

- <https://snyk.io/vuln/SNYK-JS-SQLITE3-2388645>
- <https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2805470>
- <https://github.com/TryGhost/node-sqlite3/commit/593c9d498be2510d286349134537e3bf89401c4a>
- <https://ubuntu.com/security/CVE-2022-21227>
- <https://github.com/advisories/GHSA-9qrh-qjmc-5w2p>
- <https://security.snyk.io/vuln/SNYK-JS-SQLITE3-2388645>
- <https://www.cve.org/CVERecord?id=CVE-2022-21227>
- <https://security-tracker.debian.org/tracker/CVE-2022-21227>
- <https://github.com/TryGhost/node-sqlite3/security/advisories/GHSA-9qrh-qjmc-5w2p>
- <https://nvd.nist.gov/vuln/detail/CVE-2022-21227>
- <https://github.com/TryGhost/node-sqlite3/issues/1440>
- <https://github.com/TryGhost/node-sqlite3/issues/1449>
- <https://github.com/TryGhost/node-sqlite3>

---

Data as of 2026-12-05T09:21:54.862Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
