CVE-2010-0442
MEDIUM 6.5CVSS 2.0The 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."
- Published
- 2 Feb 2010
- Last modified
- 16 Jun 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-189
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.5 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | postgresql | postgresqlcpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* |
>= 7.4, < 7.4.28 | 7.4.28 |
| NVD | postgresql | postgresqlcpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* |
>= 8.0, < 8.0.24 | 8.0.24 |
| NVD | postgresql | postgresqlcpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* |
>= 8.1, < 8.1.20 | 8.1.20 |
| NVD | postgresql | postgresqlcpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* |
>= 8.2, < 8.2.16 | 8.2.16 |
| NVD | postgresql | postgresqlcpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* |
>= 8.3, < 8.3.10 | 8.3.10 |
| NVD | postgresql | postgresqlcpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* |
>= 8.4, < 8.4.3 | 8.4.3 |
References
- http://archives.postgresql.org/pgsql-committers/2010-01/msg00125.php · Vendor Advisory
- http://archives.postgresql.org/pgsql-hackers/2010-01/msg00634.php · Vendor Advisory
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=567058 · Third Party Advisory
- http://git.postgresql.org/gitweb?p=postgresql.git%3Ba=commit%3Bh=75dea10196c31d98d98c0bafeeb576ae99c09b12 · Vendor Advisory
- http://git.postgresql.org/gitweb?p=postgresql.git%3Ba=commit%3Bh=b15087cb39ca9e4bde3c8920fcee3741045d2b83 · Vendor Advisory
- http://intevydis.blogspot.com/2010/01/postgresql-8023-bitsubstr-overflow.html · Third Party Advisory
- http://secunia.com/advisories/39566 · Broken Link
- http://secunia.com/advisories/39820 · Broken Link
- http://secunia.com/advisories/39939 · Broken Link
- http://securitytracker.com/id?1023510 · Third Party Advisory, VDB Entry
- http://ubuntu.com/usn/usn-933-1 · Third Party Advisory
- http://www.debian.org/security/2010/dsa-2051 · Third Party Advisory
- http://www.mandriva.com/security/advisories?name=MDVSA-2010:103 · Broken Link
- http://www.openwall.com/lists/oss-security/2010/01/27/5 · Mailing List, Third Party Advisory
- http://www.redhat.com/support/errata/RHSA-2010-0427.html · Third Party Advisory
- http://www.redhat.com/support/errata/RHSA-2010-0428.html · Third Party Advisory
- http://www.redhat.com/support/errata/RHSA-2010-0429.html · Third Party Advisory
- http://www.securityfocus.com/bid/37973 · Exploit, Third Party Advisory, VDB Entry
- http://www.vupen.com/english/advisories/2010/1022 · Permissions Required
- http://www.vupen.com/english/advisories/2010/1197 · Permissions Required
- http://www.vupen.com/english/advisories/2010/1207 · Permissions Required
- http://www.vupen.com/english/advisories/2010/1221 · Permissions Required
- https://bugzilla.redhat.com/show_bug.cgi?id=559194 · Issue Tracking, Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=559259 · Issue Tracking, Third Party Advisory
- https://exchange.xforce.ibmcloud.com/vulnerabilities/55902 · Third Party Advisory, VDB Entry
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9720 · Third Party Advisory
History
- 25 Nov 2026 20:15 UTC · NVD: first stored (published 2 Feb 2010)