CVE-2024-10979Network attack vector

Authenticated code execution via mutable PL/Perl environment

Published Nov 14, 2024 · Updated Nov 3, 2025

Code execution in PostgreSQL PL/Perl before 17.1, 16.5, 15.9, 14.14, 13.17, and 12.21 allows remote authenticated users to run code. Trusted PL/Perl exposes Perl's %ENV hash directly, so unprivileged functions can mutate PATH and other process-wide environment variables instead of rejecting writes. A database role with USAGE on PL/Perl can poison the server process environment and often execute arbitrary code without an operating-system account.

CVSS severity8.8
High
EPSS probability4.39%
Next 30 days · Sep 16, 2026
Known exploitationUnconfirmed
Based on sourced intelligence
Hinoki checkNot available
Coverage for this vulnerability

See if you're affected

Explore vulnerability checks for your environment with Hinoki.

Book a demo

Summary

What happened

Code execution in PostgreSQL PL/Perl before 17.1, 16.5, 15.9, 14.14, 13.17, and 12.21 allows remote authenticated users to run code. Trusted PL/Perl exposes Perl's %ENV hash directly, so unprivileged functions can mutate PATH and other process-wide environment variables instead of rejecting writes. A database role with USAGE on PL/Perl can poison the server process environment and often execute arbitrary code without an operating-system account.

The record

CVE
CVE-2024-10979
Published
Nov 14, 2024
Updated
Nov 3, 2025
Vendor
PostgreSQL Global Development Group
Product
PostgreSQL
Classifications
CWE-15, CWE-610, T1574.007
Attack vector
network
Privileges
authenticated

Timeline

How it unfolded

  1. Nov 14, 2024CVE publishedPublication date reported by the CVE source.
  2. Nov 3, 2025Record updatedLatest update available in the CVE record.

Exploitability

Present is not the same as exploitable

Compare your product and version with the public record. A matching version still requires validation against your environment.

Is a vulnerable build present?

Compare these published version ranges with your installed build and any vendor patches.

  1. Affected versionversion=0 <12.21
  2. Affected versionversion=13 <13.17
  3. Affected versionversion=14 <14.14
  4. Affected versionversion=15 <15.9
  5. Affected versionversion=16 <16.5
  6. Affected versionversion=17 <17.1

What conditions does exploitation require?

Attack vectornetwork
Required privilegesauthenticated

What is affected?

PostgreSQL Global Development Group · PostgreSQLversion=0 <12.21; version=13 <13.17; version=14 <14.14; version=15 <15.9; version=16 <16.5; version=17 <17.1

Published CVSS scores

8.8PostgreSQLCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
8.8NIST NVDCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CVSS describes severity. EPSS estimates exploitation probability.

Attacks

What attackers are doing with it

Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.

Daily unique IPsNo honeypot observations are available for this CVE in the selected window.

No observations available

Sep 10, 2026Sep 16, 2026
Latest reporting daySep 16, 2026
Latest daily unique IPsUnavailable
Prior 30-day averageUnavailable
SourceShadowserver honeypots (KEV)
Vectornetwork
Privilegesauthenticated
Known exploitationUnconfirmed
Public exploitUnconfirmed

Weakness, pattern, technique

CWE-15External Control of System or Configuration Setting
CWE-610Externally Controlled Reference to a Resource in Another Sphere
T1574.007Path Interception by PATH Environment Variable

Public exploit references

No public exploit references are available in this record.

Labels summarize the accepted research assessment. They do not indicate a test against your environment.

Technologies

Your stack

See the directory against your own environment.

Your stack

Check the software in your environment

Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.

Book a demo