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 authenticate…
Also known as EDB-33571
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running n/a (versions: see the vendor advisory)
Vulnerability facts
- Affected
- n/a
- Fixed in
- No fix listed yet
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- Yes: see the exploit references below
- Remote exploitation
- Remote, login needed
- CVSS
- 6.5 (v2.0, NVD)AV:N/AC:L/Au:S/C:P/I:P/A:P
Show all 6 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Authentication: Single
- Confidentiality impact: Partial
- Integrity impact: Partial
- Availability impact: Partial
- EPSS
- 13.26% chance of exploitation in 30 days (percentile 97, 2026-11-26)
- CWE
- CWE-189
- Modified
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."
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| n/a | — | — | nvd |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2010-0442. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2010-0442.md Affected: n/a Fixed in: no fixed version listed yet Steps: 1. Search this machine and project for n/a: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
- http://www.redhat.com/support/errata/RHSA-2010-0427.html
- http://www.redhat.com/support/errata/RHSA-2010-0428.html
- http://www.debian.org/security/2010/dsa-2051
- http://ubuntu.com/usn/usn-933-1
- 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://archives.postgresql.org/pgsql-hackers/2010-01/msg00634.php
- http://archives.postgresql.org/pgsql-committers/2010-01/msg00125.php
- http://www.redhat.com/support/errata/RHSA-2010-0429.html
- http://www.mandriva.com/security/advisories?name=MDVSA-2010:103
Other
- http://securitytracker.com/id?1023510
- http://secunia.com/advisories/39820
- http://www.openwall.com/lists/oss-security/2010/01/27/5
- http://www.vupen.com/english/advisories/2010/1221
- http://intevydis.blogspot.com/2010/01/postgresql-8023-bitsubstr-overflow.html
- http://www.vupen.com/english/advisories/2010/1207
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=567058
- http://www.vupen.com/english/advisories/2010/1022
- http://secunia.com/advisories/39566
- https://bugzilla.redhat.com/show_bug.cgi?id=559259
- https://exchange.xforce.ibmcloud.com/vulnerabilities/55902
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9720
- https://bugzilla.redhat.com/show_bug.cgi?id=559194
- http://secunia.com/advisories/39939
- http://www.vupen.com/english/advisories/2010/1197
FAQ
Is CVE-2010-0442 being exploited?
There is no confirmed exploitation: CVE-2010-0442 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 13.26% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2010-0442?
Medium: CVSS 6.5 (v2.0, scored by NVD). Remote, login needed.
Which versions are affected by CVE-2010-0442?
n/a.
Is there a fix for CVE-2010-0442?
No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2010-0442?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.