BreachSpiderVerified, not vibes

CVE-2010-0442 in Postgresql

Medium 6.5 Public exploit reported

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 contai...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 2.06.5
EPSS13.3%
EPSS percentile97th
FixSee advisory

Remotely exploitable over the network, low complexity.

Affected products and versions

VendorProductAffected versions
Postgresql Postgresql ≥ 7.4, < 7.4.28 ≥ 8.0, < 8.0.24 ≥ 8.1, < 8.1.20 ≥ 8.2, < 8.2.16 ≥ 8.3, < 8.3.10 ≥ 8.4, < 8.4.3

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

View Vendor Advisory →

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitReported · reference

Official 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."

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2010-0442
BreachSpider IDBS-2010-GLOBAL-300997-M
CVSS vectorAV:N/AC:L/Au:S/C:P/I:P/A:P
Published2010-02-02
Last modified2026-06-16
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-189: CWE-189

Analysis AI-written, not human-reviewed

This vulnerability was disclosed in 2010. A medium severity vulnerability affects Postgresql systems (CVE-2010-0442). Public exploit code is available. Isolate affected systems if patching is not feasible.

Vulnerability details: 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." CVSS vector: AV:N/AC:L/Au:S/C:P/I:P/A:P.

Questions

What is CVE-2010-0442?

This vulnerability was disclosed in 2010. A medium severity vulnerability affects Postgresql systems (CVE-2010-0442). Public exploit code is available. Isolate affected systems if patching is not feasible.

What is the CVSS score for CVE-2010-0442?

CVE-2010-0442 has CVSS 6.5 (Medium). Vector: AV:N/AC:L/Au:S/C:P/I:P/A:P. EPSS: 13.3%.

Is CVE-2010-0442 actively exploited?

Public exploit available for CVE-2010-0442. Exploitation risk elevated.

How do I remediate CVE-2010-0442?

Priority: MONITOR. Advisory: http://archives.postgresql.org/pgsql-committers/2010-01/msg00125.php PSIRT: [email protected]

What systems are affected by CVE-2010-0442?

CVE-2010-0442 affects Postgresql Postgresql.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Postgresql","product":"Postgresql","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-16.