MapServerに認証不要で攻撃され、ヒープ領域が壊される脆弱性
概要
MapServerのWMS GetLegendGraphic処理に、ヒープバッファオーバーフローの脆弱性が見つかりました。認証なしで細工したリクエストを送られると、メモリが壊れてプロセスが異常終了するおそれがあります。影響を受けるのは8.2.0から8.6.5までの版で、修正版の8.6.5で対応できます。コード実行の可能性も指摘されていますが、実証はされていません。
AI要約
SecPulse が外部の生成 AI を使って作った要約です。誤りを含むことがあります。重要な判断の前に、下の原文と参照URLを確認してください。
MapServerのWMS GetLegendGraphic処理に、ヒープバッファオーバーフローの脆弱性が見つかりました。認証なしで細工したリクエストを送られると、メモリが壊れてプロセスが異常終了するおそれがあります。影響を受けるのは8.2.0から8.6.5までの版で、修正版の8.6.5で対応できます。コード実行の可能性も指摘されていますが、実証はされていません。
ディストリビューション別の修正状況
各ディストリビューションが公開している、この CVE の記録です。修正版は配布版ごとに違うので、リンク先で確かめてください。
- Debian DEBIAN-CVE-2026-77326 mapserver 修正版あり
- Ubuntu UBUNTU-CVE-2026-77326 mapserver この記録に修正版の記載なし
原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。
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.
出典: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
参照URL
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- patch github.com
- patch github.com
- patch github.com
- patch github.com
- web github.com