Back to news
security Priority 5/5 5/4/2026, 11:05:48 AM

PostgreSQL Releases Security Updates for All Supported Versions Addressing CVE-2024-10977

PostgreSQL Releases Security Updates for All Supported Versions Addressing CVE-2024-10977

The PostgreSQL Global Development Group has announced the release of updates for all supported versions of the database system, including 17.1, 16.5, and 15.9. These updates primarily address CVE-2024-10977, a security vulnerability that allows an authenticated user to modify environment variables via certain PL functions. This flaw could lead to arbitrary code execution or sensitive information disclosure by bypassing intended security boundaries within the server process. The core of the fix involves tightening the restrictions on how session parameters and environment variables are handled during the execution of trusted and untrusted language functions. By preventing the modification of sensitive process-level variables, the developers have mitigated a significant vector for privilege escalation. This release is particularly crucial for users of PostgreSQL 12, as it marks the final scheduled update before the version reaches its end-of-life status. In addition to the security patches, the releases contain over 20 bug fixes addressing issues in the query planner and logical replication. Organizations are urged to apply these updates immediately to protect their data integrity and server security. The update process follows the standard minor version upgrade path, requiring a replacement of the executable binaries and a service restart.

Related tools

Recommended tools for this topic

These picks prioritize high-intent tools relevant to this topic. Some links may include partner or affiliate tracking.

#postgresql#vulnerability#database#cve-2024-10977

Comparison

AspectBefore / AlternativeAfter / This
Environment Variable ControlVulnerable to modification via specific PL functionsStrictly restricted to prevent unauthorized changes
CVE-2024-10977 ImpactRisk of arbitrary code execution and info leaksVulnerability patched across all supported versions
PostgreSQL 12 SupportActive maintenance ending soonFinal minor release; migration to newer version required

Action Checklist

  1. Identify current PostgreSQL version Affects versions 12 through 17
  2. Schedule maintenance for binary replacement Standard minor upgrade requires a restart
  3. Update to the latest minor version E.g., update 17.0 to 17.1 or 16.4 to 16.5
  4. Plan migration for PostgreSQL 12 users This is the final update for version 12

Source: PostgreSQL Global Development Group

This page summarizes the original source. Check the source for full details.

Related