CVE-2026-120141 Affecting postgresql-plpython3 package, versions <0:18.7-1.module+el9.9.0+40509+3a153c5a


Severity

Recommended
high

Based on Rocky Linux security rating.

Threat Intelligence

EPSS
0.57% (42nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ROCKY9-POSTGRESQLPLPYTHON3-23183705
  • published1 Dec 2026
  • disclosed12 Nov 2026

Introduced: 12 Nov 2026

NewCVE-2026-120141  (opens in a new tab)

How to fix?

Upgrade Rocky-Linux:9 postgresql-plpython3 to version 0:18.7-1.module+el9.9.0+40509+3a153c5a or higher.
This issue was patched in RLSA-2026:104854.

NVD Description

Note: Versions mentioned in the description apply only to the upstream postgresql-plpython3 package and not the postgresql-plpython3 package as distributed by Rocky-Linux. See How to fix? for Rocky-Linux:9 relevant fixed versions and status.

Type confusion in PostgreSQL materialized set-returning functions allows a database user to execute arbitrary code as the operating system user running the database, via returning rows having different dynamic RECORD return types. json_populate_recordset() is one affected function. Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected.

CVSS Base Scores

version 3.1