llamaCVEVulnerability Intelligence
/
PostgreSQL

CVE-2026-116317

PostgreSQL code execution via ts_rank_cd() heap overflow

An authenticated database user can run arbitrary code over the network as the database's operating system user.

Specific setups onlyParche disponibleheap buffer overflow
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ón7 dDesde la divulgación, 12 nov 2026, 9:15 a. m.
Detección11 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-116317 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 ts_rank_cd() function contains a heap buffer overflow that can be triggered by an invalid tsvector with duplicate positions. A database user with low-privilege login can exploit it over the network to execute arbitrary code as the operating system user running the database.

¿Qué significa?A specially crafted tsvector containing duplicate positions, passed to ts_rank_cd(), can overflow a heap buffer. The advisory says this may let a database user run arbitrary code as the operating system user that runs the database.
¿Quién está afectado?PostgreSQL versions before 18.7, 17.12, 16.16, 15.20, and 14.25 are affected. To check your version, run SELECT version(); or psql --version on the server, and compare the result with those release numbers.
¿Qué hacer?Upgrade to PostgreSQL 18.7, 17.12, 16.16, 15.20, or 14.25, matching your major version branch.
Descripción original del registro (PostgreSQL)

Heap-based buffer overflow in PostgreSQL ts_rank_cd() may allow a database user to execute arbitrary code as the operating system user running the database, via an invalid tsvector containing duplicate positions. 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
PostgreSQL versions before 18.7, 17.12, 16.16, 15.20, and 14.25 (i.e. affected branches 14 through 18 before those releases).“Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected.”
02
The attacker supplies an invalid tsvector containing duplicate positions to ts_rank_cd().“via an invalid tsvector containing duplicate positions”
¿Quién debe revisar?Teams running PostgreSQL 14 through 18 that have not updated to 18.7, 17.12, 16.16, 15.20, or 14.25.
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.

Referencias
Fabricantehttps://www.postgresql.org/support/security/CVE-2026-116317/

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