CVE-2015-0242 Memory corruption in PostgreSQL

High 8.8 Published Updated

Remote authenticated users can trigger a stack-based buffer overflow in PostgreSQL on Windows via large floating point precision, causing crashes or code execution.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2015-0242?

CVE-2015-0242 is a high-severity memory corruption vulnerability in Debian Debian Linux, published on 27 Jan 2020. Any signed-in user can exploit it over the network, with no action from the victim.

Official 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.

Weakness: CWE-787

Which versions are affected by CVE-2015-0242?

It affects 2 products.

Products include Debian Debian Linux, Postgresql Postgresql.

How do I fix CVE-2015-0242?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2015-0242 being exploited?

There is no known exploitation of CVE-2015-0242 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as GHSA-484w-vg65-78pg.

Is CVE-2015-0242 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free