{"id":"CVE-2026-50126","aliases":["CVE-2026-50126"],"related":[],"kind":"vulnerability","state":"published","title":"adaguc-server GeoJSON coordinate parser (CConvertGeoJSON.cpp) vulnerable to out-of-bounds read and NULL pointer dereference","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Adaguc-server es un sistema de información geográfica de código abierto para visualizar, combinar, comparar y compartir datos meteorológicos, climatológicos y de teledetección en tiempo real a través de estándares OGC. Las versiones anteriores a la 7.2.2 fallan con un fallo de seguridad de memoria cuando analiza un documento GeoJSON cuya geometría contiene una coordenada malformada. El analizador de coordenadas en “adagucserverEC/CConvertGeoJSON.cpp” indexa “pt.u.array.values[0]” y “pt.u.array.values[1]” y usa “polygon.u.array.length” como límite de bucle sin validar primero el tipo de nodo JSON o la longitud de la coordenada. Una coordenada que es un array vacío, un array de un elemento, un escalar o “null” conduce a una lectura de heap fuera de límites o a una desreferencia de puntero NULL. El mismo patrón sin verificar está presente en cuatro ramas de geometría: “Polygon”, “LineString”, “MultiLineString” y “MultiPolygon”. El analizador vulnerable se ejecuta cada vez que el servidor procesa un archivo GeoJSON local, ya sea un conjunto de datos GeoJSON configurado o un archivo GeoJSON expuesto a través de la característica “AutoResource” y solicitado por una petición WMS no autenticada. Un archivo GeoJSON manipulado bloquea de forma fiable el proceso de backend que maneja esa petición. La versión 7.2.2 parchea la vulnerabilidad.","source":"nvd"}],"published":"2026-08-18T16:36:14.618Z","modified":"2026-10-22T22:10:00.250Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":4,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":4,"rating":"MEDIUM"}],"cwes":["CWE-125","CWE-476"],"affected":[{"ranges":[{"version":"< 7.2.2","status":"affected"}],"vendor":"KNMI","product":"adaguc-server","source":"cvelist"}],"references":[{"url":"https://github.com/KNMI/adaguc-server/security/advisories/GHSA-mwgv-59vv-rp2m","tags":["exploit","x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/KNMI/adaguc-server/pull/710","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/KNMI/adaguc-server/commit/30dffde1a1776b994d60026f41ca620f7cad72e9","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/KNMI/adaguc-server/releases/tag/7.2.2","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-08-18T17:41:23.498Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-50126","url":"https://www.cve.org/CVERecord?id=CVE-2026-50126","licence":"CVE Terms of Use","modified":"2026-08-18T17:41:34.517Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-50126","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-50126","licence":"Public domain","modified":"2026-10-22T22:10:00.250Z"}],"updatedAt":"2026-11-25T22:59:33.520Z","epss":{"score":0.00225,"percentile":0.14001,"date":"2026-12-01T12:00:22.000Z"}}