Live threats

All CVEs / Postgresql

CVE-2018-1058Postgresql

High 8.8 High EPSS

Priority
54
CVSS 3.1
8.8
EPSS
13.1%
probability of exploitation in 30 days · percentile 97
Auth required
Yes
Published
Mar 2, 2018
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-20
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Postgresql.

Affected products (CPE)

VendorProductVersions
postgresqlpostgresql≥ 9.3 < 9.3.22
postgresqlpostgresql≥ 9.4 < 9.4.17
postgresqlpostgresql≥ 9.5 < 9.5.12
postgresqlpostgresql≥ 9.6 < 9.6.8
postgresqlpostgresql≥ 10.0 < 10.3
canonicalubuntu_linux14.04
canonicalubuntu_linux16.04
canonicalubuntu_linux17.10
redhatcloudforms4.6

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.