Skip to content
Threat Feed
high advisory

PostgreSQL: Heap-based buffer overflow in foreign batch inserts (CVE-2026-120149)

A heap-based buffer overflow in PostgreSQL foreign batch inserts allows a foreign server to execute arbitrary code by reporting an inflated row count.

CVE search metadata

CVE search record: CVE-2026-120149. Severity: high. CVSS: 8.8. KEV: no. Product: PostgreSQL. Brief: PostgreSQL: Heap-based buffer overflow in foreign batch inserts (CVE-2026-120149). Brief link: https://feed.craftedsignal.io/briefs/2026-11-postgresql-overflow-cve-2026-120149/

Triage facts

Revision 1
Applicability
PostgreSQL
Evidence
Unknown
Severity
High
Sources
1 public source
Freshness
Revision 1Nov 12, 16:58 UTC
Vulnerabilities
1 CVE
Source quality
A2Roughly even chance

A heap-based buffer overflow vulnerability exists in the PostgreSQL postgres_fdw extension. This vulnerability can be triggered when a remote foreign server reports that it inserted more rows than the local server supplied during a batch insert operation, potentially allowing the foreign server to execute arbitrary code.