llamaCVEVulnerability Intelligence
/
MapServer

CVE-2026-77326

MapServer remote code execution risk in WMS GetLegendGraphic

An unauthenticated remote attacker can crash the server with a crafted legend request and may be able to run code.

Texto original en inglés · Ver en español

Afecta la configuración por defectoParche disponibleout-of-bounds write
Descargar PNG JSON
CVSS 3.1
8.6
Alta
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H Fuente: CNA
ExplotaciónPoC públicaSSVC: PoC · no figura en CISA KEV
Exploits públicos0CISA-ADP reporta PoC; aún sin enlace público
Parche1 versión8.6.5
Exposición23 hDesde la divulgación, 20 nov 2026, 2:09 p. m.
Detección6 minDesde la divulgación hasta su ingreso al índice
Decisión SSVCSeguir de cerca
Monitorear y programar la remediación
Existe PoC pública, automatizable e impacto técnico parcial. Hay versiones corregidas disponibles.
Nivel de sospecha: ceja levantada.Tu yo del futuro te agradecerá revisarla hoy.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada +2
Explotación
Remediación
Monitoreo
Detectada +2
02:09 p. m.
01:38 p. m.
02:09 p. m.
08:01 p. m.
01:53 a. m.
07:46 a. m.
01:38 p. m.
FechaFaseEventoDetalle
Divulgación Publicada CVE-2026-77326 divulgada · CVSS 8.6 (CNA)
Monitoreo Detectada Ingresó al índice
Divulgación Evaluación SSVC CISA-ADP · explotación PoC pública
Divulgación Modificada Última actualización del registro
Monitoreo Fuente: NIST NVD Registro visto por primera vez en NIST NVD
Monitoreo Verificada Última verificación contra las fuentes
Resumen
Resumen generado por IA · CC-BY 4.0 · 20 nov 2026

MapServer has a heap buffer overflow in its WMS GetLegendGraphic handling, triggered by a request with a nonempty BBOX and repeated LAYER parameters. An unauthenticated attacker can send that request over the network to corrupt heap memory and crash the process, and code execution may be possible but has not been demonstrated.

Affects MapServer 8.2.0 through 8.6.4 and main when built with WMS server support and a mapfile layer enables GetLegendGraphic. Fixed in 8.6.5.

¿Qué significa?A heap buffer overflow in the WMS GetLegendGraphic request crashes the MapServer process when the request has a non-empty BBOX and repeated LAYER parameters. A single HTTP request is enough to crash it, which is a denial of service. Remote code execution was not demonstrated.
¿Quién está afectado?Versions 8.2.0 through 8.6.4, and main, are affected. The setup also needs WMS server support, which is on by default, and at least one mapfile layer with wms_enable_request including GetLegendGraphic. To check a version, run mapserv -v on the installed binary.
¿Qué hacer?Upgrade to MapServer 8.6.5 or later.
Descripción original del registro (GitHub_M)

MapServer is a system for developing web-based GIS applications. From 8.2.0 until 8.6.5, an unauthenticated attacker can send a WMS GetLegendGraphic request with a nonempty BBOX and repeated LAYER parameters to trigger a heap buffer overflow in msWMSDispatch() in src/mapwms.cpp. The handler appends synthesized entries to cgiRequestObj.ParamNames and cgiRequestObj.ParamValues at NumParams without retaining the arrays' capacity or reallocating them, while incrementing NumParams inside the loop. Once the parser's hidden capacity is exhausted, the writes pass the heap allocation boundary. A single request can corrupt heap memory and crash the process; code execution may be possible but was not demonstrated. This issue is fixed in version 8.6.5.

Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
MapServer versions 8.2.0 through 8.6.4, and main“Versions 8.2.0–8.6.4 and main”
02
Request is a WMS GetLegendGraphic with a non-empty BBOX and repeated LAYER parameters“GetLegendGraphic + non-empty BBOX”
03
MapServer is built with WMS server support, which is on by default“MapServer built with WMS Server support”
04
A mapfile layer has wms_enable_request including GetLegendGraphic“mapfile has at least one layer with wms_enable_request including GetLegendGraphic”
¿Quién debe revisar?Teams running MapServer 8.2.0 through 8.6.4 (or main) with WMS server enabled and GetLegendGraphic exposed to the internet
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:N
NingunoBajosAltos
InteracciónUI:N
NingunaRequerida
AlcanceS:U
CambiadoSin cambio
ConfidencialidadC:L
AltoBajoNinguno
IntegridadI:L
AltoBajoNinguno
DisponibilidadA:H
AltoBajoNinguno
Score de explotaciónQué tan fácil y probable es que la exploten
10.0/ 10Muy alto
Vector 10.0 (muy fácil) · sin evidencia de explotación.
Versiones

Rangos afectados

Afectada Corregida
MapServer< 8.6.5
8.6.5
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
MapServer
Corregida 8.6.5 — —
Versiones corregidas8.6.5
Explotación

Arsenal público

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

Referencias
Fabricantehttps://github.com/MapServer/MapServer/security/advisories/GHSA-4mwc-qc95-5959
Otrahttps://github.com/MapServer/MapServer/pull/7555
Otrahttps://github.com/MapServer/MapServer/pull/7569
Otrahttps://github.com/MapServer/MapServer/commit/a7d5eb844a59ea076b7972a018753242f18e6f7b
Otrahttps://github.com/MapServer/MapServer/commit/ea1d87a6d45bbe5814a545a8b4d6a5e6b6842ea8
Otrahttps://github.com/MapServer/MapServer/releases/tag/rel-8-6-5

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