CVE-2018-1058
A flaw was found in the way Postgresql allowed a user to modify the behavior of a query for other...
A flaw was found in the way Postgresql allowed a user to modify the behavior of a query for other users. An attacker with a user account could use this flaw to execute code with the permissions of superuser in the database. Versions 9.3 through 10 are affected.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
8.8
A flaw was found in the way Postgresql allowed a user to modify the behavior of a query for other users. An attacker with a user account could use this flaw to execute code with the permissions of superuser in the database. Versions 9.3 through 10 are affected.
- Record
CVE-2018-1058- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - CVSS 2.0
- 6.5 Medium
AV:N/AC:L/Au:S/C:P/I:P/A:P - Weakness
- CWE-20
- Updated
- 2026-11-02
CVE List No score
A flaw was found in the way Postgresql allowed a user to modify the behavior of a query for other users. An attacker with a user account could use this flaw to execute code with the permissions of superuser in the database. Versions 9.3 through 10 are affected.
- Record
CVE-2018-1058- Weakness
- CWE-20
- Updated
- 2026-11-02
EUVDEUVD-2018-11711 No score
A flaw was found in the way Postgresql allowed a user to modify the behavior of a query for other users. An attacker with a user account could use this flaw to execute code with the permissions of superuser in the database. Versions 9.3 through 10 are affected.
- Record
EUVD-2018-11711- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-wj3f-f94q-2r98
8.8
A flaw was found in the way Postgresql allowed a user to modify the behavior of a query for other...
A flaw was found in the way Postgresql allowed a user to modify the behavior of a query for other users. An attacker with a user account could use this flaw to execute code with the permissions of superuser in the database. Versions 9.3 through 10 are affected.
- Record
GHSA-wj3f-f94q-2r98- CVSS 3.0
- 8.8 High
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVALPINE-CVE-2018-1058
8.8
A flaw was found in the way Postgresql allowed a user to modify the behavior of a query for other users. An attacker with a user account could use this flaw to execute code with the permissions of superuser in the database. Versions 9.3 through 10 are affected.
- Record
ALPINE-CVE-2018-1058- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-03
OSVBELL-CVE-2018-1058
8.8
CVE-2018-1058 does not affect BellSoft software
- Record
BELL-CVE-2018-1058- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
Show 12 moreShow less
OSV
8.8
A flaw was found in the way Postgresql allowed a user to modify the behavior of a query for other users. An attacker with a user account could use this flaw to execute code with the permissions of superuser in the database. Versions 9.3 through 10 are affected.
- Record
CVE-2018-1058- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVRHSA-2018:2511
8.8
Red Hat Security Advisory: rh-postgresql95-postgresql security update
- Record
RHSA-2018:2511- CVSS 3.0
- 8.8 High
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVRHSA-2018:2566
8.8
Red Hat Security Advisory: rh-postgresql96-postgresql security update
- Record
RHSA-2018:2566- CVSS 3.0
- 8.8 High
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVRHSA-2018:3816
8.8
Red Hat Security Advisory: CloudForms 4.6.6 security, bug fix and enhancement update
- Record
RHSA-2018:3816- CVSS 3.0
- 8.8 High
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2018-1058
8.8
A flaw was found in the way Postgresql allowed a user to modify the behavior of a query for other users. An attacker with a user account could use this flaw to execute code with the permissions of superuser in the database. Versions 9.3 through 10 are affected.
- Record
UBUNTU-CVE-2018-1058- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - CVSS 3.0
- 8.8 High
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVMGASA-2018-0446 No score
Updated postgresql9.4|6 packages fix security vulnerabilities
A flaw was found in the way Postgresql allowed a user to modify the behavior of a query for other users. An attacker with a user account could use this flaw to execute code with the permissions of superuser in the database (CVE-2018-1058).
Postgresql 9.6.x before 9.6.9 is vulnerable in the adminpack extension, the pg_catalog.pg_logfile_rotate() function doesn't follow the same ACLs than pg_rorate_logfile. If the adminpack is added to a database, an attacker able to connect to it could exploit this to force log rotation (CVE-2018-1115).
Andrew Krasichkov discovered that libpq did not reset all its connection state during reconnects (CVE-2018-10915).
It was discovered that some "CREATE TABLE" statements could disclose server memory (CVE-2018-10925).
Fully fixing these security issues requires manual intervention. See the upstream advisories for details.
- Record
MGASA-2018-0446- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:11184-1 No score
postgresql10-10.18-1.3 on GA media
These are all security issues fixed in the postgresql10-10.18-1.3 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:11184-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2026:11167-1 No score
kubectl-cnpg-1.29.2-1.1 on GA media
These are all security issues fixed in the kubectl-cnpg-1.29.2-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2026:11167-1- Updated
- 2026-11-02
OSVSUSE-SU-2018:0755-1 No score
Security update for postgresql94
This update for postgresql94 fixes the following issues:
Security issues fixed:
- CVE-2018-1058: Fixed uncontrolled search path element in pg_dump and other client applications (bsc#1081925).
Bug fixes:
- See release notes for details:
- Record
SUSE-SU-2018:0755-1- Updated
- 2026-11-02
OSVSUSE-SU-2018:0756-1 No score
Security update for postgresql96
This update for postgresql96 fixes the following issues:
Security issues fixed:
- CVE-2018-1058: Fixed uncontrolled search path element in pg_dump and other client applications (bsc#1081925).
Bug fixes:
- See release notes for details:
- Record
SUSE-SU-2018:0756-1- Updated
- 2026-11-02
OSVSUSE-SU-2018:0876-1 No score
Security update for postgresql94
This update for postgresql94 fixes the following issues:
Security issues fixed:
- CVE-2018-1058: Fixed uncontrolled search path element in pg_dump and other client applications (bsc#1081925).
Bug fixes:
- See release notes for details:
- Record
SUSE-SU-2018:0876-1- Updated
- 2026-11-02
OSVUSN-3589-1 No score
postgresql-9.3, postgresql-9.5, postgresql-9.6 vulnerability
It was discovered that PostgreSQL incorrectly handled certain settings. An attacker could possibly use this issue to execute arbitrary code.
- Record
USN-3589-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
postgresqlAlpine:v3.10 |
9.3 up to 10.3-r0 | 10.3-r0 |
postgresqlAlpine:v3.11 |
9.3 up to 10.3-r0 | 10.3-r0 |
postgresqlAlpine:v3.12 |
9.3 up to 10.3-r0 | 10.3-r0 |
postgresqlAlpine:v3.13 |
9.3 up to 10.3-r0 | 10.3-r0 |
postgresqlAlpine:v3.14 |
9.3 up to 10.3-r0 | 10.3-r0 |
postgresqlAlpine:v3.4 |
9.3 up to 9.5.12-r0 | 9.5.12-r0 |
postgresqlAlpine:v3.5 |
9.3 up to 9.6.8-r0 | 9.6.8-r0 |
postgresqlAlpine:v3.6 |
9.3 up to 9.6.8-r0 | 9.6.8-r0 |
postgresqlAlpine:v3.7 |
9.3 up to 10.3-r0 | 10.3-r0 |
postgresqlAlpine:v3.8 |
9.3 up to 10.3-r0 | 10.3-r0 |
Show 120 moreShow less
| Package | Affected | Fixed |
|---|---|---|
postgresqlAlpine:v3.9 |
9.3 up to 10.3-r0 | 10.3-r0 |
postgresql14Alpine:v3.15 |
before 10.3-r0 | 10.3-r0 |
postgresql14Alpine:v3.16 |
before 10.3-r0 | 10.3-r0 |
postgresql14Alpine:v3.17 |
before 10.3-r0 | 10.3-r0 |
postgresql14Alpine:v3.18 |
before 10.3-r0 | 10.3-r0 |
postgresql14Alpine:v3.19 |
before 10.3-r0 | 10.3-r0 |
postgresql14Alpine:v3.20 |
before 10.3-r0 | 10.3-r0 |
postgresql15Alpine:v3.17 |
before 10.3-r0 | 10.3-r0 |
postgresql15Alpine:v3.18 |
before 10.3-r0 | 10.3-r0 |
postgresql15Alpine:v3.19 |
before 10.3-r0 | 10.3-r0 |
postgresql15Alpine:v3.20 |
before 10.3-r0 | 10.3-r0 |
postgresql9.4Mageia:6 |
before 9.4.19-1.mga6 | 9.4.19-1.mga6 |
postgresql9.6Mageia:6 |
before 9.6.10-3.mga6 | 9.6.10-3.mga6 |
rh-postgresql95-postgresqlRed Hat:rhel_software_collections:3::el6 |
before 0:9.5.14-1.el6 | 0:9.5.14-1.el6 |
rh-postgresql95-postgresql-contribRed Hat:rhel_software_collections:3::el6 |
before 0:9.5.14-1.el6 | 0:9.5.14-1.el6 |
rh-postgresql95-postgresql-debuginfoRed Hat:rhel_software_collections:3::el6 |
before 0:9.5.14-1.el6 | 0:9.5.14-1.el6 |
rh-postgresql95-postgresql-develRed Hat:rhel_software_collections:3::el6 |
before 0:9.5.14-1.el6 | 0:9.5.14-1.el6 |
rh-postgresql95-postgresql-docsRed Hat:rhel_software_collections:3::el6 |
before 0:9.5.14-1.el6 | 0:9.5.14-1.el6 |
rh-postgresql95-postgresql-libsRed Hat:rhel_software_collections:3::el6 |
before 0:9.5.14-1.el6 | 0:9.5.14-1.el6 |
rh-postgresql95-postgresql-plperlRed Hat:rhel_software_collections:3::el6 |
before 0:9.5.14-1.el6 | 0:9.5.14-1.el6 |
rh-postgresql95-postgresql-plpythonRed Hat:rhel_software_collections:3::el6 |
before 0:9.5.14-1.el6 | 0:9.5.14-1.el6 |
rh-postgresql95-postgresql-pltclRed Hat:rhel_software_collections:3::el6 |
before 0:9.5.14-1.el6 | 0:9.5.14-1.el6 |
rh-postgresql95-postgresql-serverRed Hat:rhel_software_collections:3::el6 |
before 0:9.5.14-1.el6 | 0:9.5.14-1.el6 |
rh-postgresql95-postgresql-staticRed Hat:rhel_software_collections:3::el6 |
before 0:9.5.14-1.el6 | 0:9.5.14-1.el6 |
rh-postgresql95-postgresql-testRed Hat:rhel_software_collections:3::el6 |
before 0:9.5.14-1.el6 | 0:9.5.14-1.el6 |
rh-postgresql95-postgresqlRed Hat:rhel_software_collections:3::el7 |
before 0:9.5.14-1.el7 | 0:9.5.14-1.el7 |
rh-postgresql95-postgresql-contribRed Hat:rhel_software_collections:3::el7 |
before 0:9.5.14-1.el7 | 0:9.5.14-1.el7 |
rh-postgresql95-postgresql-debuginfoRed Hat:rhel_software_collections:3::el7 |
before 0:9.5.14-1.el7 | 0:9.5.14-1.el7 |
rh-postgresql95-postgresql-develRed Hat:rhel_software_collections:3::el7 |
before 0:9.5.14-1.el7 | 0:9.5.14-1.el7 |
rh-postgresql95-postgresql-docsRed Hat:rhel_software_collections:3::el7 |
before 0:9.5.14-1.el7 | 0:9.5.14-1.el7 |
rh-postgresql95-postgresql-libsRed Hat:rhel_software_collections:3::el7 |
before 0:9.5.14-1.el7 | 0:9.5.14-1.el7 |
rh-postgresql95-postgresql-plperlRed Hat:rhel_software_collections:3::el7 |
before 0:9.5.14-1.el7 | 0:9.5.14-1.el7 |
rh-postgresql95-postgresql-plpythonRed Hat:rhel_software_collections:3::el7 |
before 0:9.5.14-1.el7 | 0:9.5.14-1.el7 |
rh-postgresql95-postgresql-pltclRed Hat:rhel_software_collections:3::el7 |
before 0:9.5.14-1.el7 | 0:9.5.14-1.el7 |
rh-postgresql95-postgresql-serverRed Hat:rhel_software_collections:3::el7 |
before 0:9.5.14-1.el7 | 0:9.5.14-1.el7 |
rh-postgresql95-postgresql-staticRed Hat:rhel_software_collections:3::el7 |
before 0:9.5.14-1.el7 | 0:9.5.14-1.el7 |
rh-postgresql95-postgresql-testRed Hat:rhel_software_collections:3::el7 |
before 0:9.5.14-1.el7 | 0:9.5.14-1.el7 |
rh-postgresql96-postgresqlRed Hat:rhel_software_collections:3::el6 |
before 0:9.6.10-1.el6 | 0:9.6.10-1.el6 |
rh-postgresql96-postgresql-contribRed Hat:rhel_software_collections:3::el6 |
before 0:9.6.10-1.el6 | 0:9.6.10-1.el6 |
rh-postgresql96-postgresql-contrib-syspathsRed Hat:rhel_software_collections:3::el6 |
before 0:9.6.10-1.el6 | 0:9.6.10-1.el6 |
rh-postgresql96-postgresql-debuginfoRed Hat:rhel_software_collections:3::el6 |
before 0:9.6.10-1.el6 | 0:9.6.10-1.el6 |
rh-postgresql96-postgresql-develRed Hat:rhel_software_collections:3::el6 |
before 0:9.6.10-1.el6 | 0:9.6.10-1.el6 |
rh-postgresql96-postgresql-docsRed Hat:rhel_software_collections:3::el6 |
before 0:9.6.10-1.el6 | 0:9.6.10-1.el6 |
rh-postgresql96-postgresql-libsRed Hat:rhel_software_collections:3::el6 |
before 0:9.6.10-1.el6 | 0:9.6.10-1.el6 |
rh-postgresql96-postgresql-plperlRed Hat:rhel_software_collections:3::el6 |
before 0:9.6.10-1.el6 | 0:9.6.10-1.el6 |
rh-postgresql96-postgresql-plpythonRed Hat:rhel_software_collections:3::el6 |
before 0:9.6.10-1.el6 | 0:9.6.10-1.el6 |
rh-postgresql96-postgresql-pltclRed Hat:rhel_software_collections:3::el6 |
before 0:9.6.10-1.el6 | 0:9.6.10-1.el6 |
rh-postgresql96-postgresql-serverRed Hat:rhel_software_collections:3::el6 |
before 0:9.6.10-1.el6 | 0:9.6.10-1.el6 |
rh-postgresql96-postgresql-server-syspathsRed Hat:rhel_software_collections:3::el6 |
before 0:9.6.10-1.el6 | 0:9.6.10-1.el6 |
rh-postgresql96-postgresql-staticRed Hat:rhel_software_collections:3::el6 |
before 0:9.6.10-1.el6 | 0:9.6.10-1.el6 |
rh-postgresql96-postgresql-syspathsRed Hat:rhel_software_collections:3::el6 |
before 0:9.6.10-1.el6 | 0:9.6.10-1.el6 |
rh-postgresql96-postgresql-testRed Hat:rhel_software_collections:3::el6 |
before 0:9.6.10-1.el6 | 0:9.6.10-1.el6 |
rh-postgresql96-postgresqlRed Hat:rhel_software_collections:3::el7 |
before 0:9.6.10-1.el7 | 0:9.6.10-1.el7 |
rh-postgresql96-postgresql-contribRed Hat:rhel_software_collections:3::el7 |
before 0:9.6.10-1.el7 | 0:9.6.10-1.el7 |
rh-postgresql96-postgresql-contrib-syspathsRed Hat:rhel_software_collections:3::el7 |
before 0:9.6.10-1.el7 | 0:9.6.10-1.el7 |
rh-postgresql96-postgresql-debuginfoRed Hat:rhel_software_collections:3::el7 |
before 0:9.6.10-1.el7 | 0:9.6.10-1.el7 |
rh-postgresql96-postgresql-develRed Hat:rhel_software_collections:3::el7 |
before 0:9.6.10-1.el7 | 0:9.6.10-1.el7 |
rh-postgresql96-postgresql-docsRed Hat:rhel_software_collections:3::el7 |
before 0:9.6.10-1.el7 | 0:9.6.10-1.el7 |
rh-postgresql96-postgresql-libsRed Hat:rhel_software_collections:3::el7 |
before 0:9.6.10-1.el7 | 0:9.6.10-1.el7 |
rh-postgresql96-postgresql-plperlRed Hat:rhel_software_collections:3::el7 |
before 0:9.6.10-1.el7 | 0:9.6.10-1.el7 |
rh-postgresql96-postgresql-plpythonRed Hat:rhel_software_collections:3::el7 |
before 0:9.6.10-1.el7 | 0:9.6.10-1.el7 |
rh-postgresql96-postgresql-pltclRed Hat:rhel_software_collections:3::el7 |
before 0:9.6.10-1.el7 | 0:9.6.10-1.el7 |
rh-postgresql96-postgresql-serverRed Hat:rhel_software_collections:3::el7 |
before 0:9.6.10-1.el7 | 0:9.6.10-1.el7 |
rh-postgresql96-postgresql-server-syspathsRed Hat:rhel_software_collections:3::el7 |
before 0:9.6.10-1.el7 | 0:9.6.10-1.el7 |
rh-postgresql96-postgresql-staticRed Hat:rhel_software_collections:3::el7 |
before 0:9.6.10-1.el7 | 0:9.6.10-1.el7 |
rh-postgresql96-postgresql-syspathsRed Hat:rhel_software_collections:3::el7 |
before 0:9.6.10-1.el7 | 0:9.6.10-1.el7 |
rh-postgresql96-postgresql-testRed Hat:rhel_software_collections:3::el7 |
before 0:9.6.10-1.el7 | 0:9.6.10-1.el7 |
cfmeRed Hat:cloudforms_managementengine:5.9::el7 |
before 0:5.9.6.5-3.el7cf | 0:5.9.6.5-3.el7cf |
cfme-amazon-smartstateRed Hat:cloudforms_managementengine:5.9::el7 |
before 0:5.9.6.5-2.el7cf | 0:5.9.6.5-2.el7cf |
cfme-applianceRed Hat:cloudforms_managementengine:5.9::el7 |
before 0:5.9.6.5-1.el7cf | 0:5.9.6.5-1.el7cf |
cfme-appliance-commonRed Hat:cloudforms_managementengine:5.9::el7 |
before 0:5.9.6.5-1.el7cf | 0:5.9.6.5-1.el7cf |
cfme-appliance-debuginfoRed Hat:cloudforms_managementengine:5.9::el7 |
before 0:5.9.6.5-1.el7cf | 0:5.9.6.5-1.el7cf |
cfme-appliance-toolsRed Hat:cloudforms_managementengine:5.9::el7 |
before 0:5.9.6.5-1.el7cf | 0:5.9.6.5-1.el7cf |
cfme-debuginfoRed Hat:cloudforms_managementengine:5.9::el7 |
before 0:5.9.6.5-3.el7cf | 0:5.9.6.5-3.el7cf |
cfme-gemsetRed Hat:cloudforms_managementengine:5.9::el7 |
before 0:5.9.6.5-2.el7cf | 0:5.9.6.5-2.el7cf |
cfme-gemset-debuginfoRed Hat:cloudforms_managementengine:5.9::el7 |
before 0:5.9.6.5-2.el7cf | 0:5.9.6.5-2.el7cf |
dbus-api-serviceRed Hat:cloudforms_managementengine:5.9::el7 |
before 0:1.0.1-3.1.el7cf | 0:1.0.1-3.1.el7cf |
httpd-configmap-generatorRed Hat:cloudforms_managementengine:5.9::el7 |
before 0:0.2.2-1.2.el7cf | 0:0.2.2-1.2.el7cf |
postgresql96Red Hat:cloudforms_managementengine:5.9::el7 |
before 0:9.6.10-1PGDG.el7at | 0:9.6.10-1PGDG.el7at |
postgresql96-contribRed Hat:cloudforms_managementengine:5.9::el7 |
before 0:9.6.10-1PGDG.el7at | 0:9.6.10-1PGDG.el7at |
postgresql96-debuginfoRed Hat:cloudforms_managementengine:5.9::el7 |
before 0:9.6.10-1PGDG.el7at | 0:9.6.10-1PGDG.el7at |
postgresql96-develRed Hat:cloudforms_managementengine:5.9::el7 |
before 0:9.6.10-1PGDG.el7at | 0:9.6.10-1PGDG.el7at |
postgresql96-docsRed Hat:cloudforms_managementengine:5.9::el7 |
before 0:9.6.10-1PGDG.el7at | 0:9.6.10-1PGDG.el7at |
postgresql96-libsRed Hat:cloudforms_managementengine:5.9::el7 |
before 0:9.6.10-1PGDG.el7at | 0:9.6.10-1PGDG.el7at |
postgresql96-plperlRed Hat:cloudforms_managementengine:5.9::el7 |
before 0:9.6.10-1PGDG.el7at | 0:9.6.10-1PGDG.el7at |
postgresql96-plpythonRed Hat:cloudforms_managementengine:5.9::el7 |
before 0:9.6.10-1PGDG.el7at | 0:9.6.10-1PGDG.el7at |
postgresql96-pltclRed Hat:cloudforms_managementengine:5.9::el7 |
before 0:9.6.10-1PGDG.el7at | 0:9.6.10-1PGDG.el7at |
postgresql96-serverRed Hat:cloudforms_managementengine:5.9::el7 |
before 0:9.6.10-1PGDG.el7at | 0:9.6.10-1PGDG.el7at |
postgresql96-testRed Hat:cloudforms_managementengine:5.9::el7 |
before 0:9.6.10-1PGDG.el7at | 0:9.6.10-1PGDG.el7at |
postgresql94-libsSUSE:Linux Enterprise Software Development Kit 11 SP4 |
before 9.4.17-0.23.16.1 | 9.4.17-0.23.16.1 |
postgresql94SUSE:Linux Enterprise Server 11 SP4 |
before 9.4.17-0.23.16.1 | 9.4.17-0.23.16.1 |
postgresql94-libsSUSE:Linux Enterprise Server 11 SP4 |
before 9.4.17-0.23.16.1 | 9.4.17-0.23.16.1 |
postgresql94SUSE:Linux Enterprise Server for SAP Applications 11 SP4 |
before 9.4.17-0.23.16.1 | 9.4.17-0.23.16.1 |
postgresql94-libsSUSE:Linux Enterprise Server for SAP Applications 11 SP4 |
before 9.4.17-0.23.16.1 | 9.4.17-0.23.16.1 |
postgresql96SUSE:Linux Enterprise Desktop 12 SP2 |
before 9.6.8-3.16.1 | 9.6.8-3.16.1 |
postgresql96-libsSUSE:Linux Enterprise Desktop 12 SP2 |
before 9.6.8-3.16.1 | 9.6.8-3.16.1 |
postgresql96SUSE:Linux Enterprise Desktop 12 SP3 |
before 9.6.8-3.16.1 | 9.6.8-3.16.1 |
postgresql96-libsSUSE:Linux Enterprise Desktop 12 SP3 |
before 9.6.8-3.16.1 | 9.6.8-3.16.1 |
postgresql96SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2 |
before 9.6.8-3.16.1 | 9.6.8-3.16.1 |
postgresql96-libsSUSE:Linux Enterprise Server for Raspberry Pi 12 SP2 |
before 9.6.8-3.16.1 | 9.6.8-3.16.1 |
postgresql96-libsSUSE:Linux Enterprise Software Development Kit 12 SP2 |
before 9.6.8-3.16.1 | 9.6.8-3.16.1 |
postgresql96-libsSUSE:Linux Enterprise Software Development Kit 12 SP3 |
before 9.6.8-3.16.1 | 9.6.8-3.16.1 |
postgresql96SUSE:Linux Enterprise Server 12 SP2 |
before 9.6.8-3.16.1 | 9.6.8-3.16.1 |
postgresql96-libsSUSE:Linux Enterprise Server 12 SP2 |
before 9.6.8-3.16.1 | 9.6.8-3.16.1 |
postgresql96SUSE:Linux Enterprise Server for SAP Applications 12 SP2 |
before 9.6.8-3.16.1 | 9.6.8-3.16.1 |
postgresql96-libsSUSE:Linux Enterprise Server for SAP Applications 12 SP2 |
before 9.6.8-3.16.1 | 9.6.8-3.16.1 |
postgresql96SUSE:Linux Enterprise Server 12 SP3 |
before 9.6.8-3.16.1 | 9.6.8-3.16.1 |
postgresql96-libsSUSE:Linux Enterprise Server 12 SP3 |
before 9.6.8-3.16.1 | 9.6.8-3.16.1 |
postgresql96SUSE:Linux Enterprise Server for SAP Applications 12 SP3 |
before 9.6.8-3.16.1 | 9.6.8-3.16.1 |
postgresql96-libsSUSE:Linux Enterprise Server for SAP Applications 12 SP3 |
before 9.6.8-3.16.1 | 9.6.8-3.16.1 |
postgresql94SUSE:Linux Enterprise Desktop 12 SP2 |
before 9.4.17-21.19.1 | 9.4.17-21.19.1 |
postgresql94SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2 |
before 9.4.17-21.19.1 | 9.4.17-21.19.1 |
postgresql94-libsSUSE:Linux Enterprise Software Development Kit 12 SP2 |
before 9.4.17-21.19.1 | 9.4.17-21.19.1 |
postgresql94SUSE:Linux Enterprise Server 12 SP2 |
before 9.4.17-21.19.1 | 9.4.17-21.19.1 |
postgresql94SUSE:Linux Enterprise Server for SAP Applications 12 SP2 |
before 9.4.17-21.19.1 | 9.4.17-21.19.1 |
postgresql-9.3Ubuntu:14.04:LTS |
before 9.3.22-0ubuntu0.14.04, plus listed versions 9.3.1-19.3.2-19.3.2-1ubuntu19.3.2-1ubuntu29.3.3-1 Show 20 moreShow less9.3.3-1bzr19.3.3-1bzr29.3.4-19.3.5-0ubuntu0.14.04.19.3.6-0ubuntu0.14.049.3.7-0ubuntu0.14.049.3.8-0ubuntu0.4.049.3.9-0ubuntu0.14.049.3.10-0ubuntu0.14.049.3.11-0ubuntu0.14.049.3.12-0ubuntu0.14.049.3.13-0ubuntu0.14.049.3.14-0ubuntu0.14.049.3.15-0ubuntu0.14.049.3.16-0ubuntu0.14.049.3.17-0ubuntu0.14.049.3.18-0ubuntu0.14.04.19.3.19-0ubuntu0.14.049.3.20-0ubuntu0.14.049.3.21-0ubuntu0.14.04 |
9.3.22-0ubuntu0.14.04 |
postgresql-9.5Ubuntu:16.04:LTS |
before 9.5.12-0ubuntu0.16.04, plus listed versions 9.5.0-19.5.0-29.5.0-39.5.1-19.5.2-1 Show 9 moreShow less9.5.3-0ubuntu0.16.049.5.4-0ubuntu0.16.049.5.5-0ubuntu0.16.049.5.6-0ubuntu0.16.049.5.7-0ubuntu0.16.049.5.8-0ubuntu0.16.04.19.5.9-0ubuntu0.16.049.5.10-0ubuntu0.16.049.5.11-0ubuntu0.16.04 |
9.5.12-0ubuntu0.16.04 |
postgresql-10Ubuntu:18.04:LTS |
before 10.3-1, plus listed versions 10.1-110.1-210.2-1 |
10.3-1 |
postgresql10openSUSE:Tumbleweed |
before 10.18-1.3 | 10.18-1.3 |
kubectl-cnpgopenSUSE:Tumbleweed |
before 1.29.2-1.1 | 1.29.2-1.1 |
Public exploits
Links only. Every CVE stores no exploit code.
| Source | Link | Date |
|---|---|---|
| PoC in GitHub | ccchme/CVE-2018-1058 | 2026-05-09 |
| PoC in GitHub | mthamil107/DB_Audit_Research | 2026-08-19 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected | OSV | |
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV, PoC in GitHub |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2018-1058 is a high vulnerability (CVSS 8.8) in Postgresql, published February 28, 2018. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 13.1%, the 96th percentile. Fixed in postgresql 10.3-r0.
References
bugzilla.redhat.com/show_bug.cgi?id=1547044
usn.ubuntu.com/3589-1
securityfocus.com/bid/103221
postgresql.org/about/news/1834
access.redhat.com/errata/RHSA-2018:2511
access.redhat.com/errata/RHSA-2018:2566
Show 138 moreShow less
access.redhat.com/errata/RHSA-2018:3816
nvd.nist.gov/vuln/detail/CVE-2018-1058
github.com/advisories/GHSA-wj3f-f94q-2r98
security.alpinelinux.org/vuln/CVE-2018-1058
docs.bell-sw.com/security/cves/CVE-2018-1058
advisories.mageia.org/MGASA-2018-0446.html
bugs.mageia.org/show_bug.cgi?id=22687
postgresql.org/docs/9.4/static/release-9-4-17.html
postgresql.org/docs/9.4/static/release-9-4-18.html
postgresql.org/docs/9.4/static/release-9-4-19.html
postgresql.org/docs/9.6/static/release-9-6-8.html
postgresql.org/docs/9.6/static/release-9-6-9.html
postgresql.org/docs/9.6/static/release-9-6-10.html
postgresql.org/about/news/1851
postgresql.org/about/news/1878
debian.org/security/2018/dsa-4269
access.redhat.com/security/updates/classification
bugzilla.redhat.com/show_bug.cgi?id=1508820
bugzilla.redhat.com/show_bug.cgi?id=1508823
bugzilla.redhat.com/show_bug.cgi?id=1539619
bugzilla.redhat.com/show_bug.cgi?id=1609891
bugzilla.redhat.com/show_bug.cgi?id=1612619
security.access.redhat.com/data/csaf/v2/advisories/2018/rhsa-2018_2511.json
access.redhat.com/security/cve/CVE-2017-15098
cve.org/CVERecord?id=CVE-2017-15098
nvd.nist.gov/vuln/detail/CVE-2017-15098
postgresql.org/about/news/1801
access.redhat.com/security/cve/CVE-2017-15099
cve.org/CVERecord?id=CVE-2017-15099
nvd.nist.gov/vuln/detail/CVE-2017-15099
access.redhat.com/security/cve/CVE-2018-1053
cve.org/CVERecord?id=CVE-2018-1053
nvd.nist.gov/vuln/detail/CVE-2018-1053
postgresql.org/about/news/1829
access.redhat.com/security/cve/CVE-2018-1058
cve.org/CVERecord?id=CVE-2018-1058
access.redhat.com/security/cve/CVE-2018-10915
cve.org/CVERecord?id=CVE-2018-10915
nvd.nist.gov/vuln/detail/CVE-2018-10915
access.redhat.com/security/cve/CVE-2018-10925
cve.org/CVERecord?id=CVE-2018-10925
nvd.nist.gov/vuln/detail/CVE-2018-10925
bugzilla.redhat.com/show_bug.cgi?id=1573276
security.access.redhat.com/data/csaf/v2/advisories/2018/rhsa-2018_2566.json
access.redhat.com/security/cve/CVE-2018-1115
cve.org/CVERecord?id=CVE-2018-1115
nvd.nist.gov/vuln/detail/CVE-2018-1115
access.redhat.com/documentation/en-us/red_hat_cloudforms/4.6/html/release_notes
bugzilla.redhat.com/show_bug.cgi?id=1610547
bugzilla.redhat.com/show_bug.cgi?id=1618836
bugzilla.redhat.com/show_bug.cgi?id=1623562
bugzilla.redhat.com/show_bug.cgi?id=1634809
bugzilla.redhat.com/show_bug.cgi?id=1635034
bugzilla.redhat.com/show_bug.cgi?id=1635255
bugzilla.redhat.com/show_bug.cgi?id=1635759
bugzilla.redhat.com/show_bug.cgi?id=1635788
bugzilla.redhat.com/show_bug.cgi?id=1638501
bugzilla.redhat.com/show_bug.cgi?id=1639351
bugzilla.redhat.com/show_bug.cgi?id=1639353
bugzilla.redhat.com/show_bug.cgi?id=1639364
bugzilla.redhat.com/show_bug.cgi?id=1640194
bugzilla.redhat.com/show_bug.cgi?id=1640258
bugzilla.redhat.com/show_bug.cgi?id=1640629
bugzilla.redhat.com/show_bug.cgi?id=1640631
bugzilla.redhat.com/show_bug.cgi?id=1641771
bugzilla.redhat.com/show_bug.cgi?id=1643042
bugzilla.redhat.com/show_bug.cgi?id=1643261
bugzilla.redhat.com/show_bug.cgi?id=1643263
bugzilla.redhat.com/show_bug.cgi?id=1643539
bugzilla.redhat.com/show_bug.cgi?id=1643959
bugzilla.redhat.com/show_bug.cgi?id=1644410
bugzilla.redhat.com/show_bug.cgi?id=1645198
bugzilla.redhat.com/show_bug.cgi?id=1645204
bugzilla.redhat.com/show_bug.cgi?id=1646435
bugzilla.redhat.com/show_bug.cgi?id=1646561
bugzilla.redhat.com/show_bug.cgi?id=1646564
bugzilla.redhat.com/show_bug.cgi?id=1646571
bugzilla.redhat.com/show_bug.cgi?id=1646599
bugzilla.redhat.com/show_bug.cgi?id=1646604
bugzilla.redhat.com/show_bug.cgi?id=1646605
bugzilla.redhat.com/show_bug.cgi?id=1646606
bugzilla.redhat.com/show_bug.cgi?id=1646613
bugzilla.redhat.com/show_bug.cgi?id=1646629
bugzilla.redhat.com/show_bug.cgi?id=1646646
bugzilla.redhat.com/show_bug.cgi?id=1647056
bugzilla.redhat.com/show_bug.cgi?id=1647108
bugzilla.redhat.com/show_bug.cgi?id=1647188
bugzilla.redhat.com/show_bug.cgi?id=1647489
bugzilla.redhat.com/show_bug.cgi?id=1648674
bugzilla.redhat.com/show_bug.cgi?id=1648948
bugzilla.redhat.com/show_bug.cgi?id=1648955
bugzilla.redhat.com/show_bug.cgi?id=1648991
bugzilla.redhat.com/show_bug.cgi?id=1649033
bugzilla.redhat.com/show_bug.cgi?id=1649380
bugzilla.redhat.com/show_bug.cgi?id=1649419
bugzilla.redhat.com/show_bug.cgi?id=1650691
bugzilla.redhat.com/show_bug.cgi?id=1651291
bugzilla.redhat.com/show_bug.cgi?id=1651347
bugzilla.redhat.com/show_bug.cgi?id=1651391
bugzilla.redhat.com/show_bug.cgi?id=1653417
bugzilla.redhat.com/show_bug.cgi?id=1653710
bugzilla.redhat.com/show_bug.cgi?id=1654436
bugzilla.redhat.com/show_bug.cgi?id=1654463
bugzilla.redhat.com/show_bug.cgi?id=1655081
bugzilla.redhat.com/show_bug.cgi?id=1655143
bugzilla.redhat.com/show_bug.cgi?id=1655773
bugzilla.redhat.com/show_bug.cgi?id=1656168
bugzilla.redhat.com/show_bug.cgi?id=1656169
security.access.redhat.com/data/csaf/v2/advisories/2018/rhsa-2018_3816.json
suse.com/support/update/announcement/2018/suse-su-20180755-1
bugzilla.suse.com/1081925
suse.com/security/cve/CVE-2018-1058
suse.com/support/update/announcement/2018/suse-su-20180756-1
suse.com/support/update/announcement/2018/suse-su-20180876-1
ubuntu.com/security/CVE-2018-1058
ubuntu.com/security/notices/USN-3589-1
launchpad.net/bugs/1752271
suse.com/security/cve/CVE-2017-15098
suse.com/security/cve/CVE-2017-15099
suse.com/security/cve/CVE-2018-1052
suse.com/security/cve/CVE-2018-1053
suse.com/security/cve/CVE-2018-10915
suse.com/security/cve/CVE-2018-10925
suse.com/security/cve/CVE-2018-1115
suse.com/security/cve/CVE-2018-16850
suse.com/security/cve/CVE-2019-10130
suse.com/security/cve/CVE-2019-10164
suse.com/security/cve/CVE-2019-10208
suse.com/security/cve/CVE-2020-14349
suse.com/security/cve/CVE-2020-14350
suse.com/security/cve/CVE-2020-1720
suse.com/security/cve/CVE-2020-25694
suse.com/security/cve/CVE-2020-25695
suse.com/security/cve/CVE-2020-25696
suse.com/security/cve/CVE-2021-32027
suse.com/security/cve/CVE-2021-32028
suse.com/security/cve/CVE-2026-55765
suse.com/security/cve/CVE-2026-55769