← console
voxell vciy

CVE-2017-16082

RECORD

Description revised (poc_count, poc_public, poc_url). The record changed; nothing in the observed threat did.

CVE record, CISA KEV and EPSS as of 2026-12-06.

CVEs like this one computed, by meaning

What to do now held facts and links

  1. Upgrade to the fixed version for your release line, or later: pg 2.11.2; pg 3.6.4; pg 4.5.7; pg 5.2.1; pg 6.4.2; pg 7.1.2 upper bounds of the CVE record's affected ranges
  2. Record your decision, dated and frozen with today's evidence: patch by a date · mitigated by a compensating control · deferred · accepted the risk · not affected
  3. Check your version against the ranges this record publishes.

What it is stated by the CNA

A remote code execution vulnerability was found within the pg module when the remote database or query specifies a specially crafted column name. There are 2 likely scenarios in which one would likely be vulnerable. 1) Executing unsafe, user-supplied sql which contains a malicious column name. 2) Connecting to an untrusted database and executing a query which returns results where any of the column names are malicious.

weakness
CWE-94 Code Injection (CWE-94)
affected
HackerOne pg node module
published ranges
node-postgres pg >= 2.0.0 < 2.11.2; node-postgres pg >= 3.0.0 < 3.6.4; node-postgres pg >= 4.0.0 < 4.5.7; node-postgres pg > 5.0.0 < 5.2.1; and 2 more on the CVE page
first unaffected version, by branch
pg 2.11.2; pg 3.6.4; pg 4.5.7; pg 5.2.1; pg 6.4.2; pg 7.1.2
fixed by package (from OSV advisories)
pg (npm): 2.11.2; 3.6.4; 4.5.7; 5.2.1; 6.0.5; 6.1.6; 6.2.5; 6.3.3; 6.4.2; 7.0.2; 7.1.2 GHSA-wc9v-mj63-m9g5
assigned by
hackerone
published
2018-06-07

check us node-postgres.com nodesecurity.io

Exploit code held, dated

exploit code
1 public proof-of-concept repository, first seen 2018-11-27 (PoC-in-GitHub).

What moved held, dated

dateEPSSevent
14 Apr 20210.05885
4 Feb 20220.2385crossed 0.10
3 Mar 20230.21929
7 Mar 20230.02311crossed 0.10 · scoring model v2023.03.01
5 Mar 20240.13767crossed 0.10
10 Aug 20240.04995crossed 0.10
13 Aug 20240.14246crossed 0.10
17 Mar 20250.62391crossed 0.50 · scoring model v2025.03.14
20 Mar 20250.44752crossed 0.50
24 Mar 20250.62391crossed 0.50
15 Jun 20260.10513crossed 0.50 · scoring model v2026.06.15
23 Aug 20260.07139crossed 0.10
30 Aug 20260.10524crossed 0.10
5 Sep 20260.07146crossed 0.10
6 Sep 20260.10524crossed 0.10
12 Oct 20260.10609
14 Oct 20260.1045
28 Nov 20260.10259

32 observations held. A step marked with a scoring model moved because the measurement was replaced, not because the vulnerability changed.

Outside the record model-written, researched, cited

This section reads the record's references and adds cited findings from outside it. It needs an account. Everything above is held facts and is complete without it.

Get started with CVE-2017-16082 (20s setup) Triage in Vesper (no login) · Sign in to add the researched section

What would change this brief held, dated

CISA KEV
Not listed in the catalogue we hold. A listing changes this brief.
exploit probability
0.10 on 2026-11-28 (FIRST's EPSS, a probability and not evidence of exploitation). Next band line: 50% (0.50). Crossing a line changes this brief.
fix
Held: pg 2.11.2; pg 3.6.4; pg 4.5.7; pg 5.2.1; pg 6.4.2; pg 7.1.2. A newer fix from the CNA or OSV changes this brief.

Watch this CVE Guided 20s setup · What counts as a move

How to check this

Every value above is held with two dates: when it was true upstream (as_of) and when we recorded it (tx_from). Re-derive the exploit probability as it stood on any date:

SELECT value, source, source_version, as_of, tx_from
FROM volatile_valid_as_of('CVE-2017-16082', '2026-12-06T23:59:59.999999Z', now());