{
  "id": "CVE-2026-33721",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-33721",
  "published_at": "2026-03-27T00:15:00.36Z",
  "title": "MapServer has heap buffer overflow in SLD `Categorize` Threshold parsing",
  "vendor": "MapServer",
  "product": "MapServer",
  "cvss": {
    "score": 7.5,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "MapServer is a system for developing web-based GIS applications. Starting in version 4.2 and prior to version 8.6.1, a heap-buffer-overflow write in MapServer’s SLD (Styled Layer Descriptor) parser lets a remote, unauthenticated attacker crash the MapServer process by sending a crafted SLD with more than 100 Threshold elements inside a ColorMap/Categorize structure (commonly reachable via WMS GetMap with SLD_BODY). Version 8.6.1 patches the issue.",
  "cwe": "CWE-787",
  "cpes": [
    "cpe:2.3:a:osgeo:mapserver:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 5.3,
    "nvd": 7.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "MapServer",
        "product": "MapServer",
        "ranges": [
          "\u003e= 4.2, \u003c 8.6.1"
        ],
        "fixed_in": [
          "8.6.1"
        ]
      }
    ],
    "upgrade": [
      "Upgrade MapServer to 8.6.1 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/MapServer/MapServer/security/advisories/GHSA-cv4m-mr84-fgjp"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/MapServer/MapServer/releases/tag/rel-8-6-1"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
