Home / Postgresql / Postgresql / CVE-2010-0442
CVE-2010-0442: is it exploited, and which versions of Postgresql are affected and fixed?
CVE-2010-0442 is a vulnerability in Postgresql. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 10:38 UTC). Affected: postgresql from 7.4 before 7.4.28, postgresql from 8.0 before 8.0.24, postgresql from 8.1 before 8.1.20 and 3 more (NVD). Fixed in 7.4.28, 8.0.24, 8.1.20, 8.2.16 and 2 more (NVD). Severity: Medium (6.5, CVSS 2.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 10:38 UTC, CVE record November 19, 2026, 07:20 UTC and NVD November 19, 2026, 08:50 UTC.
What is CVE-2010-0442?
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."
From the CVE record by redhat, last updated August 7, 2024, 00:52 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| postgresql | postgresql | from 7.4 before 7.4.28 | application |
| postgresql | postgresql | from 8.0 before 8.0.24 | application |
| postgresql | postgresql | from 8.1 before 8.1.20 | application |
| postgresql | postgresql | from 8.2 before 8.2.16 | application |
| postgresql | postgresql | from 8.3 before 8.3.10 | application |
| postgresql | postgresql | from 8.4 before 8.4.3 | application |
NVD analysis (status Modified), last modified June 16, 2026, 23:16 UTC.
How severe is CVE-2010-0442?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.5 | CVSS 2.0 | AV:N/AC:L/Au:S/C:P/I:P/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2010-0442 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 13.3% probability of exploitation activity in the next 30 days, percentile 96.5 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
Where are the vendor advisories and references?
- RHSA-2010:0427 vendor-advisory, x_refsource_REDHAT
- 1023510 vdb-entry, x_refsource_SECTRACK
- RHSA-2010:0428 vendor-advisory, x_refsource_REDHAT
- DSA-2051 vendor-advisory, x_refsource_DEBIAN
- USN-933-1 vendor-advisory, x_refsource_UBUNTU
- 39820 third-party-advisory, x_refsource_SECUNIA
- [oss-security] 20100127 Re: CVE id request: postgresql bitsubstr overflow mailing-list, x_refsource_MLIST
- ADV-2010-1221 vdb-entry, x_refsource_VUPEN
- 37973 vdb-entry, x_refsource_BID
- http://git.postgresql.org/gitweb?p=postgresql.git%3Ba=commit%3Bh=75dea10196c31d98d98c0bafeeb576ae99c09b12 x_refsource_CONFIRM
- http://intevydis.blogspot.com/2010/01/postgresql-8023-bitsubstr-overflow.html x_refsource_MISC
- http://git.postgresql.org/gitweb?p=postgresql.git%3Ba=commit%3Bh=b15087cb39ca9e4bde3c8920fcee3741045d2b83 x_refsource_CONFIRM
- ADV-2010-1207 vdb-entry, x_refsource_VUPEN
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=567058 x_refsource_MISC
- ADV-2010-1022 vdb-entry, x_refsource_VUPEN
- [pgsql-hackers] 20100107 Re: Patch: Allow substring/replace() to get/set bit values mailing-list, x_refsource_MLIST
- 39566 third-party-advisory, x_refsource_SECUNIA
- https://bugzilla.redhat.com/show_bug.cgi?id=559259 x_refsource_CONFIRM
- postgresql-substring-bo(55902) vdb-entry, x_refsource_XF
- [pgsql-committers] 20100107 pgsql: Make bit/varbit substring() treat any negative length as meaning mailing-list, x_refsource_MLIST
- RHSA-2010:0429 vendor-advisory, x_refsource_REDHAT
- oval:org.mitre.oval:def:9720 vdb-entry, signature, x_refsource_OVAL
- https://bugzilla.redhat.com/show_bug.cgi?id=559194 x_refsource_CONFIRM
- MDVSA-2010:103 vendor-advisory, x_refsource_MANDRIVA
- 39939 third-party-advisory, x_refsource_SECUNIA
- ADV-2010-1197 vdb-entry, x_refsource_VUPEN
When was it published, and where is the official record?
- Reserved
- January 27, 2010
- Published
- February 2, 2010, 18:00 UTC
- CVE record updated
- August 7, 2024, 00:52 UTC by redhat
- NVD
- Modified, last modified June 16, 2026, 23:16 UTC
- Last checked
- CVE list November 19, 2026, 07:20 UTC; NVD November 19, 2026, 08:50 UTC; KEV December 3, 2026, 10:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Postgresql?
- Nov 12, 2026CVE-2026-6460 PostgreSQL: type confusion
- Nov 12, 2026CVE-2026-6467 PostgreSQL: uncontrolled search path (DLL or library hijacking)
- Nov 12, 2026CVE-2026-16240 PostgreSQL: format string flaw
- Nov 12, 2026CVE-2026-18447 PostgreSQL: type confusion
- Nov 12, 2026CVE-2026-14661 PostgreSQL: external Control of File Name or Path
- Nov 12, 2026CVE-2026-16237 PostgreSQL: improper Protection of Alternate Path
- Nov 12, 2026CVE-2026-120154 PostgreSQL: improper Protection of Alternate Path
- Nov 12, 2026CVE-2026-120153 PostgreSQL: SQL injection
Questions about CVE-2010-0442
Is CVE-2010-0442 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 10:38 UTC. FIRST's EPSS gives it a 13.3% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Postgresql are affected by CVE-2010-0442?
postgresql from 7.4 before 7.4.28, postgresql from 8.0 before 8.0.24, postgresql from 8.1 before 8.1.20, postgresql from 8.2 before 8.2.16, postgresql from 8.3 before 8.3.10 and postgresql from 8.4 before 8.4.3, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2010-0442?
7.4.28, 8.0.24, 8.1.20, 8.2.16, 8.3.10 and 8.4.3, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2010-0442?
Medium (6.5, CVSS 2.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2010-0442?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.