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.
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
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
Red Hat Security Advisory: postgresql security update
Red Hat Security Advisory: postgresql:13 security update
Red Hat Security Advisory: postgresql:15 security update
Red Hat Security Advisory: postgresql:13 security update
Red Hat Security Advisory: postgresql:16 security update
17 more advisories
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?
Is CVE-2024-10979 actively exploited?
What is the CVSS score for CVE-2024-10979?
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
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? CVE Watch alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
- CVE-2025-1094same product
- CVE-2026-2005same product
- CVE-2026-2004same productPostgreSQL intarray missing validation of type of input to selectivity estimator executes arbitrary code
- CVE-2026-2006same product
- CVE-2025-8714same product
- CVE-2026-16239same product
- CVE-2026-14669same product
- CVE-2026-73515same product