Read the docs
TI-2022-09418 Aliases CVE-2022-25852GHSA-j32j-2hxv-rqf7

Denial of service (DoS) in pg-native

Priority LOW 36CWE-704Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-704 and the CVSS impact.

Summary

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.

Why it matters now

EPSS 0.01399 72nd percentileScored 2026-11-07
Fix Fixed libpq (npm): 1.8.10pg-native (npm): 3.0.1

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—pg-nativeall versions—No fix listedCNA
—libpqall versions—No fix listedCNA
—libpq (npm)before 1.8.101.8.10Patch availableGHSA-j32j-2hxv-rqf7
—pg-native (npm)before 3.0.13.0.1Patch availableGHSA-j32j-2hxv-rqf7
  • pg-native Vendor— Affected all versions Fixed in — No fix listed CNA
  • libpq Vendor— Affected all versions Fixed in — No fix listed CNA
  • libpq (npm) Vendor— Affected before 1.8.10 Fixed in 1.8.10 Patch available GHSA-j32j-2hxv-rqf7
  • pg-native (npm) Vendor— Affected before 3.0.1 Fixed in 3.0.1 Patch available GHSA-j32j-2hxv-rqf7

CPE configurations NVD · 2

CPEVersionsRoleVendor
cpe:2.3:a:libpq_project:libpq:*:*:*:*:*:node.js:*:*all versionsVulnerableLibpq Project
cpe:2.3:a:pg-native_project:pg-native:*:*:*:*:*:node.js:*:*all versionsVulnerablePg-native Project
  • cpe:2.3:a:libpq_project:libpq:*:*:*:*:*:node.js:*:* Versions all versions Vulnerable ·Libpq Project
  • cpe:2.3:a:pg-native_project:pg-native:*:*:*:*:*:node.js:*:* Versions all versions Vulnerable ·Pg-native Project

Remediation

  • Fix · GHSA-j32j-2hxv-rqf7 libpq (npm) Fixed in 1.8.10 Advisory →
  • Fix · GHSA-j32j-2hxv-rqf7 pg-native (npm) Fixed in 3.0.1 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2022-25852
  2. 2026-10-03 Alias added: GHSA-j32j-2hxv-rqf7

References

Sources