UBUNTU-CVE-2026-45104

Source
https://ubuntu.com/security/CVE-2026-45104
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-45104.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-45104
Upstream
  • CVE-2026-45104
Published
2026-05-27T20:16:00Z
Modified
2026-06-12T09:01:27.092134612Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
  • Ubuntu - medium
Summary
[none]
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 <Rule> carrying <ElseFilter/> — 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 SLDBODY= parameter is enough to trigger this, no auth required. This vulnerability is fixed in 8.6.3.

References

Affected packages

Ubuntu:16.04:LTS
mapserver

Package

Name
mapserver
Purl
pkg:deb/ubuntu/mapserver?arch=source&distro=xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

7.*
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_version": "7.0.0-9ubuntu3.1",
            "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"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-45104.json"
Ubuntu:18.04:LTS
mapserver

Package

Name
mapserver
Purl
pkg:deb/ubuntu/mapserver?arch=source&distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

7.*
7.0.6-2build1
7.0.7-1
7.0.7-1build1
7.0.7-1build2

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "7.0.7-1build2",
            "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"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-45104.json"
Ubuntu:20.04:LTS
mapserver

Package

Name
mapserver
Purl
pkg:deb/ubuntu/mapserver?arch=source&distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

7.*
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_version": "7.4.3-2build1",
            "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"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-45104.json"
Ubuntu:22.04:LTS
mapserver

Package

Name
mapserver
Purl
pkg:deb/ubuntu/mapserver?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

7.*
7.6.3-1~exp1ubuntu1
7.6.4-2
7.6.4-2build2

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "7.6.4-2build2",
            "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"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-45104.json"
Ubuntu:24.04:LTS
mapserver

Package

Name
mapserver
Purl
pkg:deb/ubuntu/mapserver?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

8.*
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_version": "8.0.1-4ubuntu2",
            "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"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-45104.json"
Ubuntu:25.10
mapserver

Package

Name
mapserver
Purl
pkg:deb/ubuntu/mapserver?arch=source&distro=questing

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

8.*
8.4.0-1build1
8.4.0-4
8.4.0-4build1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "8.4.0-4build1",
            "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"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-45104.json"
Ubuntu:26.04:LTS
mapserver

Package

Name
mapserver
Purl
pkg:deb/ubuntu/mapserver?arch=source&distro=resolute

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

8.*
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

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "8.6.0-1build1",
            "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"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-45104.json"