CVE-2010-0442
publishedpostgresql: substring() negative length argument buffer overflow
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | redhat |
| Debian | lenny | postgresql-8.3 | Advisory build | 8.3.11-0lenny1 | DSA-2051-1 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresqli386 | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresqlia64 | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresqlppc | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresqls390 | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresqls390x | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresqlsrc | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
Show 93 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresqlx86_64 | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-contribi386 | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-contribia64 | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-contribppc | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-contribs390 | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-contribs390x | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-contribx86_64 | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-debuginfoi386 | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-debuginfoia64 | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-debuginfoppc | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-debuginfoppc64 | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-debuginfos390 | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-debuginfos390x | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-debuginfox86_64 | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-develi386 | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-develia64 | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-develppc | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-devels390 | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-devels390x | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-develx86_64 | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-docsi386 | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-docsia64 | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-docsppc | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-docss390 | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-docss390x | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-docsx86_64 | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-jdbci386 | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-jdbcia64 | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-jdbcppc | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-jdbcs390 | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-jdbcs390x | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-jdbcx86_64 | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-libsi386 | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-libsia64 | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-libsppc | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-libsppc64 | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-libss390 | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-libss390x | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-libsx86_64 | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-pli386 | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-plia64 | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-plppc | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-pls390 | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-pls390x | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-plx86_64 | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-pythoni386 | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-pythonia64 | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-pythonppc | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-pythons390 | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-pythons390x | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-pythonx86_64 | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-serveri386 | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-serveria64 | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-serverppc | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-servers390 | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-servers390x | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-serverx86_64 | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-tcli386 | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-tclia64 | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-tclppc | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-tcls390 | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-tcls390x | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-tclx86_64 | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-testi386 | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-testia64 | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-testppc | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-tests390 | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-tests390x | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-3 | rh-postgresql-testx86_64 | Advisory build | 7.3.21-3 | RHSA-2010:0427 |
| Red Hat Enterprise Linux | RHEL-4 | postgresqli386 | Advisory build | 7.4.29-1.el4_8.1 | RHSA-2010:0428 |
| Red Hat Enterprise Linux | RHEL-4 | postgresqlia64 | Advisory build | 7.4.29-1.el4_8.1 | RHSA-2010:0428 |
| Red Hat Enterprise Linux | RHEL-4 | postgresqlppc | Advisory build | 7.4.29-1.el4_8.1 | RHSA-2010:0428 |
| Red Hat Enterprise Linux | RHEL-4 | postgresqls390 | Advisory build | 7.4.29-1.el4_8.1 | RHSA-2010:0428 |
| Red Hat Enterprise Linux | RHEL-4 | postgresqls390x | Advisory build | 7.4.29-1.el4_8.1 | RHSA-2010:0428 |
| Red Hat Enterprise Linux | RHEL-4 | postgresqlsrc | Advisory build | 7.4.29-1.el4_8.1 | RHSA-2010:0428 |
| Red Hat Enterprise Linux | RHEL-4 | postgresqlx86_64 | Advisory build | 7.4.29-1.el4_8.1 | RHSA-2010:0428 |
| Red Hat Enterprise Linux | RHEL-4 | postgresql-contribi386 | Advisory build | 7.4.29-1.el4_8.1 | RHSA-2010:0428 |
| Red Hat Enterprise Linux | RHEL-4 | postgresql-contribia64 | Advisory build | 7.4.29-1.el4_8.1 | RHSA-2010:0428 |
| Red Hat Enterprise Linux | RHEL-4 | postgresql-contribppc | Advisory build | 7.4.29-1.el4_8.1 | RHSA-2010:0428 |
| Red Hat Enterprise Linux | RHEL-4 | postgresql-contribs390 | Advisory build | 7.4.29-1.el4_8.1 | RHSA-2010:0428 |
| Red Hat Enterprise Linux | RHEL-4 | postgresql-contribs390x | Advisory build | 7.4.29-1.el4_8.1 | RHSA-2010:0428 |
| Red Hat Enterprise Linux | RHEL-4 | postgresql-contribx86_64 | Advisory build | 7.4.29-1.el4_8.1 | RHSA-2010:0428 |
| Red Hat Enterprise Linux | RHEL-4 | postgresql-debuginfoi386 | Advisory build | 7.4.29-1.el4_8.1 | RHSA-2010:0428 |
| Red Hat Enterprise Linux | RHEL-4 | postgresql-debuginfoia64 | Advisory build | 7.4.29-1.el4_8.1 | RHSA-2010:0428 |
| Red Hat Enterprise Linux | RHEL-4 | postgresql-debuginfoppc | Advisory build | 7.4.29-1.el4_8.1 | RHSA-2010:0428 |
| Red Hat Enterprise Linux | RHEL-4 | postgresql-debuginfoppc64 | Advisory build | 7.4.29-1.el4_8.1 | RHSA-2010:0428 |
| Red Hat Enterprise Linux | RHEL-4 | postgresql-debuginfos390 | Advisory build | 7.4.29-1.el4_8.1 | RHSA-2010:0428 |
| Red Hat Enterprise Linux | RHEL-4 | postgresql-debuginfos390x | Advisory build | 7.4.29-1.el4_8.1 | RHSA-2010:0428 |
| Red Hat Enterprise Linux | RHEL-4 | postgresql-debuginfox86_64 | Advisory build | 7.4.29-1.el4_8.1 | RHSA-2010:0428 |
| Red Hat Enterprise Linux | RHEL-4 | postgresql-develi386 | Advisory build | 7.4.29-1.el4_8.1 | RHSA-2010:0428 |
| Red Hat Enterprise Linux | RHEL-4 | postgresql-develia64 | Advisory build | 7.4.29-1.el4_8.1 | RHSA-2010:0428 |
| Red Hat Enterprise Linux | RHEL-4 | postgresql-develppc | Advisory build | 7.4.29-1.el4_8.1 | RHSA-2010:0428 |
| Red Hat Enterprise Linux | RHEL-4 | postgresql-devels390 | Advisory build | 7.4.29-1.el4_8.1 | RHSA-2010:0428 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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."
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | redhat · cna |
Weaknesses
1- n/a
References
26- [pgsql-committers] 20100107 pgsql: Make bit/varbit substring() treat any negative length as meaning http://archives.postgresql.org/pgsql-committers/2010-01/msg00125.php
- [pgsql-hackers] 20100107 Re: Patch: Allow substring/replace() to get/set bit values 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
- 39566 http://secunia.com/advisories/39566
- 39820 http://secunia.com/advisories/39820
- 39939 http://secunia.com/advisories/39939
- 1023510 http://securitytracker.com/id?1023510
- USN-933-1 http://ubuntu.com/usn/usn-933-1
- DSA-2051 http://www.debian.org/security/2010/dsa-2051
- MDVSA-2010:103 http://www.mandriva.com/security/advisories?name=MDVSA-2010:103
- [oss-security] 20100127 Re: CVE id request: postgresql bitsubstr overflow http://www.openwall.com/lists/oss-security/2010/01/27/5
- RHSA-2010:0427 http://www.redhat.com/support/errata/RHSA-2010-0427.html
- RHSA-2010:0428 http://www.redhat.com/support/errata/RHSA-2010-0428.html
- RHSA-2010:0429 http://www.redhat.com/support/errata/RHSA-2010-0429.html
- 37973 http://www.securityfocus.com/bid/37973
- ADV-2010-1022 http://www.vupen.com/english/advisories/2010/1022
- ADV-2010-1197 http://www.vupen.com/english/advisories/2010/1197
- ADV-2010-1207 http://www.vupen.com/english/advisories/2010/1207
- ADV-2010-1221 http://www.vupen.com/english/advisories/2010/1221
- https://bugzilla.redhat.com/show_bug.cgi?id=559194
- https://bugzilla.redhat.com/show_bug.cgi?id=559259
- postgresql-substring-bo(55902) https://exchange.xforce.ibmcloud.com/vulnerabilities/55902
- oval:org.mitre.oval:def:9720 https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9720
Provider assertions
2redhat · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 984d105b6d00885fd1a8c55675c21c5a22614399e1941be11ae94358d66e8e3b
- Ingested
- 23 Sep 2026, 07:38:44 UTC
- Source record
- Official CVE record