CVE-2015-0242
postgresql: buffer overflow flaws in replacement *printf() functions
Severity
ModerateRed Hat Product Security
CVSS 2.0
Review impact separately from score.
Published · February 16, 2015
Updated · June 27, 2026
Description
A buffer overflow flaw was found in the PostgreSQL's internal printf() implementation. An authenticated database user could use a specially crafted string in an SQL query to cause PostgreSQL to crash or, potentially, lead to privilege escalation.
Statement
Not vulnerable. This issue does not affect the version of the postgresql package shipped in Red Hat Enterprise Linux 5, 6, and 7 because it does not use the vulnerable implementation of the snprintf() function provided by postgresql; the glibc implementation of this function, which is not vulnerable to this issue, is used instead.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 2.0 · 6AV:N/AC:M/Au:S/C:P/I:P/A:P
CWE-122 · Heap-based Buffer Overflow