CVE-2010-0442 EXPLOIT
6.5
MEDIUM · CVSS 2.0 · EPSS 13.3% (pctl 96)
Patch early
A public exploit exists.
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."
Scoring
| CVSS | 6.5 (MEDIUM, v2.0) |
|---|---|
| Vector | AV:N/AC:L/Au:S/C:P/I:P/A:P |
| EPSS | 13.26% — more likely to be exploited than 96% of all CVEs |
| Weakness | CWE-189 |
| On CISA KEV | no |
| Public exploit | yes |
| Published | 2010-02-02 |
| Last modified | 2026-06-16 |
Affected (1)
| Vendor | Product |
|---|---|
| postgresql | postgresql |
Public exploits
| Source | Title | Date |
|---|---|---|
| exploit-db | PostgreSQL - 'bitsubstr' Buffer Overflow | 2010-01-27 |
References
- http://archives.postgresql.org/pgsql-committers/2010-01/msg00125.php
- http://archives.postgresql.org/pgsql-hackers/2010-01/msg00634.php
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=567058
- http://git.postgresql.org/gitweb?p=postgresql.git%3Ba=commit%3Bh=75dea10196c31d98d98c0bafeeb576ae99c09b12
- http://git.postgresql.org/gitweb?p=postgresql.git%3Ba=commit%3Bh=b15087cb39ca9e4bde3c8920fcee3741045d2b83
- http://intevydis.blogspot.com/2010/01/postgresql-8023-bitsubstr-overflow.html
- http://secunia.com/advisories/39566
- http://secunia.com/advisories/39820
- http://secunia.com/advisories/39939
- http://securitytracker.com/id?1023510
- http://ubuntu.com/usn/usn-933-1
- http://www.debian.org/security/2010/dsa-2051
- http://www.mandriva.com/security/advisories?name=MDVSA-2010:103
- http://www.openwall.com/lists/oss-security/2010/01/27/5
- http://www.redhat.com/support/errata/RHSA-2010-0427.html
- http://www.redhat.com/support/errata/RHSA-2010-0428.html
- http://www.redhat.com/support/errata/RHSA-2010-0429.html
- http://www.securityfocus.com/bid/37973
- http://www.vupen.com/english/advisories/2010/1022
- http://www.vupen.com/english/advisories/2010/1197
→ the Explorer · watch your stack · NVD