Skip to main content
Vulnerability Database/CVE-2026-92871

CVE-2026-92871: Pgpool-II NULL Pointer Dereference DOS

CVE-2026-92871 is a NULL pointer dereference vulnerability in Pgpool-II that enables unauthenticated attackers to terminate the watchdog process. This article covers technical details, affected versions, impact, and mitigation.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-92871 Overview

CVE-2026-92871 is a NULL pointer dereference vulnerability [CWE-476] in Pgpool-II, a middleware layer between PostgreSQL servers and database clients. An unauthenticated remote attacker can trigger abnormal termination of the watchdog process by sending crafted network input. The watchdog component coordinates high-availability failover between Pgpool-II nodes, so its termination undermines cluster reliability and quorum-based decisions.

Critical Impact

Remote, unauthenticated attackers can crash the Pgpool-II watchdog process over the network, disrupting high-availability failover coordination for PostgreSQL clusters.

Affected Products

  • Pgpool-II (PostgreSQL connection pooler and load balancer)
  • Pgpool-II watchdog high-availability component
  • Deployments exposing Pgpool-II watchdog ports on reachable networks

Discovery Timeline

Technical Details for CVE-2026-92871

Vulnerability Analysis

The vulnerability resides in the Pgpool-II watchdog process, which handles inter-node coordination messages for high-availability clustering. The watchdog dereferences a pointer without validating that it references an allocated object. When the attacker-controlled input path leads to that dereference, the process terminates abnormally. Because the watchdog is the arbiter for failover events, its loss can trigger split-brain conditions or block legitimate failover in PostgreSQL clusters that depend on Pgpool-II.

Root Cause

The root cause is a missing NULL check on a pointer used by the watchdog message handling code path. The condition is classified as [CWE-476] NULL Pointer Dereference. Under normal operation the referenced object is initialized before use, but a specific unauthenticated network input reaches the dereference before validation completes, producing an unhandled fault and process exit.

Attack Vector

Exploitation requires network access to the watchdog service and no authentication, privileges, or user interaction. An attacker sends a crafted packet to the exposed watchdog port. The watchdog process crashes, resulting in loss of availability for the high-availability coordination component. Confidentiality and integrity are not directly affected, but downstream disruption to database service availability is possible in clustered deployments.

No public proof-of-concept exploit or in-the-wild exploitation has been reported. Technical specifics are documented in the JVN advisory and the upstream Pgpool project notice.

Detection Methods for CVE-2026-92871

Indicators of Compromise

  • Unexpected termination or repeated restarts of the Pgpool-II pgpool watchdog process without operator action
  • Watchdog log entries showing segmentation fault, signal 11, or abrupt shutdown of the coordination thread
  • Failover state transitions or quorum loss events in Pgpool-II logs that do not correlate with node maintenance
  • Inbound traffic to the watchdog TCP port (default 9000) from unexpected sources

Detection Strategies

  • Monitor Pgpool-II process lifecycle using systemd, supervisord, or equivalent, and alert on non-zero exit codes
  • Correlate watchdog crash events with network flow records to identify the source of triggering packets
  • Parse Pgpool-II logs for repeated watchdog component failures and cluster state changes

Monitoring Recommendations

  • Enable verbose logging on the watchdog subsystem and forward logs to a centralized SIEM for retention and correlation
  • Track baseline connection patterns to Pgpool-II watchdog ports and alert on spikes or new source addresses
  • Add health-check probes that fail loudly when the watchdog process disappears, rather than relying only on PostgreSQL connectivity

How to Mitigate CVE-2026-92871

Immediate Actions Required

  • Apply the Pgpool-II update referenced in the Pgpool News Update September 2026 as soon as maintenance windows allow
  • Restrict network access to the Pgpool-II watchdog port to trusted cluster peer addresses only
  • Audit exposed Pgpool-II instances to confirm that watchdog services are not reachable from untrusted networks or the public internet

Patch Information

Refer to the upstream project release notes at the Pgpool News Update September 2026 and the coordinated advisory at JVN22475874 for fixed version numbers and upgrade instructions. Operators should verify build provenance and restart Pgpool-II services after patching to ensure the new binaries are loaded.

Workarounds

  • Place Pgpool-II watchdog nodes on a dedicated management VLAN or private subnet unreachable from application tiers
  • Use host-based firewalls (iptables, nftables, or cloud security groups) to allow watchdog traffic only between known cluster peers
  • Configure process supervision to automatically restart the watchdog and alert operators on each restart until the patch is applied
bash
# Example nftables rule restricting Pgpool-II watchdog port 9000 to trusted peers
nft add rule inet filter input tcp dport 9000 ip saddr { 10.0.0.11, 10.0.0.12, 10.0.0.13 } accept
nft add rule inet filter input tcp dport 9000 drop

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.