Remote Code Execution Vulnerability in PostgreSQL

MonitorFull system takeover with local access.
6.7MEDIUM

Key Information:

Vendor

Red Hat

CVE ID
CVE ID:
CVE-2017-12172
Vendor
CVE Published:
22 November 2017

Timeline

  • Vulnerability published

  • Vulnerability Reserved

How risky is it?

  • No: Needs local access
  • No: No public exploit yet
  • No: Not on CISA's exploited list
  • No: No ransomware use seen

Our verdict

Monitor

Low risk for most. Patch in your normal cycle.

What to do

1Check the vendor's fix

No fixed version is recorded yet. The vendor advisory is the authoritative source for patches.

Read the vendor advisory β†—
2Why it's rated "Monitor"
  • Its CVSS severity is medium (6.7).

What is CVE-2017-12172?

PostgreSQL versions 10.x prior to 10.1 and various 9.x versions are susceptible to a remote code execution vulnerability. The issue arises when PostgreSQL runs under a non-root operation account and database superusers are granted the ability to execute arbitrary code. This vulnerability is exploitative in nature, as attackers could potentially escalate their privileges to root level. The root of the problem lies in the handling of log file names, which database superusers may replace with symbolic links that the system executes as root upon starting the server. This configuration creates a loophole that can be abused, underscoring the importance of applying timely updates and utilizing stringent security practices.

Affected Version(s)

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, 9.3.x before 9.3.20, 9.2.x before 9.2.24

References

Arbitrary Command Execution Vulnerability in Ghostscript Software

CVE-2026-101258
Red HatRed Hat Enterprise Lin...7.8HIGH

Use-After-Free Flaw in Librsvg Affects GNOME's SVG Processing Tool

CVE-2026-96889
Red HatRed Hat Enterprise Lin...πŸ˜„πŸ‘Ύ7.8HIGH

Time-based sudo vulnerability in Sudo

CVE-2026-96512
Red HatRed Hat Enterprise Lin...7.8HIGH
View more Red Hat vulnerabilities...

Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities Β· Report a correction

CVSS V3.1

Score:
6.7
Severity:
MEDIUM
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Local
Attack Complexity:
Low
Privileges Required:
High
User Interaction:
None
Scope:
Unchanged
.