← Back to CVE Explorer

CVE-2026-50126

Full vulnerability record from the local CVENow database.

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.

Severity
MEDIUM
CVSS score
4.0 (v3.1)
Vulnerability status
Deferred
Source identifier
Published
2026-08-18 17:16:58.410000
Last modified
2026-10-22 22:10:00.250000
View original CVE JSON
{
  "id": "CVE-2026-50126",
  "sourceIdentifier": "[email protected]",
  "published": "2026-08-18T17:16:58.410",
  "lastModified": "2026-10-22T22:10:00.250",
  "vulnStatus": "Deferred",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "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."
    },
    {
      "lang": "es",
      "value": "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."
    }
  ],
  "affected": [
    {
      "source": "[email protected]",
      "affectedData": [
        {
          "vendor": "KNMI",
          "product": "adaguc-server",
          "versions": [
            {
              "version": "< 7.2.2",
              "status": "affected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {
    "cvssMetricV31": [
      {
        "source": "[email protected]",
        "type": "Secondary",
        "cvssData": {
          "version": "3.1",
          "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L",
          "baseScore": 4.0,
          "baseSeverity": "MEDIUM",
          "attackVector": "LOCAL",
          "attackComplexity": "LOW",
          "privilegesRequired": "NONE",
          "userInteraction": "NONE",
          "scope": "UNCHANGED",
          "confidentialityImpact": "NONE",
          "integrityImpact": "NONE",
          "availabilityImpact": "LOW"
        },
        "exploitabilityScore": 2.5,
        "impactScore": 1.4
      }
    ],
    "ssvcV203": [
      {
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "ssvcData": {
          "timestamp": "2026-08-18T17:41:23.498848Z",
          "id": "CVE-2026-50126",
          "options": [
            {
              "exploitation": "poc"
            },
            {
              "automatable": "no"
            },
            {
              "technicalImpact": "partial"
            }
          ],
          "role": "CISA Coordinator",
          "version": "2.0.3"
        }
      }
    ]
  },
  "weaknesses": [
    {
      "source": "[email protected]",
      "type": "Secondary",
      "description": [
        {
          "lang": "en",
          "value": "CWE-125"
        },
        {
          "lang": "en",
          "value": "CWE-476"
        }
      ]
    }
  ],
  "references": [
    {
      "url": "https://github.com/KNMI/adaguc-server/commit/30dffde1a1776b994d60026f41ca620f7cad72e9",
      "source": "[email protected]"
    },
    {
      "url": "https://github.com/KNMI/adaguc-server/pull/710",
      "source": "[email protected]"
    },
    {
      "url": "https://github.com/KNMI/adaguc-server/releases/tag/7.2.2",
      "source": "[email protected]"
    },
    {
      "url": "https://github.com/KNMI/adaguc-server/security/advisories/GHSA-mwgv-59vv-rp2m",
      "source": "[email protected]"
    },
    {
      "url": "https://github.com/KNMI/adaguc-server/security/advisories/GHSA-mwgv-59vv-rp2m",
      "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0"
    }
  ]
}