8.8
HIGH CVSS 3.1
CVE-2015-0242
PostgreSQL printf Stack-based Buffer Overflow Vulnerability
Description

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.

INFO

Published Date :

Jan. 27, 2020, 4:15 p.m.

Last Modified :

Nov. 21, 2024, 2:22 a.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2015-0242 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Debian debian_linux
1 Microsoft windows
1 Postgresql postgresql
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 2.0 MEDIUM [email protected]
CVSS 3.1 HIGH [email protected]
Solution
A stack-based buffer overflow vulnerability exists in PostgreSQL, which could allow for a denial of service or potentially arbitrary code execution.
  • Upgrade PostgreSQL to version 9.0.19, 9.1.15, 9.2.10, 9.3.6, 9.4.1, or later.
  • Update the affected packages.
Public PoC/Exploit Available at Github

CVE-2015-0242 has a 1 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

References to Advisories, Solutions, and Tools
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2015-0242 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2015-0242 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

None

Updated: 3 months, 1 week ago
0 stars 0 fork 0 watcher
Born at : May 25, 2025, 1:14 p.m. This repo has been linked 331 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2015-0242 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2015-0242 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference http://www.debian.org/security/2015/dsa-3155
    Added Reference http://www.postgresql.org/about/news/1569/
    Added Reference http://www.postgresql.org/docs/9.4/static/release-9-4-1.html
    Added Reference http://www.postgresql.org/docs/current/static/release-9-0-19.html
    Added Reference http://www.postgresql.org/docs/current/static/release-9-1-15.html
    Added Reference http://www.postgresql.org/docs/current/static/release-9-2-10.html
    Added Reference http://www.postgresql.org/docs/current/static/release-9-3-6.html
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Initial Analysis by [email protected]

    Jan. 31, 2020

    Action Type Old Value New Value
    Added CVSS V2 NIST (AV:N/AC:L/Au:S/C:P/I:P/A:P)
    Added CVSS V3.1 NIST AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type http://www.debian.org/security/2015/dsa-3155 No Types Assigned http://www.debian.org/security/2015/dsa-3155 Third Party Advisory
    Changed Reference Type http://www.postgresql.org/about/news/1569/ No Types Assigned http://www.postgresql.org/about/news/1569/ Vendor Advisory
    Changed Reference Type http://www.postgresql.org/docs/9.4/static/release-9-4-1.html No Types Assigned http://www.postgresql.org/docs/9.4/static/release-9-4-1.html Release Notes, Vendor Advisory
    Changed Reference Type http://www.postgresql.org/docs/current/static/release-9-0-19.html No Types Assigned http://www.postgresql.org/docs/current/static/release-9-0-19.html Release Notes, Vendor Advisory
    Changed Reference Type http://www.postgresql.org/docs/current/static/release-9-1-15.html No Types Assigned http://www.postgresql.org/docs/current/static/release-9-1-15.html Release Notes, Vendor Advisory
    Changed Reference Type http://www.postgresql.org/docs/current/static/release-9-2-10.html No Types Assigned http://www.postgresql.org/docs/current/static/release-9-2-10.html Release Notes, Vendor Advisory
    Changed Reference Type http://www.postgresql.org/docs/current/static/release-9-3-6.html No Types Assigned http://www.postgresql.org/docs/current/static/release-9-3-6.html Release Notes, Vendor Advisory
    Added CWE NIST CWE-787
    Added CPE Configuration AND OR *cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* versions up to (excluding) 9.0.19 *cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* versions from (including) 9.1.0 up to (excluding) 9.1.15 *cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* versions from (including) 9.2.0 up to (excluding) 9.2.10 *cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* versions from (including) 9.3.0 up to (excluding) 9.3.6 *cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* versions from (including) 9.4.0 up to (excluding) 9.4.1 OR cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:*
    Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:* *cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 8.8
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact
Base CVSS Score: 6.5
Access Vector
Access Complexity
Authentication
Confidentiality Impact
Integrity Impact
Availability Impact
Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

3.27 }} 0.17%

score

0.86602

percentile