CVE-2022-25852
published high CVSS 3.1 · 7.5Denial of Service (DoS)
Package status and fixes
Description
All versions of package pg-native; all versions of package libpq are vulnerable to Denial of Service (DoS) when the addons attempt to cast the second argument to an array and fail. This happens for every non-array argument passed. **Note:** pg-native is a mere binding to npm's libpq library, which in turn has the addons and bindings to the actual C libpq library. This means that problems found in pg-native may transitively impact npm's libpq.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- snyk · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | pg-native | 0 to < unspecified (affected · custom) | snyk · cna |
| n/a | libpq | 0 to < unspecified (affected · custom) | snyk · cna |
Weaknesses
1- Denial of Service (DoS)
References
2Provider assertions
2snyk · cna
Denial of Service (DoS)
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- ec81794505ea73ec62ee1ba00659af165f444623b76af823a29e671c9276c58c
- Ingested
- 23 Sep 2026, 07:59:05 UTC
- Source record
- Official CVE record