postgresql: Memory disclosure in JSON functions
Published Nov 22, 2017
8.1
HIGHCVSS 3.0
EPSS 3.72%
Description
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.
Affected products
-
- Version 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, 9.3.x before 9.3.20StatusaffectedConstraints-
- 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 | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Red Hat, Inc. | PostgreSQL | n/a |
|
Configuration 1
- 9.3
- 9.3.1
- 9.3.2
- 9.3.3
- 9.3.4
- 9.3.5
- 9.3.6
- 9.3.7
- 9.3.8
- 9.3.9
- 9.3.10
- 9.3.11
- 9.3.12
- 9.3.13
- 9.3.14
- 9.3.15
- 9.3.16
- 9.3.17
- 9.3.18
- 9.3.19
- 9.4
- 9.4.1
- 9.4.2
- 9.4.3
- 9.4.4
- 9.4.5
- 9.4.6
- 9.4.7
- 9.4.8
- 9.4.9
- 9.4.10
- 9.4.11
- 9.4.12
- 9.4.13
- 9.4.14
- 9.5
- 9.5.1
- 9.5.2
- 9.5.3
- 9.5.4
- 9.5.5
- 9.5.6
- 9.5.7
- 9.5.8
- 9.5.9
- 9.6
- 9.6.1
- 9.6.2
- 9.6.3
- 9.6.4
- 9.6.5
- 10
Configuration 2
- 8.0
No data.
Red Hat Software Collections for Red Hat Enterprise Linux 6
rh-postgresql95-postgresql-0:9.5.14-1.el6
Fixed · RHSA-2018:2511
Red Hat Software Collections for Red Hat Enterprise Linux 6
rh-postgresql96-postgresql-0:9.6.10-1.el6
Fixed · RHSA-2018:2566
Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS
rh-postgresql95-postgresql-0:9.5.14-1.el6
Fixed · RHSA-2018:2511
Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS
rh-postgresql96-postgresql-0:9.6.10-1.el6
Fixed · RHSA-2018:2566
Red Hat Software Collections for Red Hat Enterprise Linux 7
rh-postgresql95-postgresql-0:9.5.14-1.el7
Fixed · RHSA-2018:2511
Red Hat Software Collections for Red Hat Enterprise Linux 7
rh-postgresql96-postgresql-0:9.6.10-1.el7
Fixed · RHSA-2018:2566
Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUS
rh-postgresql95-postgresql-0:9.5.14-1.el7
Fixed · RHSA-2018:2511
Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUS
rh-postgresql96-postgresql-0:9.6.10-1.el7
Fixed · RHSA-2018:2566
Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS
rh-postgresql95-postgresql-0:9.5.14-1.el7
Fixed · RHSA-2018:2511
Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS
rh-postgresql96-postgresql-0:9.6.10-1.el7
Fixed · RHSA-2018:2566
Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS
rh-postgresql95-postgresql-0:9.5.14-1.el7
Fixed · RHSA-2018:2511
Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS
rh-postgresql96-postgresql-0:9.6.10-1.el7
Fixed · RHSA-2018:2566
Red Hat Enterprise Linux 5
postgresql
Not affected
Red Hat Enterprise Linux 5
postgresql84
Not affected
Red Hat Enterprise Linux 6
postgresql
Not affected
Red Hat Enterprise Linux 7
postgresql
Not affected
Red Hat Satellite 5
postgresql92-postgresql
Not affected
Red Hat Software Collections
rh-postgresql94-postgresql
Will not fix
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Software Collections for Red Hat Enterprise Linux 6 | rh-postgresql95-postgresql-0:9.5.14-1.el6 | Fixed | RHSA-2018:2511 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6 | rh-postgresql96-postgresql-0:9.6.10-1.el6 | Fixed | RHSA-2018:2566 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS | rh-postgresql95-postgresql-0:9.5.14-1.el6 | Fixed | RHSA-2018:2511 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS | rh-postgresql96-postgresql-0:9.6.10-1.el6 | Fixed | RHSA-2018:2566 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | rh-postgresql95-postgresql-0:9.5.14-1.el7 | Fixed | RHSA-2018:2511 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | rh-postgresql96-postgresql-0:9.6.10-1.el7 | Fixed | RHSA-2018:2566 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUS | rh-postgresql95-postgresql-0:9.5.14-1.el7 | Fixed | RHSA-2018:2511 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUS | rh-postgresql96-postgresql-0:9.6.10-1.el7 | Fixed | RHSA-2018:2566 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS | rh-postgresql95-postgresql-0:9.5.14-1.el7 | Fixed | RHSA-2018:2511 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS | rh-postgresql96-postgresql-0:9.6.10-1.el7 | Fixed | RHSA-2018:2566 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS | rh-postgresql95-postgresql-0:9.5.14-1.el7 | Fixed | RHSA-2018:2511 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS | rh-postgresql96-postgresql-0:9.6.10-1.el7 | Fixed | RHSA-2018:2566 |
| Red Hat Enterprise Linux 5 | postgresql | Not affected | n/a |
| Red Hat Enterprise Linux 5 | postgresql84 | Not affected | n/a |
| Red Hat Enterprise Linux 6 | postgresql | Not affected | n/a |
| Red Hat Enterprise Linux 7 | postgresql | Not affected | n/a |
| Red Hat Satellite 5 | postgresql92-postgresql | Not affected | n/a |
| Red Hat Software Collections | rh-postgresql94-postgresql | Will not fix | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
This issue affects the versions of rh-postgresql94-postgresql, rh-postgresql95-postgresql, and rh-postgresql96-postgresql as shipped with Red Hat Software Collections 3. Red Hat Product Security has rated this issue as having Moderate security impact. A future update may address this issue. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
1 other source (Red Hat) ▾
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H
AV:N/AC:L/Au:S/C:P/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
2021–2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (21 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 3.72% (0.03723) | 89.45th | v5 (v2026.06.15) |
| Jun 15, 2026 | 3.72% (0.03723) | 88.34th | v5 (v2026.06.15) |
| Sep 20, 2025 | 1.42% (0.01422) | 79.92th | v4 (v2025.03.14) |
| Mar 30, 2025 | 0.40% (0.00400) | 57.76th | v4 (v2025.03.14) |
| Mar 29, 2025 | 1.41% (0.01411) | 68.51th | v4 (v2025.03.14) |
| Mar 17, 2025 | 0.40% (0.00400) | 58.57th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.76% (0.00759) | 81.79th | v3 (v2023.03.01) |
| Feb 15, 2024 | 0.76% (0.00759) | 80.57th | v3 (v2023.03.01) |
| Jun 18, 2023 | 0.76% (0.00759) | 78.56th | v3 (v2023.03.01) |
| May 25, 2023 | 0.83% (0.00830) | 79.59th | v3 (v2023.03.01) |
| May 8, 2023 | 1.17% (0.01172) | 82.88th | v3 (v2023.03.01) |
| Apr 15, 2023 | 1.07% (0.01071) | 82.06th | v3 (v2023.03.01) |
| Mar 7, 2023 | 1.11% (0.01109) | 82.24th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.10% (0.01104) | 54.09th | v2 (v2022.01.01) |
| Sep 17, 2022 | 1.10% (0.01104) | 52.45th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.10% (0.01104) | 50.41th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.10% (0.01104) | 28.85th | v2 (v2022.01.01) |
| Feb 3, 2022 | 1.86% (0.01865) | 48.06th | v1 |
| Jan 6, 2022 | 1.86% (0.01865) | 47.54th | v1 |
| Sep 1, 2021 | 1.86% (0.01865) | 76.13th | v1 |
| Apr 14, 2021 | 1.86% (0.01865) | 0.00th | v1 |
References (12)
- http://www.securityfocus.com/bid/101781 vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry
- http://www.securitytracker.com/id/1039752 vdb-entryx_refsource_SECTRACKThird Party AdvisoryVDB Entry
- https://access.redhat.com/errata/RHSA-2018:2511 vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2018:2566 vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2017-15098 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1508820 Issue Tracking
- https://nvd.nist.gov/vuln/detail/CVE-2017-15098
- https://www.cve.org/CVERecord?id=CVE-2017-15098
- https://www.debian.org/security/2017/dsa-4027 vendor-advisoryx_refsource_DEBIANIssue TrackingThird Party Advisory
- https://www.debian.org/security/2017/dsa-4028 vendor-advisoryx_refsource_DEBIANIssue TrackingThird Party Advisory
- https://www.postgresql.org/about/news/1801/ x_refsource_CONFIRMIssue TrackingVendor Advisory
- https://www.postgresql.org/support/security/ x_refsource_MISCIssue TrackingVendor Advisory
Change history (0)
No recorded changes yet.