CVE-2026-50126: CWE-125: Out-of-bounds Read in KNMI adaguc-server
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.
AI Analysis
Technical Summary
The KNMI adaguc-server before version 7.2.2 has an out-of-bounds read vulnerability (CWE-125) and potential NULL pointer dereference (CWE-476) in its GeoJSON coordinate parser located in adagucserverEC/CConvertGeoJSON.cpp. The parser does not validate the JSON node type or coordinate array length before accessing elements, leading to memory safety faults when encountering malformed coordinates such as empty arrays, single-element arrays, scalars, or null values. This issue affects multiple geometry types including Polygon, LineString, MultiLineString, and MultiPolygon. The vulnerability can be triggered by processing local GeoJSON files exposed via the AutoResource feature and requested through unauthenticated WMS requests, causing the backend process to crash. The vulnerability is patched in version 7.2.2.
Potential Impact
Successful exploitation results in a denial of service due to a crash of the adaguc-server backend process handling the request. There is no indication of confidentiality or integrity impact. The vulnerability requires local file processing of crafted GeoJSON data and can be triggered without authentication via WMS requests. No known exploits in the wild have been reported.
Mitigation Recommendations
Upgrade to adaguc-server version 7.2.2 or later, which patches this vulnerability. Until patched, avoid processing untrusted or malformed GeoJSON files locally and restrict access to the AutoResource feature to trusted users. Patch status is not explicitly confirmed in vendor advisories; verify with official KNMI sources for the latest remediation guidance.
CVE-2026-50126: CWE-125: Out-of-bounds Read in KNMI adaguc-server
Description
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.
CVSS v3.1
Score 4.0medium
Affected software
pkg:github/knmi/adaguc-serverRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The KNMI adaguc-server before version 7.2.2 has an out-of-bounds read vulnerability (CWE-125) and potential NULL pointer dereference (CWE-476) in its GeoJSON coordinate parser located in adagucserverEC/CConvertGeoJSON.cpp. The parser does not validate the JSON node type or coordinate array length before accessing elements, leading to memory safety faults when encountering malformed coordinates such as empty arrays, single-element arrays, scalars, or null values. This issue affects multiple geometry types including Polygon, LineString, MultiLineString, and MultiPolygon. The vulnerability can be triggered by processing local GeoJSON files exposed via the AutoResource feature and requested through unauthenticated WMS requests, causing the backend process to crash. The vulnerability is patched in version 7.2.2.
Potential Impact
Successful exploitation results in a denial of service due to a crash of the adaguc-server backend process handling the request. There is no indication of confidentiality or integrity impact. The vulnerability requires local file processing of crafted GeoJSON data and can be triggered without authentication via WMS requests. No known exploits in the wild have been reported.
Mitigation Recommendations
Upgrade to adaguc-server version 7.2.2 or later, which patches this vulnerability. Until patched, avoid processing untrusted or malformed GeoJSON files locally and restrict access to the AutoResource feature to trusted users. Patch status is not explicitly confirmed in vendor advisories; verify with official KNMI sources for the latest remediation guidance.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-06-03T18:49:32.275Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a848e59c6e8be03327e6acf
Added to database: 08/18/2026, 16:54:49 UTC
Last enriched: 08/18/2026, 17:08:40 UTC
Last updated: 08/18/2026, 17:50:23 UTC
Views: 5
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.