Skip to main content

MapServer EUVDEUVD-2026-131824

| CVE-2026-77324 HIGH
NULL Pointer Dereference (CWE-476)
2026-11-20 security-advisories@github.com
7.5
CVSS 3.1 · Vendor: github
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Reach exposed WCS endpoint
  2. Delivery
    POST GetCoverage XML without crs
  3. Exploit
    xmlGetProp returns NULL
  4. Install
    strncasecmp/strlen dereferences NULL
  5. C2
    Worker crashes with SIGSEGV
  6. Execute
    Repeat to exhaust worker pool
  7. Impact
    Denial of service

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Null pointer safety, defensive checks
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires a reachable MapServer WCS service exposed via the mapserv CGI/FastCGI binary that accepts XML POST requests (the WCS GetCoverage POST path). Per CVSS AV:N/AC:L/PR:N/UI:N and the vendor advisory, exploitation is remote and unauthenticated against default builds - WCS support and libxml2 are standard, and no mapfile write access, credentials, or non-default build flags are needed. The specific trigger is a GetCoverage POST whose <DomainSubset>/<BoundingBox> element omits the crs attribute. LIMITING FACTORS: only the XML/POST path is affected - the KVP/GET path is not vulnerable because it sources a count-validated non-null token; and the affected deployment must actually enable/expose WCS. Impact is confined to availability (worker crash); no data disclosure or code execution results. Affected versions 4.4.0 through 8.6.4; fixed in 8.6.5.

Impact

All exploitability signals align toward genuine, easy reachability but a bounded (availability-only) impact. The provided CVSS 3.1 vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (7.5 HIGH) describes a network-reachable, low-complexity, unauthenticated flaw with no confidentiality or integrity impact - purely a denial-of-service. This is consistent with the vendor GHSA-35qh-49hm-5rcx advisory and the source diff, which confirm an unauthenticated NULL-pointer dereference (CWE-476) crashing the mapserv worker. No EPSS score was supplied and the CVE is not listed in CISA KEV, so there is no evidence of active exploitation; the vuln.today priority is 'this_week' (not act_now/emergency). A public PoC exists in the GHSA advisory and the reporter states it was verified to produce SIGSEGV (exit code 139) on current main, which materially raises the practical likelihood of opportunistic abuse even though exploitation grants no code execution or data access. This is a real patch-this-week priority for any internet-exposed WCS endpoint because exploitation is trivial, reliable, and repeatable to sustain outage - but it is not a code-execution emergency; the ceiling is service unavailability. Missing data to note explicitly: EPSS probability is absent, and KEV/active-exploitation status is negative (not confirmed exploited), so urgency rests on ease-of-exploit and the verified PoC rather than observed in-the-wild attacks.

Exploit ScenarioDerived

An unauthenticated attacker with only network reachability to a MapServer WCS endpoint sends a single crafted GetCoverage XML POST request whose <BoundingBox> element omits the crs attribute; xmlGetProp() returns NULL and the subsequent strncasecmp()/strlen() call dereferences it, crashing the CGI/FastCGI worker with SIGSEGV. A working PoC is published in the GHSA advisory and was verified by the reporter to crash mapserv. Because the request is low-complexity (AC:L) and requires no credentials, the attacker simply repeats it to exhaust the fixed worker pool and keep the service down.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 1.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 20, 2026

Unauthenticated denial of service in MapServer 4.4.0 through 8.6.4 lets any client that can reach a WCS endpoint kill a mapserv CGI/FastCGI worker with a single crafted GetCoverage XML POST request: a <BoundingBox> element that omits the crs attribute makes xmlGetProp() return NULL, and msWCSParseRequest() then runs string comparisons on that NULL pointer before any WCS exception handling, crashing the process with SIGSEGV. Impact is confined to availability - no data disclosure or code execution - but each request terminates one worker and repeated requests exhaust a fixed worker pool, denying service; the KVP/GET path is not affected because it sources a count-validated non-null token. Version 8.6.5 fixes the flaw, the vendor's GitHub advisory (GHSA-35qh-49hm-5rcx) publishes a self-contained proof-of-concept request that the reporter verified against current main, and there is no CISA KEV entry indicating active exploitation; vulnerability priority is this-week remediation.

RemediationAI

Vendor-released patch: upgrade to MapServer 8.6.5 (release tag rel-8-6-5), which adds the missing NULL check on the BoundingBox crs property and returns a WCS MissingParameterValue exception instead of dereferencing NULL; the same change is carried in commits 3d2bed5de60b2947e39c608cfad4b31d56aeae0e and debd347ae53caa4969f87fd9dae5ff73a42d48a0 (PRs 7556 and 7568), with details in advisory https://github.com/MapServer/MapServer/security/advisories/GHSA-35qh-49hm-5rcx. If upgrading immediately is not possible, the evidence shows the fault is reachable only through the WCS XML/POST parser and that the KVP/GET path is not vulnerable, so restricting the WCS endpoint to non-XML request methods (or blocking POST bodies to mapserv WCS URLs at the reverse proxy) removes the trigger - the trade-off is that standards-compliant XML/POST GetCoverage clients stop working, and any client that can still submit an XML body to the parser remains able to crash a worker. Disabling or unexposing the WCS service entirely on mapserv endpoints that do not need coverage delivery is the only fully effective interim option, at the cost of that functionality, and worker-pool supervision/auto-restart bounds but does not prevent the denial of service. No fixed version should be assumed other than 8.6.5.

Affected VersionsENISA

MapServer 4.4.0, < 8.6.5

Affected Packages

euvd mapserver fix: 8.6.5

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

MapServer implements the OGC Web Coverage Service (WCS) interface through the mapserv CGI/FastCGI binary, which parses both KVP/GET query strings and XML/POST bodies. In the XML/POST branch, src/mapwcs.cpp retrieves the BoundingBox crs attribute with libxml2's xmlGetProp(), which returns NULL when the attribute is absent, and then immediately runs strncasecmp() and strlen() on that value inside the 'normalize imageCRS urn' block, so the process dereferences NULL and dies with SIGSEGV (CWE-476). The advisory also classifies this as an unchecked return value (CWE-690) and improper check of exceptional conditions (CWE-754), because the null check that would have routed the request into the existing WCS exception machinery was simply omitted at that site; the same normalization block exists in the KVP/GET path but is safe there because params->crs = msStrdup(tokens[4]) comes from a count-validated, non-null token, making this a localized omission rather than a design decision, and explaining why only XML POST requests trigger it. The vulnerable range spans 4.4.0 through 8.6.4, which is notable because WCS support and libxml2 are standard in MapServer builds - no non-default compile flags, credentials or mapfile write access are required - so the only real precondition is that a WCS service is enabled and reachable. The fix in 8.6.5 adds an explicit params->crs NULL check returning a MissingParameterValue WCS exception and also repairs error-path cleanup (msFreeCharArray, xmlFree, xmlFreeDoc, xmlCleanupParser) around the LowerCorner, UpperCorner, GridOffsets and BoundingBox validation branches.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (github) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 7.5 HIGH

Remote unauthenticated XML POST with no user interaction (AV:N/AC:L/PR:N/UI:N); NULL dereference yields only a worker crash, so C:N/I:N but A:H and S:U.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

2
Patch available
Nov 20, 2026 - 21:04 EUVD
CVE Published
Nov 20, 2026 - 19:18 cve.org
HIGH 7.5

DescriptionCVE.org

MapServer is a system for developing web-based GIS applications. From 4.4.0 until 8.6.5, an unauthenticated remote attacker can send a WCS GetCoverage XML POST request whose BoundingBox element omits the crs attribute, causing xmlGetProp() in src/mapwcs.cpp to return null. msWCSParseRequest() then calls string functions on the null value before normal WCS exception handling, crashing the CGI or FastCGI worker. The analogous KVP or GET path is not affected because it obtains a count-validated, non-null token. A single request can terminate one worker, and repeated requests can exhaust a fixed worker pool and deny service. This issue is fixed in version 8.6.5.

Technical POC Analysis

CWE-476 (NULL pointer dereference); the advisory also maps it to CWE-690 (unchecked return value to NULL dereference) and CWE-754 (improper check for unusual conditions).

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

MapServer versions 4.4.0 through 8.6.4 contain an unauthenticated denial-of-service vulnerability that allows any network-reachable client to crash WCS worker processes with a single crafted XML request. Organizations using MapServer for geospatial services could experience service outages and disruption to dependent applications and users. Leadership should prioritize remediation this week due to the public proof-of-concept and the availability impact on critical mapping services.

Business Impact: High
Compensating Controls

Apply vendor patch. If unable to patch immediately, restrict network access to WCS endpoints, deploy a WAF rule to block requests with BoundingBox elements missing the crs attribute, or disable WCS until version 8.6.5 can be deployed.

Threat Intelligence Overview

EPSS Score
1.5%
Top 25% exploitable
Prevalence
Medium
widely-used open-source GIS web server, but not universally deployed infrastructure
Data Quality
4 sources
Confidence: Medium
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 1.5%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

40
Low Medium High Critical
KEV: 0
EPSS: +2
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A null pointer dereference occurs when a program attempts to access memory through a pointer that has been set to NULL (address 0x0).

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy