{"id":"CVE-2010-0442","published":"2010-02-02T18:00:00Z","modified":"2024-08-07T00:52:17Z","title":"The bitsubstr function in backend/utils/adt/varbit.c in PostgreSQL 8.0.23, 8.1.11, and 8.3.8 allows remote…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.\"","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.13255,"percentile":0.96477,"provenance":"source"},"cwes":[],"references":[{"url":"http://www.redhat.com/support/errata/RHSA-2010-0427.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://securitytracker.com/id?1023510","tags":["vdb-entry","x_refsource_SECTRACK"]},{"url":"http://www.redhat.com/support/errata/RHSA-2010-0428.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://www.debian.org/security/2010/dsa-2051","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"http://ubuntu.com/usn/usn-933-1","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"http://secunia.com/advisories/39820","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.openwall.com/lists/oss-security/2010/01/27/5","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://www.vupen.com/english/advisories/2010/1221","tags":["vdb-entry","x_refsource_VUPEN"]},{"url":"http://www.securityfocus.com/bid/37973","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://git.postgresql.org/gitweb?p=postgresql.git%3Ba=commit%3Bh=75dea10196c31d98d98c0bafeeb576ae99c09b12","tags":["x_refsource_CONFIRM"]},{"url":"http://intevydis.blogspot.com/2010/01/postgresql-8023-bitsubstr-overflow.html","tags":["x_refsource_MISC"]},{"url":"http://git.postgresql.org/gitweb?p=postgresql.git%3Ba=commit%3Bh=b15087cb39ca9e4bde3c8920fcee3741045d2b83","tags":["x_refsource_CONFIRM"]},{"url":"http://www.vupen.com/english/advisories/2010/1207","tags":["vdb-entry","x_refsource_VUPEN"]},{"url":"http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=567058","tags":["x_refsource_MISC"]},{"url":"http://www.vupen.com/english/advisories/2010/1022","tags":["vdb-entry","x_refsource_VUPEN"]},{"url":"http://archives.postgresql.org/pgsql-hackers/2010-01/msg00634.php","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://secunia.com/advisories/39566","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=559259","tags":["x_refsource_CONFIRM"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/55902","tags":["vdb-entry","x_refsource_XF"]},{"url":"http://archives.postgresql.org/pgsql-committers/2010-01/msg00125.php","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://www.redhat.com/support/errata/RHSA-2010-0429.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9720","tags":["vdb-entry","signature","x_refsource_OVAL"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=559194","tags":["x_refsource_CONFIRM"]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2010:103","tags":["vendor-advisory","x_refsource_MANDRIVA"]},{"url":"http://secunia.com/advisories/39939","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.vupen.com/english/advisories/2010/1197","tags":["vdb-entry","x_refsource_VUPEN"]}],"priority":{"score":24.3,"factors":[{"name":"EPSS percentile","points":19.3},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"exploitdb":{"count":1,"earliest":"2010-01-27"},"first":{"date":"2010-01-27","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/33571"},"provenance":"source"},"summary":{"text":"The bitsubstr function in backend/utils/adt/varbit.c in PostgreSQL is flawed in its handling of a negative integer passed as the third argument, a bug related to an overflow. An authenticated remote user who can submit a SELECT statement calling the bit string substring function with such a value can crash the daemon, and may be able to cause other unspecified impacts.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:49:13Z"},"euvd":{"id":"EUVD-2010-0473","exploited":false,"provenance":"source"},"exploits":[{"id":33571,"url":"https://www.exploit-db.com/exploits/33571","title":"PostgreSQL - 'bitsubstr' Buffer Overflow","date":"2010-01-27","verified":true,"provenance":"source"}]}