CVE-2015-0241 Memory corruption in PostgreSQL

High 8.8 Published Updated

Remote authenticated users can cause a crash or execute arbitrary code via crafted numeric or timestamp formatting templates in PostgreSQL.

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-0241?

CVE-2015-0241 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

The to_char function 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 allows remote authenticated users to cause a denial of service (crash) or possibly execute arbitrary code via a (1) large number of digits when processing a numeric formatting template, which triggers a buffer over-read, or (2) crafted timestamp formatting template, which triggers a buffer overflow.

Weakness: CWE-120

Which versions are affected by CVE-2015-0241?

It affects 2 products.

Products include Debian Debian Linux, Postgresql Postgresql.

How do I fix CVE-2015-0241?

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-0241 being exploited?

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

All Debian Debian Linux vulnerabilities

Sources

Also known as GHSA-h47p-j4vf-9qhf, UBUNTU-CVE-2015-0241.

Is CVE-2015-0241 in your software?

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

Check your SBOMs for free