Denial of Service (DoS)
Published Jun 17, 2022
7.5
HIGHCVSS 3.1
EPSS 1.38%
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.
Affected products
- Vendor n/a Product Libpq Defaultn/a
- Version 0StatusaffectedConstraints<unspecified
- Version
- Vendor n/a Product PG-Native Defaultn/a
- Version 0StatusaffectedConstraints<unspecified
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| n/a | Libpq | n/a |
| ||||||
| n/a | PG-Native | n/a |
|
- n/a
- n/a
No data.
No Red Hat product state for this CVE.
libpq
npm
Introduced 0 Fixed 1.8.10pg-native
npm
Introduced 0 Fixed 3.0.1
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| npm | libpq | 0 | 1.8.10 |
| npm | pg-native | 0 | 3.0.1 |
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
1 other source (CVE.org) ▾
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P
No CVSS v3.0 score for this CVE.
AV:N/AC:L/Au:N/C:N/I:N/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (13 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 1.38% (0.01378) | 71.08th | v5 (v2026.06.15) |
| Jun 15, 2026 | 1.24% (0.01244) | 65.28th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.09% (0.00086) | 22.56th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.07% (0.00074) | 33.96th | v3 (v2023.03.01) |
| May 22, 2024 | 0.07% (0.00074) | 31.66th | v3 (v2023.03.01) |
| Nov 28, 2023 | 0.07% (0.00071) | 29.64th | v3 (v2023.03.01) |
| Jul 20, 2023 | 0.06% (0.00064) | 26.41th | v3 (v2023.03.01) |
| Jun 24, 2023 | 0.06% (0.00057) | 21.74th | v3 (v2023.03.01) |
| May 18, 2023 | 0.05% (0.00053) | 18.98th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.05% (0.00046) | 13.98th | v3 (v2023.03.01) |
| Mar 6, 2023 | 0.89% (0.00885) | 27.89th | v2 (v2022.01.01) |
| Dec 27, 2022 | 0.89% (0.00885) | 27.27th | v2 (v2022.01.01) |
| Jun 18, 2022 | 0.89% (0.00885) | 25.27th | v2 (v2022.01.01) |
References (6)
- https://github.com/advisories/GHSA-j32j-2hxv-rqf7 Advisory
- https://github.com/brianc/node-libpq/issues/84
- https://github.com/brianc/node-libpq/pull/86
- https://nvd.nist.gov/vuln/detail/CVE-2022-25852
- https://snyk.io/vuln/SNYK-JS-LIBPQ-2392366 x_refsource_MISCExploitThird Party Advisory
- https://snyk.io/vuln/SNYK-JS-PGNATIVE-2392365 x_refsource_MISCExploitThird Party Advisory
| Link | Providers | Tags |
|---|---|---|
| https://github.com/advisories/GHSA-j32j-2hxv-rqf7 | Advisory | |
| https://github.com/brianc/node-libpq/issues/84 | ||
| https://github.com/brianc/node-libpq/pull/86 | ||
| https://nvd.nist.gov/vuln/detail/CVE-2022-25852 | ||
| https://snyk.io/vuln/SNYK-JS-LIBPQ-2392366 | x_refsource_MISCExploitThird Party Advisory | |
| https://snyk.io/vuln/SNYK-JS-PGNATIVE-2392365 | x_refsource_MISCExploitThird Party Advisory |
Change history (0)
No recorded changes yet.