- Accueil
- Vulnérabilités
- CVE-2026-77326
CVE-2026-77326
MapServer: Heap buffer overflow in WMS GetLegendGraphic via repeated LAYER parameters
Résumé
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.
Aucune traduction française : description d’origine affichée.
Produits et versions affectés
MapServer (1 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| MapServer | Versions non précisées | — | CNA (éditeur ou attributeur) |
Correctif
Non renseigné par l’éditeur.
Contournement
Aucun contournement renseigné.
Savoir si vous êtes touché
Exploit signalé par les sources
Ces liens sont étiquetés « exploit » par le NVD ou par CVE.org. Nous ne les avons pas vérifiés ni copiés ; ouvrez-les avec prudence.
Chronologie
- — Publication de la CVE (cve)
Références
- https://github.com/MapServer/MapServer/security/advisories/GHSA-4mwc-qc95-5959exploit
- https://github.com/MapServer/MapServer/pull/7555x_refsource_MISC
- https://github.com/MapServer/MapServer/pull/7569x_refsource_MISC
- https://github.com/MapServer/MapServer/commit/a7d5eb844a59ea076b7972a018753242f18e6f7bx_refsource_MISC
- https://github.com/MapServer/MapServer/commit/ea1d87a6d45bbe5814a545a8b4d6a5e6b6842ea8x_refsource_MISC
- https://github.com/MapServer/MapServer/releases/tag/rel-8-6-5x_refsource_MISC
Provenance des données
- Statut
- NVD
- Date de publication
- NVD
- Description
- CNA (éditeur ou attributeur)
- Score CVSS
- CNA (éditeur ou attributeur)
- Faiblesse (CWE)
- NVD
- Vecteur CVSS
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H(CVSS 3.1, CNA:GitHub_M)- Faiblesse
- CWE-787 · Corruption mémoire