CVE-2022-25852

Denial of Service (DoS)

HIGH
7.5
CVSS Score
Published: June 17, 2022 at 08:05 PM UTC
Updated: June 17, 2026 at 04:34 AM UTC
2 products affected across 2 vendorsLibpqPg Native

Using pg-native by N/A?

Get instant alerts when new vulnerabilities affect pg-native - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.5
Exploit prediction
EPSS 1%

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

All versions

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

References (2)

x_refsource_MISCExploitThird Party Advisory
https://snyk.io/vuln/SNYK-JS-LIBPQ-2392366
x_refsource_MISCExploitThird Party Advisory
https://snyk.io/vuln/SNYK-JS-PGNATIVE-2392365

CVSS

7.5HIGHsnyk
Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-704

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card