CVE-2015-0242
Stack-based buffer overflow in the *printf function implementations in PostgreSQL before 9.0.19,...
Stack-based buffer overflow in the *printf function implementations in PostgreSQL before 9.0.19, 9.1.x before 9.1.15, 9.2.x before 9.2.10, 9.3.x before 9.3.6, and 9.4.x before 9.4.1, when running on a Windows system, allows remote authenticated users to cause a denial of service (crash) and possibly execute arbitrary code via a floating point number with a large precision, as demonstrated by using the to_char function.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
8.8
Stack-based buffer overflow in the *printf function implementations in PostgreSQL before 9.0.19, 9.1.x before 9.1.15, 9.2.x before 9.2.10, 9.3.x before 9.3.6, and 9.4.x before 9.4.1, when running on a Windows system, allows remote authenticated users to cause a denial of service (crash) and possibly execute arbitrary code via a floating point number with a large precision, as demonstrated by using the to_char function.
- Record
CVE-2015-0242- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - CVSS 2.0
- 6.5 Medium
AV:N/AC:L/Au:S/C:P/I:P/A:P - Weakness
- CWE-787
- Updated
- 2026-11-02
CVE List No score
Stack-based buffer overflow in the *printf function implementations in PostgreSQL before 9.0.19, 9.1.x before 9.1.15, 9.2.x before 9.2.10, 9.3.x before 9.3.6, and 9.4.x before 9.4.1, when running on a Windows system, allows remote authenticated users to cause a denial of service (crash) and possibly execute arbitrary code via a floating point number with a large precision, as demonstrated by using the to_char function.
- Record
CVE-2015-0242- Updated
- 2026-11-02
EUVDEUVD-2015-0264 No score
Stack-based buffer overflow in the *printf function implementations in PostgreSQL before 9.0.19, 9.1.x before 9.1.15, 9.2.x before 9.2.10, 9.3.x before 9.3.6, and 9.4.x before 9.4.1, when running on a Windows system, allows remote authenticated users to cause a denial of service (crash) and possibly execute arbitrary code via a floating point number with a large precision, as demonstrated by using the to_char function.
- Record
EUVD-2015-0264- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-484w-vg65-78pg No score
Stack-based buffer overflow in the *printf function implementations in PostgreSQL before 9.0.19,...
Stack-based buffer overflow in the *printf function implementations in PostgreSQL before 9.0.19, 9.1.x before 9.1.15, 9.2.x before 9.2.10, 9.3.x before 9.3.6, and 9.4.x before 9.4.1, when running on a Windows system, allows remote authenticated users to cause a denial of service (crash) and possibly execute arbitrary code via a floating point number with a large precision, as demonstrated by using the to_char function.
- Record
GHSA-484w-vg65-78pg- Updated
- 2026-11-02
OSVMGASA-2015-0069 No score
Updated postgresql packages fix security vulnerabilities
Updated postgresql packages fix security vulnerabilities:
A user with limited clearance on a table might have access to information in columns without SELECT rights on through server error messages (CVE-2014-8161).
The function to_char() might read/write past the end of a buffer. This might crash the server when a formatting template is processed (CVE-2015-0241).
The pgcrypto module is vulnerable to stack buffer overrun that might crash the server (CVE-2015-0243).
Emil Lenngren reported that an attacker can inject SQL commands when the synchronization between client and server is lost (CVE-2015-0244).
This update provides PostgreSQL versions 9.3.6, 9.2.10, 9.1.15, and 9.0.19 that fix these issues, as well as several others.
- Record
MGASA-2015-0069- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:10256-1 No score
postgresql93-9.3.15-1.1 on GA media
These are all security issues fixed in the postgresql93-9.3.15-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:10256-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
postgresql9.0Mageia:4 From an advisory covering 5 CVEs |
before 9.0.19-1.mga4 | 9.0.19-1.mga4 |
postgresql9.1Mageia:4 From an advisory covering 5 CVEs |
before 9.1.15-1.mga4 | 9.1.15-1.mga4 |
postgresql9.2Mageia:4 From an advisory covering 5 CVEs |
before 9.2.10-1.mga4 | 9.2.10-1.mga4 |
postgresql9.3Mageia:4 From an advisory covering 5 CVEs |
before 9.3.6-1.mga4 | 9.3.6-1.mga4 |
postgresql93openSUSE:Tumbleweed From an advisory covering 40 CVEs |
before 9.3.15-1.1 | 9.3.15-1.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2015-0242 is a high vulnerability (CVSS 8.8) in Postgresql, published February 17, 2015. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 5.14%, the 92nd percentile. No source names a fixed version.
References
postgresql.org/docs/9.4/static/release-9-4-1.html
postgresql.org/docs/current/static/release-9-0-19.html
postgresql.org/docs/current/static/release-9-1-15.html
postgresql.org/docs/current/static/release-9-2-10.html
postgresql.org/docs/current/static/release-9-3-6.html
postgresql.org/about/news/1569
Show 45 moreShow less
debian.org/security/2015/dsa-3155
nvd.nist.gov/vuln/detail/CVE-2015-0242
github.com/advisories/GHSA-484w-vg65-78pg
advisories.mageia.org/MGASA-2015-0069.html
bugs.mageia.org/show_bug.cgi?id=15217
suse.com/security/cve/CVE-2007-4772
suse.com/security/cve/CVE-2007-6600
suse.com/security/cve/CVE-2009-4034
suse.com/security/cve/CVE-2009-4136
suse.com/security/cve/CVE-2010-1169
suse.com/security/cve/CVE-2010-1170
suse.com/security/cve/CVE-2010-3433
suse.com/security/cve/CVE-2012-0866
suse.com/security/cve/CVE-2012-0867
suse.com/security/cve/CVE-2012-0868
suse.com/security/cve/CVE-2012-2143
suse.com/security/cve/CVE-2012-2655
suse.com/security/cve/CVE-2012-3488
suse.com/security/cve/CVE-2012-3489
suse.com/security/cve/CVE-2013-0255
suse.com/security/cve/CVE-2013-1899
suse.com/security/cve/CVE-2013-1900
suse.com/security/cve/CVE-2013-1901
suse.com/security/cve/CVE-2014-0060
suse.com/security/cve/CVE-2014-0061
suse.com/security/cve/CVE-2014-0062
suse.com/security/cve/CVE-2014-0063
suse.com/security/cve/CVE-2014-0064
suse.com/security/cve/CVE-2014-0065
suse.com/security/cve/CVE-2014-0066
suse.com/security/cve/CVE-2014-0067
suse.com/security/cve/CVE-2014-8161
suse.com/security/cve/CVE-2015-0241
suse.com/security/cve/CVE-2015-0242
suse.com/security/cve/CVE-2015-0243
suse.com/security/cve/CVE-2015-0244
suse.com/security/cve/CVE-2015-3165
suse.com/security/cve/CVE-2015-3166
suse.com/security/cve/CVE-2015-3167
suse.com/security/cve/CVE-2015-5288
suse.com/security/cve/CVE-2015-5289
suse.com/security/cve/CVE-2016-0766
suse.com/security/cve/CVE-2016-0773
suse.com/security/cve/CVE-2016-5423
suse.com/security/cve/CVE-2016-5424