llamaCVEVulnerability Intelligence
/
PostgreSQL

CVE-2026-116307

PostgreSQL authenticated remote code execution in plperl

A user who can create database objects can run arbitrary code as the database's operating system account.

Specific setups onlyParche disponibleuse-after-free
Descargar PNG JSON
CVSS 3.1
8.8
Alta
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Fuente: CNA
ExplotaciónSin evidenciaSSVC: none · no figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche5 versiones14.25 · 15.20 · 16.16 · 17.12 …
Exposición6 dDesde la divulgación, 12 nov 2026, 9:15 a. m.
Detección12 minDesde la divulgación hasta su ingreso al índice
Decisión SSVCSeguir de cerca
Monitorear y programar la remediación
Sin explotación conocida, no automatizable e impacto técnico total. Hay versiones corregidas disponibles.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Evaluación SSVC +1
Modificada
Explotación
Remediación
Monitoreo
Detectada +2
Verificada
12 nov 26
13 nov 26
16 nov 26
19 nov 26
12 nov 26
13 nov 26
15 nov 26
17 nov 26
19 nov 26
FechaFaseEventoDetalle
Divulgación Evaluación SSVC CISA-ADP · explotación ninguna
Divulgación Publicada CVE-2026-116307 divulgada · CVSS 8.8 (CNA)
Monitoreo Detectada Ingresó al índice
Monitoreo Fuente: NIST NVD Registro visto por primera vez en NIST NVD
Monitoreo Fuente: ENISA EUVD Registro visto por primera vez en ENISA EUVD
Divulgación Modificada Última actualización del registro
Monitoreo Verificada Última verificación contra las fuentes
Resumen
Resumen generado por IA · CC-BY 4.0 · 12 nov 2026

PostgreSQL's plperl procedural language contains a use-after-free flaw that lets a user who can create database objects run arbitrary code as the operating system account running the database. The attack can be carried out over the network by a user with low-privilege login and no user interaction is needed.

Affects PostgreSQL before 18.7, 17.12, 16.16, 15.20 and 14.25 when the plperl extension is created and the attacker can create objects in a schema. Fixed in 18.7, 17.12, 16.16, 15.20 and 14.25.

¿Qué significa?An object creator can execute arbitrary code as the operating system user running the database, through a use-after-free in plperl prepared-query handling.
¿Quién está afectado?Versions before 18.7, 17.12, 16.16, 15.20 and 14.25 are affected. The issue needs the plperl extension created in the database, by the attacker or by another user earlier, and the attacker needs permission to create temporary or non-temporary objects in at least one schema. Check the version with SELECT version(); and check for plperl with SELECT * FROM pg_extension WHERE extname = 'plperl';
¿Qué hacer?Upgrade to the fixed release for your major version: 18.7, 17.12, 16.16, 15.20, or 14.25.
Descripción original del registro (PostgreSQL)

Use after free in PostgreSQL plperl allows an object creator to execute arbitrary code as the operating system user running the database, via re-entering plperl and freeing a prepared query while an outer invocation is executing it. Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected.

Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
The plperl extension is created in the database, by the attacker or by another user before them.“Attacker has permission to "CREATE EXTENSION plperl", or another user previously issued that.”
02
The attacker has permission to create objects, either temporary or non-temporary in at least one schema.“Attacker has permission to create objects (temporary objects or non-temporary objects in at least one schema).”
¿Quién debe revisar?Teams running PostgreSQL 14 through 18 before the fixed releases that have the plperl extension and let users create objects.
Vector CVSS 3.1

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · CNA
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
PrivilegiosPR:L
NingunoBajosAltos
InteracciónUI:N
NingunaRequerida
AlcanceS:U
CambiadoSin cambio
ConfidencialidadC:H
AltoBajoNinguno
IntegridadI:H
AltoBajoNinguno
DisponibilidadA:H
AltoBajoNinguno
Versiones

Rangos afectados

Afectada Corregida
PostgreSQL< 14.25
PostgreSQL≥ 15 < 15.20
PostgreSQL≥ 16 < 16.16
PostgreSQL≥ 17 < 17.12
PostgreSQL≥ 18 < 18.7
14.25
15
15.20
16
16.16
17
17.12
18
18.7
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
PostgreSQL
Corregida 14.25, 15.20, 16.16, 17.12, 18.7 — —
Versiones corregidas14.2515.2016.1617.1218.7
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Registro
configurationAttacker has permission to "CREATE EXTENSION plperl", or another user previously issued that. Attacker has permission to create objects (temporary objects or non-temporary objects in at least one schema).PostgreSQL
Referencias
Fabricantehttps://www.postgresql.org/support/security/CVE-2026-116307/

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.