CVE-2026-77326
>_ Opis
Tłumaczenie automatyczne – może zawierać nieścisłości.
MapServer to system do tworzenia internetowych aplikacji GIS. Od wersji 8.2.0 do 8.6.5 nieuwierzytelniony atakujący może wysłać żądanie WMS GetLegendGraphic z niepustą BBOX i powtarzającymi się parametrami LAYER, aby wywołać przepełnienie bufora sterty w msWMSDispatch() w src/mapwms.cpp. Procedura obsługi dołącza zsyntetyzowane wpisy do cgiRequestObj.ParamNames i cgiRequestObj.ParamValues w NumParams bez zachowywania pojemności tablic ani ich ponownego przydzielania, jednocześnie zwiększając wartość NumParams w pętli. Po wyczerpaniu ukrytej pojemności parsera zapisy przekraczają granicę alokacji sterty. Pojedyncze żądanie może uszkodzić pamięć sterty i zawiesić proces; wykonanie kodu może być możliwe, ale nie zostało to wykazane. Ten problem został rozwiązany w wersji 8.6.5.
>_ Słabości (CWE)
>_ Referencje
- https://github.com/MapServer/MapServer/commit/a7d5eb844a59ea076b7972a018753242f18e6f7b
- https://github.com/MapServer/MapServer/commit/ea1d87a6d45bbe5814a545a8b4d6a5e6b6842ea8
- https://github.com/MapServer/MapServer/pull/7555
- https://github.com/MapServer/MapServer/pull/7569
- https://github.com/MapServer/MapServer/releases/tag/rel-8-6-5
- https://github.com/MapServer/MapServer/security/advisories/GHSA-4mwc-qc95-5959
- https://github.com/MapServer/MapServer/security/advisories/GHSA-4mwc-qc95-5959
Dane podatności pochodzą z oficjalnych źródeł (CVE® List / NVD). Opisy po polsku są tłumaczone automatycznie i mogą zawierać nieścisłości – na stronie rekordu można wyświetlić wersję angielską.
This product uses the NVD API but is not endorsed or certified by the NVD.
Copyright © 1999–2026, The MITRE Corporation. CVE is a registered trademark and the CVE logo is a registered trademark of The MITRE Corporation.
CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE®). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy. ALL DOCUMENTS AND THE INFORMATION CONTAINED THEREIN PROVIDED BY MITRE ARE PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND.
NVD Terms of Use / CVE® Terms of Use / nvd.nist.gov / cve.org