# CVE-2018-1115

- Priority: **Routine**
- Reason: Not severe (CVSS 4.2, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2018-05-10 · Modified: 2026-10-08
- Aliases: ALPINE-CVE-2018-1115, SUSE-SU-2018:1695-1, UBUNTU-CVE-2018-1115
- Record: https://cvemate.com/vulnerability/CVE-2018-1115 · JSON: https://cvemate.com/vulnerability/CVE-2018-1115/json

## Description

```text
postgresql before versions 10.4, 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.
```

## Signals

- CVSS: 9.1 critical (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
- EPSS: 3.826%, percentile 90.397%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine postgresql (Alpine Linux): ≥ 10.0, \< 9.5.13-r0 \| ≥ 10.0, \< 9.6.9-r0 \| ≥ 10.0, \< 10.4-r0 \| \< 9.5.13-r0 \| \< 9.6.9-r0
- alpine postgresql14 (Alpine Linux): \< 10.4-r0
- alpine postgresql15 (Alpine Linux): \< 10.4-r0
- ubuntu postgresql-10 (Ubuntu): \< 10.4-0ubuntu0.18.04
- opensuse leap: 15.1
- postgresql postgresql: \< 9.6.9 \| ≥ 10.0, \< 10.4
- suse postgresql96-libs&distro=SUSE Linux Enterprise Desktop 12 SP3 (SUSE Linux Enterprise): \< 9.6.9-3.19.1
- suse postgresql96-libs&distro=SUSE Linux Enterprise Server 12 SP3 (SUSE Linux Enterprise): \< 9.6.9-3.19.1
- suse postgresql96-libs&distro=SUSE Linux Enterprise Server for SAP Applications 12 SP3 (SUSE Linux Enterprise): \< 9.6.9-3.19.1
- suse postgresql96-libs&distro=SUSE Linux Enterprise Software Development Kit 12 SP3 (SUSE Linux Enterprise): \< 9.6.9-3.19.1
- suse postgresql96&distro=SUSE Linux Enterprise Desktop 12 SP3 (SUSE Linux Enterprise): \< 9.6.9-3.19.1
- suse postgresql96&distro=SUSE Linux Enterprise Server 12 SP3 (SUSE Linux Enterprise): \< 9.6.9-3.19.1
- suse postgresql96&distro=SUSE Linux Enterprise Server for SAP Applications 12 SP3 (SUSE Linux Enterprise): \< 9.6.9-3.19.1
- unspecified postgresql: postegresql 10.4 \| postegresql 9.6.9

## References

- <https://security.gentoo.org/glsa/201810-08>
- <https://access.redhat.com/errata/RHSA-2018:2566>
- <https://access.redhat.com/errata/RHSA-2018:2565>
- <http://www.securityfocus.com/bid/104285>
- <http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00043.html>
- <https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-1115>
- <https://git.postgresql.org/gitweb/?p=postgresql.git%3Ba=commitdiff%3Bh=7b34740>
- <https://security.alpinelinux.org/vuln/CVE-2018-1115>
- <https://www.suse.com/support/update/announcement/2018/suse-su-20181695-1/>
- <https://bugzilla.suse.com/1091610>
- <https://www.suse.com/security/cve/CVE-2018-1115>
- <https://ubuntu.com/security/CVE-2018-1115>
- <https://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=7b34740>
- <https://www.cve.org/CVERecord?id=CVE-2018-1115>

---

Data as of 2026-12-05T06:59:16.158Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
