CVE Catalog

CVE-2026-120149

HighCVSS 8.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.56%

48th percentile - higher than 48% of all known CVEs

Summary

Heap-based buffer overflow in PostgreSQL foreign batch inserts allows a foreign server to execute arbitrary code by reporting that it inserted more rows than the server supplied. postgres_fdw can legitimately encounter this when a rule on the remote table expands an INSERT into additional rows. Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected.

Risk Assessment

A malicious or compromised foreign server can execute arbitrary code in the context of the PostgreSQL server, potentially leading to system compromise. The risk affects integrity, confidentiality, and availability.

Recommendation

Update PostgreSQL to version 18.7, 17.12, 16.16, 15.20, or 14.25 (or later). Limit trust in foreign servers and monitor for unusual behavior in batch operations.

Other vulnerabilities in PostgreSQL

See all
Original NVD description (English source)

Heap-based buffer overflow in PostgreSQL foreign batch inserts allows a foreign server to execute arbitrary code, via reporting that it inserted more rows than the server supplied. postgres_fdw can legitimately encounter this when a rule on the remote table expands an INSERT into additional rows. Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS