CVE-2026-50126
ŚrednieCVSS 4.0Prawdopodobieństwo exploitacji (EPSS)
Niskie ryzykoPercentyl 3 - wyżej niż 3% wszystkich znanych CVE
Streszczenie
Adaguc-server przed wersją 7.2.2 zawiera podatność powodującą awarię z błędem bezpieczeństwa pamięci podczas parsowania dokumentu GeoJSON z nieprawidłową współrzędną. Parser indeksuje tablicę wartości bez walidacji typu węzła JSON lub długości współrzędnej, co prowadzi do odczytu poza zakresem lub wyłuskania pustego wskaźnika. Problem występuje w gałęziach geometrii: Polygon, LineString, MultiLineString i MultiPolygon.
Ocena ryzyka
Zdalny, nieuwierzytelniony atakujący może wysłać spreparowany plik GeoJSON, powodując awarię procesu obsługującego żądanie WMS, co prowadzi do przerwania działania usługi (DoS).
Rekomendacja
Zaktualizuj Adaguc-server do wersji 7.2.2 lub nowszej, która zawiera poprawkę tej podatności.
Oryginalny opis (angielski, źródło NVD)
Adaguc-server is an open source geographical information system to visualize, combine, compare and share real-time meteorological, climatological and remote sensing data via OGC standards. Versions prior to 7.2.2 crash with a memory-safety fault when it parses a GeoJSON document whose geometry contains a malformed coordinate. The coordinate parser in `adagucserverEC/CConvertGeoJSON.cpp` indexes `pt.u.array.values[0]` and `pt.u.array.values[1]` and uses `polygon.u.array.length` as a loop bound without first validating the JSON node type or the coordinate length. A coordinate that is an empty array, a one-element array, a scalar, or `null` leads to an out-of-bounds heap read or a NULL pointer dereference. The same unchecked pattern is present in four geometry branches: `Polygon`, `LineString`, `MultiLineString` and `MultiPolygon`. The vulnerable parser runs whenever the server processes a local GeoJSON file, either a configured GeoJSON dataset or a GeoJSON file exposed through the `AutoResource` feature and requested by an unauthenticated WMS request. A crafted GeoJSON file reliably crashes the backend process that handles that request. Version 7.2.2 patches the vulnerability.

