CVE-2007-0556 Memory corruption in n/a
Authenticated users can crash the server or read arbitrary memory via a crafted SQL statement due to improper query plan validation.
- 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-2007-0556?
CVE-2007-0556 is a medium-severity memory corruption vulnerability in Postgresql Postgresql, published on 6 Feb 2007. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
The query planner in PostgreSQL before 8.0.11, 8.1 before 8.1.7, and 8.2 before 8.2.2 does not verify that a table is compatible with a "previously made query plan," which allows remote authenticated users to cause a denial of service (server crash) and possibly access database content via an "ALTER COLUMN TYPE" SQL statement, which can be leveraged to read arbitrary memory from the server.
Which versions are affected by CVE-2007-0556?
It affects 1 product.
Products include Postgresql Postgresql.
How do I fix CVE-2007-0556?
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-2007-0556 being exploited?
There is no known exploitation of CVE-2007-0556 in the wild and no public exploit code.
Other vulnerabilities in Postgresql Postgresql
Sources
Also known as GHSA-c63f-g8cg-38ww.