Skip to main content
VulnerabilityPublished Updated

CVE-2024-10976: Postgresql 9.3 · Incomplete tracking in PostgreSQL of tables with row security allows a reused query

Affects postgresql-9.3Source GCVE Database

0
Compare

Mentioned vulnerabilities

Authoritative record:CVE-2024-10976· Medium 4.2

Not known to be exploited · CVSS 4.2 Medium · fixed in 9.5.25-0ubuntu0.16.04.1+esm10 : update postgresql-9.3 when convenient.

Data as of 24 Nov 2026, 21:14 UTC

CVSS 3.1 base score
4.2Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (PostgreSQL)CVSS 3.14.2
EPSS
0.7% chance of exploitation in 30 days – higher than 56% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 9.5.25-0ubuntu0.16.04.1+esm10, 12.22-0ubuntu0.20.04.1, 14.15-0ubuntu0.22.04.1 +1
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 14 Nov 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
Ubuntu 24.04 LTSpostgresql-16pkg:deb/ubuntu/postgresql-16?arch=source&distro=nobleOther threatsAffected
  • <16.6-0ubuntu0.24.04.1
Fixed in
  • 16.6-0ubuntu0.24.04.1
Ubuntu 22.04 LTSpostgresql-14pkg:deb/ubuntu/postgresql-14?arch=source&distro=jammyOther threatsAffected
  • <14.15-0ubuntu0.22.04.1
Fixed in
  • 14.15-0ubuntu0.22.04.1
Ubuntu 20.04 LTSpostgresql-12pkg:deb/ubuntu/postgresql-12?arch=source&distro=focalOther threatsAffected
  • <12.22-0ubuntu0.20.04.1
Fixed in
  • 12.22-0ubuntu0.20.04.1
Ubuntu Pro 18.04 LTSpostgresql-10pkg:deb/ubuntu/postgresql-10?arch=source&distro=esm-infra/bionicOther threatsAffected
  • 10.1-1 – 10.23-0ubuntu0.18.04.2+esm3
26 affected builds
Fixed in–
Ubuntu Pro 16.04 LTSpostgresql-9.5pkg:deb/ubuntu/postgresql-9.5?arch=source&distro=esm-infra/xenialOther threatsAffected
  • <9.5.25-0ubuntu0.16.04.1+esm10
Fixed in
  • 9.5.25-0ubuntu0.16.04.1+esm10
Ubuntu Pro 14.04 LTSpostgresql-9.3pkg:deb/ubuntu/postgresql-9.3?arch=source&distro=esm-infra-legacy/trustyOther threatsAffected
  • 9.3.1-1 – 9.3.24-0ubuntu0.14.04+esm1
29 affected builds
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

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.

References

Community reviews

Loading reviews…