# CVE-2026-120149

Heap overflow in postgres_fdw allows remote code execution via crafted foreign batch inserts

- Page: https://www.vulneraibility.com/cve/CVE-2026-120149
- CVSS: 8.8
- Known exploited: not in CISA KEV as of our last sync
- EPSS: 0.58% (percentile 48.5)
- CISA SSVC: exploitation none, automatable no, technical impact total (assessed 2026-11-13)
- Weakness: CWE-122
- Published: 2026-11-12

## Affected versions

- PostgreSQL: affected >= 18 and < 18.7; >= 17 and < 17.12; >= 16 and < 16.16; >= 15 and < 15.20; < 14.25

A version outside these ranges is not a statement that it is unaffected.

## Impact

Remote code execution on PostgreSQL server via a malicious foreign server during batch INSERTs; attacker can execute arbitrary code and fully compromise DB host.

## Action

Immediate action required

## Recommendation

Upgrade to fixed PostgreSQL releases and restrict/validate postgres_fdw connections

## References

- [other] https://www.postgresql.org/support/security/CVE-2026-120149/

---
Summary, impact and action are written by the vulneraibility.com AI analysis pipeline from the CVE record, NVD, CISA and FIRST data; verify against the references.
