# CVE-2026-50126: adaguc-server GeoJSON coordinate parser (CConvertGeoJSON.cpp) vulnerable to out-of-bounds read and NULL pointer dereference

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 4.0
- **CVSS:** 4.0 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: Low
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.18% (percentile 4, 2026-11-26)
- **CWE:** CWE-125, CWE-476
- **Published:** 2026-08-18T16:36:14.618Z
- **Modified:** 2026-10-22T22:10:00.250Z

## Who should check

- Anyone running KNMI adaguc-server \< 7.2.2

## 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.

## Affected and fixed versions

- KNMI adaguc-server: \< 7.2.2 (cvelist)

## Mitigation

- Upgrade adaguc-server to 7.2.2 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-50126. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-50126.md
Affected: KNMI adaguc-server < 7.2.2
Fixed in: KNMI adaguc-server 7.2.2

Steps:
1. Search this machine and project for KNMI adaguc-server: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-50126 being exploited?

There is no confirmed exploitation: CVE-2026-50126 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.18% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-50126?

Medium: CVSS 4.0 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-50126?

KNMI adaguc-server \< 7.2.2.

### Is there a fix for CVE-2026-50126?

Yes. Fixed in KNMI adaguc-server 7.2.2. Upgrade adaguc-server to 7.2.2 or later.

### How do I check if I'm affected by CVE-2026-50126?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/KNMI/adaguc-server/security/advisories/GHSA-mwgv-59vv-rp2m>
- patch: <https://github.com/KNMI/adaguc-server/pull/710>
- patch: <https://github.com/KNMI/adaguc-server/commit/30dffde1a1776b994d60026f41ca620f7cad72e9>
- other: <https://github.com/KNMI/adaguc-server/releases/tag/7.2.2>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-50126>

HTML: <https://flawdb.com/CVE-2026-50126> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-50126>
