CVE-2024-10976
MEDIUMDescription
Incomplete tracking in PostgreSQL of tables with row security allows a reused query to view or change different rows from those intended. CVE-2023-2455 and CVE-2016-2193 fixed most interaction between row security and user ID changes. They missed cases where a subquery, WITH query, security invoker view, or SQL-language function references a table with a row-level security policy. This has the same consequences as the two earlier CVEs. That is to say, it leads to potentially incorrect policies being applied in cases where role-specific policies are used and a given query is planned under one role and then executed under other roles. This scenario can happen under security definer functions or when a common user and query is planned initially and then re-used across multiple SET ROLEs. Applying an incorrect policy may permit a user to complete otherwise-forbidden reads and modifications. This affects only databases that have used CREATE POLICY to define a row security policy. An attacker must tailor an attack to a particular application's pattern of query plan reuse, user ID changes, and role-specific row security policies. Versions before PostgreSQL 17.1, 16.5, 15.9, 14.14, 13.17, and 12.21 are affected.
How to fix
This vulnerability affects an unusually large number of packages. The highest-confidence fixes are shown above; the full list is longer. Check the referenced advisories for complete coverage.
TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works
Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.
CVSS v3 Vector
Exploitability
Impact
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N
Exploit Intelligence
Moderate risk: more likely to be exploited than 53% of all known CVEs.
References
Related Vulnerabilities
Other CWE-1250 vulnerabilities, ordered by exploit likelihood. View all
| CVE | Severity | CVSS | EPSS | Exploited | Fix |
|---|---|---|---|---|---|
| CVE-2025-30189 | High | 7.4 | 0.5% | - | Fix |
| CVE-2023-22405 | Medium | 6.5 | 0.3% | - | Fix |
| CVE-2022-22234 | Medium | 5.5 | 0.2% | - | Fix |
| CVE-2026-14666 | Low | 4.2 | 0.2% | - | Fix |
| CVE-2025-32899 | Medium | 4.3 | 0.2% | - | - |
Common questions
How do I fix CVE-2024-10976?
Published advisories record a fix for 89 affected products. The "How to fix" section on this page lists the fixed version and source advisory for each one, so apply the entry matching what you actually run.
Is CVE-2024-10976 being actively exploited?
Not that we know of. CVE-2024-10976 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 0.77% is the estimated probability that it will be exploited in the next 30 days. That is higher than 53% of all scored CVEs.
How severe is CVE-2024-10976?
CVE-2024-10976 has a CVSS v3 base score of 4.2, rated medium. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.
What does CVE-2024-10976 affect?
Published advisories record a fix for postgresql-13 (Debian), pg_repack (Rocky), pg_repack (Red Hat / RHEL), pg_repack-debuginfo (Red Hat / RHEL), and 85 more. Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.
Embed a live status badge for CVE-2024-10976
Markdown
[](https://tridentstack.com/cve/CVE-2024-10976)HTML
<a href="https://tridentstack.com/cve/CVE-2024-10976"><img src="https://tridentstack.com/cve/badge/CVE-2024-10976.svg" alt="CVE-2024-10976"></a>Find and fix vulnerabilities across your fleet
TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.
This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-11-03.