{"id":"CVE-2026-50126","summary":"adaguc-server GeoJSON coordinate parser (CConvertGeoJSON.cpp) vulnerable to out-of-bounds read and NULL pointer dereference","details":"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.","aliases":["GHSA-mwgv-59vv-rp2m"],"modified":"2026-08-20T03:54:24.660376888Z","published":"2026-08-18T16:36:14.618Z","database_specific":{"cwe_ids":["CWE-125","CWE-476"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/50xxx/CVE-2026-50126.json","cna_assigner":"GitHub_M"},"references":[{"type":"WEB","url":"https://github.com/KNMI/adaguc-server/releases/tag/7.2.2"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/50xxx/CVE-2026-50126.json"},{"type":"ADVISORY","url":"https://github.com/KNMI/adaguc-server/security/advisories/GHSA-mwgv-59vv-rp2m"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-50126"},{"type":"FIX","url":"https://github.com/KNMI/adaguc-server/commit/30dffde1a1776b994d60026f41ca620f7cad72e9"},{"type":"FIX","url":"https://github.com/KNMI/adaguc-server/pull/710"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/knmi/adaguc-server","events":[{"introduced":"0"},{"fixed":"30dffde1a1776b994d60026f41ca620f7cad72e9"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"7.2.2"}],"source":["AFFECTED_FIELD","REFERENCES"]}}],"versions":["7.1.2","7.2.1","6.0.0","7.2.0","7.1.1","7.1.0","7.0.0","6.8.0","6.7.0","6.6.0","6.4.0","6.3.0","6.2.0","6.1.0","5.0.1","5.0.0","4.3.7","4.3.6","4.3.5","4.3.4","4.3.3","4.3.2","4.3.1","4.3.0","4.2.3","4.2.2","4.2.0","4.2.1","4.1.1","4.1.0","4.0.2","4.0.1","4.0.0","3.0.3","3.1.1","3.1.0","3.0.1","3.0.0","2.32.0","2.31.2","2.31.0","2.29.6","2.29.5","2.29.4","2.29.3","2.29.2","2.29.0","2.28.4","2.28.3","2.28.2","2.28.1","2.28.0","2.27.0","2.26.0","2.23.0","2.21.0","2.19.0","2.17.0","2.15.1","2.14.3","2.15.0","2.14.2","2.14.1","2.14.0","2.13.9","2.13.8","2.13.7","2.13.6","2.13.2","2.13.0","2.12.0","2.11.4","2.11.3","2.11.2","2.11.0","2.10.5","2.10.4","2.10.2","2.10.1","2.10.0","2.9.0","2.8.7","2.8.6","2.8.5","2.8.4","2.8.3","2.8.2","2.8.1","2.8.0","2.7.13","2.7.12","2.7.11","2.7.10","2.7.9","2.7.7","2.7.6","2.7.5","2.7.4","2.7.2","2.7.1","2.6.9","2.6.8","2.6.5","2.6.4","2.5.11","2.5.4","2.5.2","2.4.2","2.2.4","2.0.33","2.0.22"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-50126.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"}]}