CVE-2010-0442

Summary

CVECVE-2010-0442
StatePUBLISHED
Assignerredhat
Source PriorityCVE Program / NVD first with legacy fallback
Published2010-02-02 18:30:00 UTC
Updated2026-04-29 01:13:23 UTC
DescriptionThe 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."

Risk And Classification

Primary CVSS: v2.0 6.5 from [email protected]

AV:N/AC:L/Au:S/C:P/I:P/A:P

Problem Types: CWE-189 | n/a

CVSS v2.0 Breakdown

Access Vector
Network
Access Complexity
Low
Authentication
Single
Confidentiality
Partial
Integrity
Partial
Availability
Partial

AV:N/AC:L/Au:S/C:P/I:P/A:P

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Postgresql Postgresql All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
Intevydis blog: PostgreSQL 8.0.23 bitsubstr overflow af854a3a-2127-422b-91ae-364da2661108 intevydis.blogspot.com Third Party Advisory
Support af854a3a-2127-422b-91ae-364da2661108 www.redhat.com Third Party Advisory
Webmail : Solution de messagerie professionnelle - OVHcloud- OVH af854a3a-2127-422b-91ae-364da2661108 www.vupen.com Permissions Required
Re: Patch: Allow substring/replace() to get/set bit values af854a3a-2127-422b-91ae-364da2661108 archives.postgresql.org Vendor Advisory
Webmail : Solution de messagerie professionnelle - OVHcloud- OVH af854a3a-2127-422b-91ae-364da2661108 www.vupen.com Permissions Required
Bug 559194 – PostgreSQL 8.0.23 bitsubstr overflow af854a3a-2127-422b-91ae-364da2661108 bugzilla.redhat.com Issue Tracking, Third Party Advisory
git.postgresql.org Git af854a3a-2127-422b-91ae-364da2661108 git.postgresql.org Vendor Advisory
oss-security - Re: CVE id request: postgresql bitsubstr overflow af854a3a-2127-422b-91ae-364da2661108 www.openwall.com Mailing List, Third Party Advisory
IBM X-Force Exchange af854a3a-2127-422b-91ae-364da2661108 exchange.xforce.ibmcloud.com Third Party Advisory, VDB Entry
Webmail : Solution de messagerie professionnelle - OVHcloud- OVH af854a3a-2127-422b-91ae-364da2661108 www.vupen.com Permissions Required
Support af854a3a-2127-422b-91ae-364da2661108 www.redhat.com Third Party Advisory
Red Hat update for postgresql - Secunia.com af854a3a-2127-422b-91ae-364da2661108 secunia.com Broken Link
Repository / Oval Repository af854a3a-2127-422b-91ae-364da2661108 oval.cisecurity.org Third Party Advisory
Bug 559259 – CVE-2010-0442 postgresql: substring() negative length argument buffer overflow af854a3a-2127-422b-91ae-364da2661108 bugzilla.redhat.com Issue Tracking, Third Party Advisory
USN-933-1: PostgreSQL vulnerability | Ubuntu af854a3a-2127-422b-91ae-364da2661108 ubuntu.com Third Party Advisory
PostgreSQL Substring Buffer Overflow Lets Remote Authenticated Users Execute Arbitrary Code - SecurityTracker af854a3a-2127-422b-91ae-364da2661108 securitytracker.com Third Party Advisory, VDB Entry
Debian -- Security Information -- DSA-2051-1 postgresql-8.3 af854a3a-2127-422b-91ae-364da2661108 www.debian.org Third Party Advisory
pgsql: Make bit/varbit substring() treat any negative length as meaning af854a3a-2127-422b-91ae-364da2661108 archives.postgresql.org Vendor Advisory
Support af854a3a-2127-422b-91ae-364da2661108 www.redhat.com Third Party Advisory
mandriva.com af854a3a-2127-422b-91ae-364da2661108 www.mandriva.com Broken Link
PostgreSQL 'bitsubstr' Buffer Overflow Vulnerability af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com Exploit, Third Party Advisory, VDB Entry
Webmail : Solution de messagerie professionnelle - OVHcloud- OVH af854a3a-2127-422b-91ae-364da2661108 www.vupen.com Permissions Required
git.postgresql.org Git af854a3a-2127-422b-91ae-364da2661108 git.postgresql.org Vendor Advisory
#567058 - postgresql-8.3 - Segfault in substring - Debian Bug report logs af854a3a-2127-422b-91ae-364da2661108 bugs.debian.org Third Party Advisory
Debian update for postgresql-8.3 - Advisories - Community af854a3a-2127-422b-91ae-364da2661108 secunia.com Broken Link
Ubuntu update for postgresql - Advisories - Community af854a3a-2127-422b-91ae-364da2661108 secunia.com Broken Link
git.postgresql.org Git - postgresql.git/commit MITRE git.postgresql.org
git.postgresql.org Git - postgresql.git/commit MITRE git.postgresql.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report