ubuntu-cve-2026-33721
Vulnerability from osv_ubuntu
Published
2026-03-27 01:16
Modified
2026-05-20 15:27
Summary
Details

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.


{
  "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. Starting in version 4.2 and prior to version 8.6.1, a heap-buffer-overflow write in MapServer\u2019s 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.",
  "id": "UBUNTU-CVE-2026-33721",
  "modified": "2026-05-20T15:27:22Z",
  "published": "2026-03-27T01:16:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2026-33721"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2026-33721"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/MapServer/MapServer/security/advisories/GHSA-cv4m-mr84-fgjp"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/MapServer/MapServer/releases/tag/rel-8-6-1"
    }
  ],
  "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:L",
      "type": "CVSS_V3"
    },
    {
      "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-33721"
  ]
}



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…