Skip to content
Fencer Intel
high 8.1

CVE-2017-15098 json

Invalid json_populate_recordset or jsonb_populate_recordset function calls in PostgreSQL 10.x before 10.1, 9.6.x before 9.6.6, 9.5.x before…

published 2017-11-22 8 y ago modified 2026-06-17 4 mo ago also EUVD-2017-6565

cvss
8.1
version 3.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
3.7%
EPSS 3.7% chance of exploitation in 30 days, percentile 89%
public exploits
0
none known

Summary

Invalid json_populate_recordset or jsonb_populate_recordset function calls in PostgreSQL 10.x before 10.1, 9.6.x before 9.6.6, 9.5.x before 9.5.10, 9.4.x before 9.4.15, and 9.3.x before 9.3.20 can crash the server or disclose a few bytes of server memory.

Patch / fix

  • postgresql-9.3 Ubuntu 14.04 LTS 9.3.20-0ubuntu0.14.04
  • postgresql-9.5 Ubuntu 16.04 LTS 9.5.10-0ubuntu0.16.04

ubuntu advisories UBUNTU-CVE-2017-15098

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • rh-postgresql96-postgresql RHEL 3 SOFTWARE_COLLECTIONS 9.6.10-1.el6
  • rh-postgresql96-postgresql RHEL 3 SOFTWARE_COLLECTIONS 9.6.10-1.el7
  • rh-postgresql96-postgresql-libs RHEL 3 SOFTWARE_COLLECTIONS 9.6.10-1.el6
  • rh-postgresql96-postgresql-libs RHEL 3 SOFTWARE_COLLECTIONS 9.6.10-1.el7
  • rh-postgresql96-postgresql-test RHEL 3 SOFTWARE_COLLECTIONS 9.6.10-1.el6
  • rh-postgresql96-postgresql-test RHEL 3 SOFTWARE_COLLECTIONS 9.6.10-1.el7
  • rh-postgresql96-postgresql-pltcl RHEL 3 SOFTWARE_COLLECTIONS 9.6.10-1.el6
  • rh-postgresql96-postgresql-pltcl RHEL 3 SOFTWARE_COLLECTIONS 9.6.10-1.el7

red hat advisories RHSA-2018:2566RHSA-2018:2511

  • postgresql94 SLES for SAP 12 SP2, SLES for Raspberry Pi 12 SP2, SLES 12 SP2 +1 more 9.4.15-21.13.1
  • postgresql94-libs SLE Software Development Kit 12 SP2 9.4.15-21.13.1
  • postgresql94 SLES for SAP 11 SP4, SLES 11 SP4 9.4.15-0.23.10.1
  • postgresql94-libs SLES for SAP 11 SP4, SLES 11 SP4, SLE Software Development Kit 11 SP4 9.4.15-0.23.10.1
  • postgresql96 SLES for SAP 12 SP3, SLES for SAP 12 SP2, SLES for Raspberry Pi 12 SP2 +4 more 9.6.6-3.10.1
  • postgresql96-libs SLES for SAP 12 SP3, SLES for SAP 12 SP2, SLES for Raspberry Pi 12 SP2 +6 more 9.6.6-3.10.1

suse advisories SUSE-SU-2018:0081-1SUSE-SU-2018:0077-1SUSE-SU-2017:3391-1

  • postgresql10 openSUSE Tumbleweed 10.18-1.3

opensuse advisories openSUSE-SU-2024:11184-1

  • postgresql Alpine 3.14, Alpine 3.13, Alpine 3.12 +5 more 10.1-r0
  • postgresql Alpine 3.3 9.4.15-r0
  • postgresql Alpine 3.4 9.5.10-r0
  • postgresql Alpine 3.6, Alpine 3.5 9.6.6-r0
  • postgresql14 Alpine 3.20, Alpine 3.19, Alpine 3.18 +3 more 10.1-r0
  • postgresql15 Alpine 3.20, Alpine 3.19, Alpine 3.18 +1 more 10.1-r0

alpine advisories ALPINE-CVE-2017-15098

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • postgresql Arch Linux 10.1-1
  • postgresql-old-upgrade Arch Linux 9.6.6-1

arch linux advisories AVG-485AVG-486

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2017-15098 updated cvss 7.1

postgresql: Memory disclosure in JSON functions

  • Red Hat Software Collections rh-postgresql94-postgresql, rh-postgresql94-postgresql-libs, rh-postgresql94-postgresql-test, rh-postgresql94-postgresql-pltcl, rh-postgresql94-postgresql-plperl, rh-postgresql94-postgresql-server, +3 more
    affected: no fix planned “Will not fix”
  • Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6) rh-postgresql95-postgresql 9.5.14-1.el6, rh-postgresql96-postgresql 9.6.10-1.el6, rh-postgresql95-postgresql-libs 9.5.14-1.el6, rh-postgresql95-postgresql-test 9.5.14-1.el6, rh-postgresql96-postgresql-libs 9.6.10-1.el6, rh-postgresql96-postgresql-test 9.6.10-1.el6, +13 more Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) rh-postgresql95-postgresql 9.5.14-1.el7, rh-postgresql96-postgresql 9.6.10-1.el7, rh-postgresql95-postgresql-libs 9.5.14-1.el7, rh-postgresql95-postgresql-test 9.5.14-1.el7, rh-postgresql96-postgresql-libs 9.6.10-1.el7, rh-postgresql96-postgresql-test 9.6.10-1.el7, +13 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.7) rh-postgresql95-postgresql 9.5.14-1.el6, rh-postgresql96-postgresql 9.6.10-1.el6, rh-postgresql95-postgresql-libs 9.5.14-1.el6, rh-postgresql95-postgresql-test 9.5.14-1.el6, rh-postgresql96-postgresql-libs 9.6.10-1.el6, rh-postgresql96-postgresql-test 9.6.10-1.el6, +13 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.3) rh-postgresql95-postgresql 9.5.14-1.el7, rh-postgresql96-postgresql 9.6.10-1.el7, rh-postgresql95-postgresql-libs 9.5.14-1.el7, rh-postgresql95-postgresql-test 9.5.14-1.el7, rh-postgresql96-postgresql-libs 9.6.10-1.el7, rh-postgresql96-postgresql-test 9.6.10-1.el7, +13 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.4) rh-postgresql95-postgresql 9.5.14-1.el7, rh-postgresql96-postgresql 9.6.10-1.el7, rh-postgresql95-postgresql-libs 9.5.14-1.el7, rh-postgresql95-postgresql-test 9.5.14-1.el7, rh-postgresql96-postgresql-libs 9.6.10-1.el7, rh-postgresql96-postgresql-test 9.6.10-1.el7, +13 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.5) rh-postgresql95-postgresql 9.5.14-1.el7, rh-postgresql96-postgresql 9.6.10-1.el7, rh-postgresql95-postgresql-libs 9.5.14-1.el7, rh-postgresql95-postgresql-test 9.5.14-1.el7, rh-postgresql96-postgresql-libs 9.6.10-1.el7, rh-postgresql96-postgresql-test 9.6.10-1.el7, +13 more
    +2 more products
    Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6) rh-postgresql95-postgresql 9.5.14-1.el6, rh-postgresql96-postgresql 9.6.10-1.el6, rh-postgresql95-postgresql-libs 9.5.14-1.el6, rh-postgresql95-postgresql-test 9.5.14-1.el6, rh-postgresql96-postgresql-libs 9.6.10-1.el6, rh-postgresql96-postgresql-test 9.6.10-1.el6, +13 more Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) rh-postgresql95-postgresql 9.5.14-1.el7, rh-postgresql96-postgresql 9.6.10-1.el7, rh-postgresql95-postgresql-libs 9.5.14-1.el7, rh-postgresql95-postgresql-test 9.5.14-1.el7, rh-postgresql96-postgresql-libs 9.6.10-1.el7, rh-postgresql96-postgresql-test 9.6.10-1.el7, +13 more
    fixed: vendor fix RHSA-2018:2511
  • Red Hat Enterprise Linux 5 postgresql, postgresql84 Red Hat Enterprise Linux 6 postgresql, postgresql-libs, postgresql-test, postgresql-pltcl, postgresql-plperl, postgresql-server, +2 more Red Hat Enterprise Linux 7 postgresql, postgresql-libs, postgresql-test, postgresql-pltcl, postgresql-plperl, postgresql-server, +3 more Red Hat Satellite 5 postgresql92-postgresql
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

3.72% chance of exploitation in the next 30 days, higher than 89% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
NVD 3.0 8.1 CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
NVD 2.0 5.5 AV:N/AC:L/Au:S/C:P/I:N/A:P

Affected products

  • Red Hat, Inc. postgresql

Classification

Weakness
  • CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
Technology feeds

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.