Skip to main content
HIGH

CVE-2024-10979

CVSS v3

8.8

HIGH

EPSS Score

4.4 %

exploit probability, as of 2026-10-19

CISA KEV

No

known exploited

Exploitation

—

SSVC status

Get an alert for each new CVE published for postgresql.

Set up CVE WatchFree account · no credit card

Affected and fixed versions

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • postgresqlBitnamiall versions · fixed in 13.17.0
  • pg_repackRocky Linux:8all versions · fixed in 0:1.4.6-3.module+el8.10.0+1862+29bef648
  • pg_repackAlmaLinux:9all versions · fixed in 1.5.1-1.module_el9.5.0+128+1095dce2
  • pg_repackAlmaLinux:8all versions · fixed in 1.4.6-3.module_el8.9.0+3704+f1f917ce
  • pgauditRocky Linux:8all versions · fixed in 0:1.5.0-1.module+el8.9.0+1594+4a6adae9
  • pgauditAlmaLinux:9all versions · fixed in 16.0-1.module_el9.4.0+66+eb9878bc
  • pgauditAlmaLinux:8all versions · fixed in 1.5.0-1.module_el8.6.0+3095+ee60d910
  • pgvectorAlmaLinux:9all versions · fixed in 0.6.2-1.module_el9.5.0+120+4533eb20

7 more package ranges on OSV.dev

Vendor advisories

  • CVE-2024-10979 Red Hat Product Security3,121 products fixed · 11 known affected

    postgresql: PostgreSQL PL/Perl environment variable changes execute arbitrary code

    postgresql as a component of Red Hat Enterprise Linux 6 · postgresql-contrib as a component of Red Hat Enterprise Linux 6 · postgresql-devel as a component of Red Hat Enterprise Linux 6

  • RHSA-2024:10882 Red Hat Product Security75 products fixed

    Red Hat Security Advisory: postgresql security update

  • RHSA-2024:10879 Red Hat Product Security161 products fixed

    Red Hat Security Advisory: postgresql:13 security update

  • RHSA-2024:10851 Red Hat Product Security149 products fixed

    Red Hat Security Advisory: postgresql:15 security update

  • RHSA-2024:10846 Red Hat Product Security132 products fixed

    Red Hat Security Advisory: postgresql:13 security update

  • RHSA-2024:10831 Red Hat Product Security149 products fixed

    Red Hat Security Advisory: postgresql:16 security update

17 more advisories

Full record on NVD

Description

Incorrect control of environment variables in PostgreSQL PL/Perl allows an unprivileged database user to change sensitive process environment variables (e.g. PATH). That often suffices to enable arbitrary code execution, even if the attacker lacks a database server operating system user. Versions before PostgreSQL 17.1, 16.5, 15.9, 14.14, 13.17, and 12.21 are affected.

Technical details

Published
2024-11-14

Frequently asked questions

What is CVE-2024-10979?

Incorrect control of environment variables in PostgreSQL PL/Perl allows an unprivileged database user to change sensitive process environment variables (e.g. PATH). That often suffices to enable arbitrary code execution, even if the attacker lacks a database server operating system user. Versions before PostgreSQL 17.1, 16.5, 15.9, 14.14, 13.17, and 12.21 are affected.

Is CVE-2024-10979 actively exploited?

Active exploitation of CVE-2024-10979 has not been confirmed. Its EPSS score was 4.4% on 2026-10-19, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2024-10979?

CVE-2024-10979 has a CVSS v3 base score of 8.8 (HIGH severity).

Running postgresql? Hear about its next vulnerability

CVE Watch matches each new CVE to the vendors and products you list (vendor and product, not the version) and puts it in your alerts with its KEV and EPSS status.

Already have an account? Open CVE WatchNo credit card required · No monthly cap on website lookups · 250 API requests/month