Skip to content
Heist/ feed
Back to feed
Low

Mapnik value.cpp operator divide by zero

Type: advisorySources: OSV

A vulnerability has been found in Mapnik up to 4.2.0. This vulnerability affects the function mapnik::detail::mod<...>::operator of the file src/value.cpp. The manipulation leads to divide by zero. The attack needs to be performed locally. The exploit has been disclosed to the public and may be used. The project was informed of the problem early through an issue report but has not responded yet.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2025-15564
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 13:57 UTC · Revision 1

Source evidence

Mapnik value.cpp operator divide by zero

core-osv · Original source

Published 7 Feb 2026, 21:32 UTC

A vulnerability has been found in Mapnik up to 4.2.0. This vulnerability affects the function mapnik::detail::mod<...>::operator of the file src/value.cpp. The manipulation leads to divide by zero. The attack needs to be performed locally. The exploit has been disclosed to the public and may be used. The project was informed of the problem early through an issue report but has not responded yet.

osv:CVE-2025-15564
Complete source record
{
  "id": "e42e01555ab31f48b26176d6114dd12b6e3f77ea5b84e29ad90945dd0b529242",
  "url": "https://osv.dev/vulnerability/CVE-2025-15564",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Mapnik value.cpp operator divide by zero",
    "summary": "A vulnerability has been found in Mapnik up to 4.2.0. This vulnerability affects the function mapnik::detail::mod<...>::operator of the file src/value.cpp. The manipulation leads to divide by zero. The attack needs to be performed locally. The exploit has been disclosed to the public and may be used. The project was informed of the problem early through an issue report but has not responded yet.",
    "evidence": "osv:CVE-2025-15564",
    "products": [],
    "severity": "low",
    "structured": {
      "id": "CVE-2025-15564",
      "aliases": [
        "CVE-2025-15564"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/mapnik/mapnik",
              "type": "GIT",
              "events": [
                {
                  "introduced": "85801bd4028fa1cbffd9f7de4e2458bfc55e44bd"
                },
                {
                  "last_affected": "b806a6c64994eca7ec5b991c2e81471d89b81b1c"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "4.0"
                      },
                      {
                        "last_affected": "4.0"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "4.1"
                      },
                      {
                        "last_affected": "4.1"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "4.2.0"
                      },
                      {
                        "last_affected": "4.2.0"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "cpe": "cpe:2.3:a:mapnik:mapnik:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "4.2.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "4.0",
            "4.1",
            "4.2.0",
            "v4.2.0",
            "v4.1.4",
            "v4.1.3",
            "v4.1.2",
            "v4.1.1",
            "v4.1.0",
            "v4.0.7",
            "v4.0.6",
            "v4.0.5",
            "v4.0.4",
            "v4.0.3",
            "v4.0.2",
            "v4.0.1",
            "v4.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-15564.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:29.256521941Z",
      "provider": "osv",
      "references": [
        "https://github.com/mapnik/mapnik/",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/15xxx/CVE-2025-15564.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-15564",
        "https://vuldb.com/?id.344502",
        "https://vuldb.com/?submit.743386",
        "https://github.com/mapnik/mapnik/issues/4545",
        "https://vuldb.com/?ctiid.344502",
        "https://github.com/oneafter/1219/blob/main/repro"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-369",
          "CWE-404"
        ],
        "cna_assigner": "VulDB",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/15xxx/CVE-2025-15564.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-15564",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 496161,
  "published_at": "2026-02-07T21:32:07.437+00:00"
}