CVE-2010-0442

PostgreSQL 7.4-7.4.28 - Denial of Service via Negative Integer in bitsubstr Function

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2010-0442. PoCs published by Intevydis.

AI-analyzed exploit summary This exploit demonstrates a buffer overflow vulnerability in PostgreSQL by using a crafted substring function call with a binary string. The overflow occurs due to inadequate boundary checks, potentially leading to arbitrary code execution or application crash.

Description

The bitsubstr function in backend/utils/adt/varbit.c in PostgreSQL 8.0.23, 8.1.11, and 8.3.8 allows remote authenticated users to cause a denial of service (daemon crash) or have unspecified other impact via vectors involving a negative integer in the third argument, as demonstrated by a SELECT statement that contains a call to the substring function for a bit string, related to an "overflow."

Exploits (1)

exploitdb WORKING POC VERIFIED
by Intevydis · textdoslinux
https://www.exploit-db.com/exploits/33571

This exploit demonstrates a buffer overflow vulnerability in PostgreSQL by using a crafted substring function call with a binary string. The overflow occurs due to inadequate boundary checks, potentially leading to arbitrary code execution or application crash.

Classification
Working Poc 90%
Attack Type
Rce
Complexity
Trivial
Reliability
Reliable
Target: PostgreSQL 8.0.23
Auth required
Prerequisites: Access to a PostgreSQL database with sufficient privileges to execute SQL queries
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (26)

Core 26
Core References
Third Party Advisory vendor-advisory x_refsource_redhat
http://www.redhat.com/support/errata/RHSA-2010-0427.html
Third Party Advisory, VDB Entry vdb-entry x_refsource_sectrack
http://securitytracker.com/id?1023510
Third Party Advisory vendor-advisory x_refsource_redhat
http://www.redhat.com/support/errata/RHSA-2010-0428.html
Third Party Advisory vendor-advisory x_refsource_debian
http://www.debian.org/security/2010/dsa-2051
Third Party Advisory vendor-advisory x_refsource_ubuntu
http://ubuntu.com/usn/usn-933-1
Broken Link third-party-advisory x_refsource_secunia
http://secunia.com/advisories/39820
Mailing List, Third Party Advisory mailing-list x_refsource_mlist
http://www.openwall.com/lists/oss-security/2010/01/27/5
Permissions Required vdb-entry x_refsource_vupen
http://www.vupen.com/english/advisories/2010/1221
Exploit, Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/37973
Permissions Required vdb-entry x_refsource_vupen
http://www.vupen.com/english/advisories/2010/1207
Third Party Advisory x_refsource_misc
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=567058
Permissions Required vdb-entry x_refsource_vupen
http://www.vupen.com/english/advisories/2010/1022
Vendor Advisory mailing-list x_refsource_mlist
http://archives.postgresql.org/pgsql-hackers/2010-01/msg00634.php
Broken Link third-party-advisory x_refsource_secunia
http://secunia.com/advisories/39566
Issue Tracking, Third Party Advisory x_refsource_confirm
https://bugzilla.redhat.com/show_bug.cgi?id=559259
Third Party Advisory, VDB Entry vdb-entry x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/55902
Vendor Advisory mailing-list x_refsource_mlist
http://archives.postgresql.org/pgsql-committers/2010-01/msg00125.php
Third Party Advisory vendor-advisory x_refsource_redhat
http://www.redhat.com/support/errata/RHSA-2010-0429.html
Issue Tracking, Third Party Advisory x_refsource_confirm
https://bugzilla.redhat.com/show_bug.cgi?id=559194
Broken Link vendor-advisory x_refsource_mandriva
http://www.mandriva.com/security/advisories?name=MDVSA-2010:103
Broken Link third-party-advisory x_refsource_secunia
http://secunia.com/advisories/39939
Permissions Required vdb-entry x_refsource_vupen
http://www.vupen.com/english/advisories/2010/1197

Scores

EPSS 0.1326
EPSS Percentile 95.9%

Details

CWE
CWE-189
Status published
Products (1)
postgresql/postgresql 7.4 - 7.4.28
Published Feb 02, 2010
Tracked Since Feb 18, 2026