---
title: "CVE-2026-116314"
canonical_url: "https://pkgseek.com/security/CVE-2026-116314"
locale: "en"
source: "pkgseek"
entity_type: "cve"
severity: "high"
---

# CVE-2026-116314

Improper input validation in PostgreSQL pg_restore allows a non-plain archive provider to execute arbitrary code as the operating system user running pg_restore, via a crafted archive.  Note a contrast: crafted archive data may legitimately cause arbitrary SQL to execute at the restore destination, but it does not legitimately confer arbitrary code execution in the pg_restore OS process.  Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected.

CVE-2026-116314 is rated HIGH (8.8), with 33 indexed affected package builds across 1 distributions.

- **Severity / Score**: HIGH (8.8)
- **Affected builds**: 33
- **Affected distros**: 1
- **Distros with fixed_in**: None recorded in sample

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Ubuntu | focal | libecpg6 | 12.2-4 | — |
| Ubuntu | focal | libecpg-compat3 | 12.2-4 | — |
| Ubuntu | focal | libecpg-dev | 12.2-4 | — |
| Ubuntu | focal | libpgtypes3 | 12.2-4 | — |
| Ubuntu | focal | libpq5 | 12.2-4 | — |
| Ubuntu | focal | libpq-dev | 12.2-4 | — |
| Ubuntu | focal | postgresql-12 | 12.2-4 | — |
| Ubuntu | focal | postgresql-client-12 | 12.2-4 | — |
| Ubuntu | focal | postgresql-doc-12 | 12.2-4 | — |
| Ubuntu | jammy | libecpg6 | 14.2-1ubuntu1 | — |
| Ubuntu | jammy | libecpg-compat3 | 14.2-1ubuntu1 | — |
| Ubuntu | jammy | libecpg-dev | 14.2-1ubuntu1 | — |
| Ubuntu | jammy | libpgtypes3 | 14.2-1ubuntu1 | — |
| Ubuntu | jammy | libpq5 | 14.2-1ubuntu1 | — |
| Ubuntu | jammy | libpq-dev | 14.2-1ubuntu1 | — |
| Ubuntu | jammy | postgresql-14 | 14.2-1ubuntu1 | — |
| Ubuntu | jammy | postgresql-client-14 | 14.2-1ubuntu1 | — |
| Ubuntu | jammy | postgresql-doc-14 | 14.2-1ubuntu1 | — |
| Ubuntu | jammy | postgresql-plperl-14 | 14.2-1ubuntu1 | — |
| Ubuntu | jammy | postgresql-plpython3-14 | 14.2-1ubuntu1 | — |
| Ubuntu | jammy | postgresql-pltcl-14 | 14.2-1ubuntu1 | — |
| Ubuntu | noble | libecpg6 | 16.2-1ubuntu4 | — |
| Ubuntu | noble | libecpg-compat3 | 16.2-1ubuntu4 | — |
| Ubuntu | noble | libecpg-dev | 16.2-1ubuntu4 | — |
| Ubuntu | noble | libpgtypes3 | 16.2-1ubuntu4 | — |
| Ubuntu | noble | libpq5 | 16.2-1ubuntu4 | — |
| Ubuntu | noble | libpq-dev | 16.2-1ubuntu4 | — |
| Ubuntu | noble | postgresql-16 | 16.2-1ubuntu4 | — |
| Ubuntu | noble | postgresql-client-16 | 16.2-1ubuntu4 | — |
| Ubuntu | noble | postgresql-doc-16 | 16.2-1ubuntu4 | — |
| Ubuntu | noble | postgresql-plperl-16 | 16.2-1ubuntu4 | — |
| Ubuntu | noble | postgresql-plpython3-16 | 16.2-1ubuntu4 | — |
| Ubuntu | noble | postgresql-pltcl-16 | 16.2-1ubuntu4 | — |
