Read the docs
TI-2010-00420 Aliases CVE-2010-0442GHSA-gv9m-x3m7-x4g8

The bitsubstr function in backend/utils/adt/varbit.c in PostgreSQL 8.0.23, 8.1.11, and…

Priority MEDIUM 43CWE-189Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
— Not recorded in CVSS 2.0
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
Partial · Partial · Partial
Fix status
Fixed

Attack profile from CVSS 2.0 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-189 and the CVSS impact.

Summary

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

Why it matters now

EPSS 0.13255 96th percentileScored 2026-11-07
Fix Fixed Red Hat: 3 advisories

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
  • — Vendor— Affected all versions Fixed in — No fix listed CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*7.4 to before 7.4.28; 8.0 to before 8.0.24; 8.1 to before 8.1.20; 8.2 to before 8.2.16; 8.3 to before 8.3.10; 8.4 to before 8.4.3VulnerablePostgreSQL
  • cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* Versions 7.4 to before 7.4.28; 8.0 to before 8.0.24; 8.1 to before 8.1.20; 8.2 to before 8.2.16; 8.3 to before 8.3.10; 8.4 to before 8.4.3 Vulnerable ·PostgreSQL

Remediation

Red Hat 3 advisories

  • RHSA-2010:0429 Released 2010-05-19 · Red Hat rating Moderate
    postgresql security update
    • Red Hat Enterprise Linux (v. 5 server) postgresql-8.1.21-1.el5_5.1, postgresql-8.1.21-1.el5_5.1.i386, postgresql-8.1.21-1.el5_5.1.ia64 +37
    • Red Hat Enterprise Linux Desktop (v. 5 client) postgresql-8.1.21-1.el5_5.1, postgresql-8.1.21-1.el5_5.1.i386, postgresql-contrib-8.1.21-1.el5_5.1 +13
    • Red Hat Enterprise Linux Desktop Workstation (v. 5 client) postgresql-8.1.21-1.el5_5.1, postgresql-devel-8.1.21-1.el5_5.1, postgresql-devel-8.1.21-1.el5_5.1.i386 +6
  • RHSA-2010:0428 Released 2010-05-19 · Red Hat rating Moderate
    postgresql security update
    • Red Hat Enterprise Linux AS version 4 postgresql-7.4.29-1.el4_8.1, postgresql-7.4.29-1.el4_8.1.i386, postgresql-7.4.29-1.el4_8.1.ia64 +41
    • Red Hat Enterprise Linux Desktop version 4 postgresql-7.4.29-1.el4_8.1, postgresql-7.4.29-1.el4_8.1.i386, postgresql-contrib-7.4.29-1.el4_8.1 +19
    • Red Hat Enterprise Linux ES version 4 postgresql-7.4.29-1.el4_8.1, postgresql-7.4.29-1.el4_8.1.i386, postgresql-7.4.29-1.el4_8.1.ia64 +30
    • Red Hat Enterprise Linux WS version 4 postgresql-7.4.29-1.el4_8.1, postgresql-7.4.29-1.el4_8.1.i386, postgresql-7.4.29-1.el4_8.1.ia64 +30
  • RHSA-2010:0427 Released 2010-05-19 · Red Hat rating Moderate
    postgresql security update
    • Red Hat Desktop version 3 rh-postgresql-7.3.21-3, rh-postgresql-7.3.21-3.i386, rh-postgresql-contrib-7.3.21-3 +19
    • Red Hat Enterprise Linux AS version 3 rh-postgresql-7.3.21-3, rh-postgresql-7.3.21-3.i386, rh-postgresql-7.3.21-3.ia64 +41
    • Red Hat Enterprise Linux ES version 3 rh-postgresql-7.3.21-3, rh-postgresql-7.3.21-3.i386, rh-postgresql-7.3.21-3.ia64 +30
    • Red Hat Enterprise Linux WS version 3 rh-postgresql-7.3.21-3, rh-postgresql-7.3.21-3.i386, rh-postgresql-7.3.21-3.ia64 +30

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Desktop version 3Fixed RHSA-2010:0427
Red Hat Enterprise Linux (v. 5 server)Fixed RHSA-2010:0429
Red Hat Enterprise Linux AS version 3Fixed RHSA-2010:0427
Red Hat Enterprise Linux AS version 4Fixed RHSA-2010:0428
Red Hat Enterprise Linux Desktop (v. 5 client)Fixed RHSA-2010:0429
Red Hat Enterprise Linux Desktop Workstation (v. 5 client)Fixed RHSA-2010:0429
Red Hat Enterprise Linux Desktop version 4Fixed RHSA-2010:0428
Red Hat Enterprise Linux ES version 3Fixed RHSA-2010:0427
Red Hat Enterprise Linux ES version 4Fixed RHSA-2010:0428
Red Hat Enterprise Linux WS version 3Fixed RHSA-2010:0427
Red Hat Enterprise Linux WS version 4Fixed RHSA-2010:0428

Timeline

  1. 2026-10-02 Threatist record created from CVE-2010-0442
  2. 2026-10-03 Alias added: GHSA-gv9m-x3m7-x4g8

References

  • TI-2019-06651 In PostgreSQL 9.3 through 11.2, the "COPY TO/FROM PROGRAM" function allows superusers and… CVSS 3.0HIGH 7.2
  • TI-2017-05187 Improper authentication in postgresql CVSS 3.0CRITICAL 9.8
  • TI-2020-15711 SQL injection in postgresql CVSS 3.1HIGH 8.8
  • TI-2013-01675 Argument injection vulnerability in PostgreSQL 9.2.x before 9.2.4, 9.1.x before 9.1.9… CVSS 2.0MEDIUM 6.5
  • TI-2007-03176 The Database Link library (dblink) in PostgreSQL 8.1 implements functions via CREATE… CVSS 2.0HIGH 9.0
  • TI-2022-01423 SQL injection in postgresql CVSS 3.1HIGH 8.8
See all 202 →

Sources