CVE-2015-0241
postgresql: buffer overflow in the to_char() function
Severity
ModerateRed Hat Product Security
CVSS 2.0
Review impact separately from score.
Published · February 16, 2015
Updated · June 28, 2026
Description
A buffer overflow flaw was found in the way PostgreSQL handled certain numeric formatting. An authenticated database user could use a specially crafted timestamp formatting template to cause PostgreSQL to crash or, under certain conditions, execute arbitrary code with the permissions of the user running PostgreSQL.
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