UBUNTU-CVE-2026-45104 (CVE-2026-45104)

Vulnerability from osv_ubuntu – Published: 2026-05-27 20:16 – Updated: 2026-06-11 13:05 – Source website
VLAI
Details

MapServer is a system for developing web-based GIS applications. From 6.4.0 to before 8.6.3, msSLDParseUserStyle always calls _SLDApplyRuleValues(psRule, psLayer, 1); for any carrying — it assumes msSLDParseRule added one class. When the rule has no symbolizer (a structurally valid SLD), msSLDParseRule adds zero, and _SLDApplyRuleValues ends up indexing _class[-1], resulting in a NULL pointer dereference. A 200-byte well-formed SLD via the WMS SLD_BODY= parameter is enough to trigger this, no auth required. This vulnerability is fixed in 8.6.3.


{
  "affected": [
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "cgi-mapserver",
            "binary_version": "7.0.0-9ubuntu3.1"
          },
          {
            "binary_name": "libmapscript-java",
            "binary_version": "7.0.0-9ubuntu3.1"
          },
          {
            "binary_name": "libmapscript-perl",
            "binary_version": "7.0.0-9ubuntu3.1"
          },
          {
            "binary_name": "libmapserver2",
            "binary_version": "7.0.0-9ubuntu3.1"
          },
          {
            "binary_name": "mapserver-bin",
            "binary_version": "7.0.0-9ubuntu3.1"
          },
          {
            "binary_name": "python-mapscript",
            "binary_version": "7.0.0-9ubuntu3.1"
          },
          {
            "binary_name": "ruby-mapscript",
            "binary_version": "7.0.0-9ubuntu3.1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:16.04:LTS",
        "name": "mapserver",
        "purl": "pkg:deb/ubuntu/mapserver@7.0.0-9ubuntu3.1?arch=source\u0026distro=xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "7.0.0-4build1",
        "7.0.0-5ubuntu1",
        "7.0.0-7",
        "7.0.0-8",
        "7.0.0-8build1",
        "7.0.0-9",
        "7.0.0-9ubuntu1",
        "7.0.0-9ubuntu2",
        "7.0.0-9ubuntu3",
        "7.0.0-9ubuntu3.1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "cgi-mapserver",
            "binary_version": "7.0.7-1build2"
          },
          {
            "binary_name": "libmapscript-java",
            "binary_version": "7.0.7-1build2"
          },
          {
            "binary_name": "libmapscript-perl",
            "binary_version": "7.0.7-1build2"
          },
          {
            "binary_name": "libmapserver2",
            "binary_version": "7.0.7-1build2"
          },
          {
            "binary_name": "mapserver-bin",
            "binary_version": "7.0.7-1build2"
          },
          {
            "binary_name": "python-mapscript",
            "binary_version": "7.0.7-1build2"
          },
          {
            "binary_name": "ruby-mapscript",
            "binary_version": "7.0.7-1build2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:18.04:LTS",
        "name": "mapserver",
        "purl": "pkg:deb/ubuntu/mapserver@7.0.7-1build2?arch=source\u0026distro=bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "7.0.6-2build1",
        "7.0.7-1",
        "7.0.7-1build1",
        "7.0.7-1build2"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "cgi-mapserver",
            "binary_version": "7.4.3-2build1"
          },
          {
            "binary_name": "libmapscript-java",
            "binary_version": "7.4.3-2build1"
          },
          {
            "binary_name": "libmapscript-perl",
            "binary_version": "7.4.3-2build1"
          },
          {
            "binary_name": "libmapserver2",
            "binary_version": "7.4.3-2build1"
          },
          {
            "binary_name": "mapserver-bin",
            "binary_version": "7.4.3-2build1"
          },
          {
            "binary_name": "php-mapscript",
            "binary_version": "7.4.3-2build1"
          },
          {
            "binary_name": "php-mapscript-ng",
            "binary_version": "7.4.3-2build1"
          },
          {
            "binary_name": "python3-mapscript",
            "binary_version": "7.4.3-2build1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:20.04:LTS",
        "name": "mapserver",
        "purl": "pkg:deb/ubuntu/mapserver@7.4.3-2build1?arch=source\u0026distro=focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "7.4.1-1build1",
        "7.4.1-1build3",
        "7.4.2-1",
        "7.4.2-1build1",
        "7.4.3-1",
        "7.4.3-1build2",
        "7.4.3-2",
        "7.4.3-2build1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "cgi-mapserver",
            "binary_version": "7.6.4-2build2"
          },
          {
            "binary_name": "libmapscript-java",
            "binary_version": "7.6.4-2build2"
          },
          {
            "binary_name": "libmapscript-perl",
            "binary_version": "7.6.4-2build2"
          },
          {
            "binary_name": "libmapserver2",
            "binary_version": "7.6.4-2build2"
          },
          {
            "binary_name": "mapserver-bin",
            "binary_version": "7.6.4-2build2"
          },
          {
            "binary_name": "python3-mapscript",
            "binary_version": "7.6.4-2build2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:22.04:LTS",
        "name": "mapserver",
        "purl": "pkg:deb/ubuntu/mapserver@7.6.4-2build2?arch=source\u0026distro=jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "7.6.3-1~exp1ubuntu1",
        "7.6.4-2",
        "7.6.4-2build2"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "cgi-mapserver",
            "binary_version": "8.0.1-4ubuntu2"
          },
          {
            "binary_name": "libmapscript-java",
            "binary_version": "8.0.1-4ubuntu2"
          },
          {
            "binary_name": "libmapscript-perl",
            "binary_version": "8.0.1-4ubuntu2"
          },
          {
            "binary_name": "libmapserver2t64",
            "binary_version": "8.0.1-4ubuntu2"
          },
          {
            "binary_name": "mapserver-bin",
            "binary_version": "8.0.1-4ubuntu2"
          },
          {
            "binary_name": "php-mapscript-ng",
            "binary_version": "8.0.1-4ubuntu2"
          },
          {
            "binary_name": "python3-mapscript",
            "binary_version": "8.0.1-4ubuntu2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:24.04:LTS",
        "name": "mapserver",
        "purl": "pkg:deb/ubuntu/mapserver@8.0.1-4ubuntu2?arch=source\u0026distro=noble"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "8.0.1-2build1",
        "8.0.1-2build2",
        "8.0.1-2build3",
        "8.0.1-2build5",
        "8.0.1-4ubuntu1",
        "8.0.1-4ubuntu2"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "cgi-mapserver",
            "binary_version": "8.4.0-4build1"
          },
          {
            "binary_name": "libmapscript-java",
            "binary_version": "8.4.0-4build1"
          },
          {
            "binary_name": "libmapscript-perl",
            "binary_version": "8.4.0-4build1"
          },
          {
            "binary_name": "libmapserver2t64",
            "binary_version": "8.4.0-4build1"
          },
          {
            "binary_name": "mapserver-bin",
            "binary_version": "8.4.0-4build1"
          },
          {
            "binary_name": "php-mapscript-ng",
            "binary_version": "8.4.0-4build1"
          },
          {
            "binary_name": "python3-mapscript",
            "binary_version": "8.4.0-4build1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:25.10",
        "name": "mapserver",
        "purl": "pkg:deb/ubuntu/mapserver@8.4.0-4build1?arch=source\u0026distro=questing"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "8.4.0-1build1",
        "8.4.0-4",
        "8.4.0-4build1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "cgi-mapserver",
            "binary_version": "8.6.0-1build1"
          },
          {
            "binary_name": "libmapscript-java",
            "binary_version": "8.6.0-1build1"
          },
          {
            "binary_name": "libmapscript-perl",
            "binary_version": "8.6.0-1build1"
          },
          {
            "binary_name": "libmapserver2t64",
            "binary_version": "8.6.0-1build1"
          },
          {
            "binary_name": "mapserver-bin",
            "binary_version": "8.6.0-1build1"
          },
          {
            "binary_name": "php-mapscript-ng",
            "binary_version": "8.6.0-1build1"
          },
          {
            "binary_name": "python3-mapscript",
            "binary_version": "8.6.0-1build1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:26.04:LTS",
        "name": "mapserver",
        "purl": "pkg:deb/ubuntu/mapserver@8.6.0-1build1?arch=source\u0026distro=resolute"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "8.4.0-4build1",
        "8.4.1-1",
        "8.4.1-1build1",
        "8.4.1-2",
        "8.4.1-2build1",
        "8.6.0-1",
        "8.6.0-1build1"
      ]
    }
  ],
  "aliases": [],
  "details": "MapServer is a system for developing web-based GIS applications. From 6.4.0 to before 8.6.3, msSLDParseUserStyle always calls _SLDApplyRuleValues(psRule, psLayer, 1); for any \u003cRule\u003e carrying \u003cElseFilter/\u003e \u2014 it assumes msSLDParseRule added one class. When the rule has no symbolizer (a structurally valid SLD), msSLDParseRule adds zero, and _SLDApplyRuleValues ends up indexing _class[-1], resulting in a NULL pointer dereference. A 200-byte well-formed SLD via the WMS SLD_BODY= parameter is enough to trigger this, no auth required. This vulnerability is fixed in 8.6.3.",
  "id": "UBUNTU-CVE-2026-45104",
  "modified": "2026-06-11T13:05:28Z",
  "published": "2026-05-27T20:16:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2026-45104"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2026-45104"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/MapServer/MapServer/security/advisories/GHSA-4h8g-378q-r75m"
    }
  ],
  "related": [],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    },
    {
      "score": "medium",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2026-45104"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…