Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-15564: Divide By Zero in Mapnik

0
Medium
VulnerabilityCVE-2025-15564cvecve-2025-15564
Published: Sat Feb 07 2026 (02/07/2026, 21:32:07 UTC)
Source: CVE Database V5
Product: Mapnik

Description

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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 02/23/2026, 21:47:03 UTC

Technical Analysis

CVE-2025-15564 identifies a divide-by-zero vulnerability in the Mapnik open-source mapping toolkit, specifically affecting versions 4.0 through 4.2.0. The flaw exists in the implementation of the modulo operator function (mapnik::detail::mod<...>::operator) located in the source file src/value.cpp. When certain inputs are manipulated locally, the function attempts to perform a modulo operation with zero as the divisor, causing a divide-by-zero error. This results in an unhandled exception that can crash the application or cause denial of service. The vulnerability requires local access with low privileges, does not require user interaction, and does not affect confidentiality or integrity of data. The CVSS 4.0 base score is 4.8, reflecting a medium severity due to limited attack vector and impact scope. The vulnerability was responsibly disclosed early to the Mapnik project, but no patch or official response has been issued yet. Public exploit code has been disclosed, increasing the risk of local exploitation. The vulnerability is relevant to any organization running Mapnik locally, especially in GIS, mapping, or geospatial data processing environments.

Potential Impact

The primary impact of CVE-2025-15564 is denial of service caused by application crashes due to the divide-by-zero error. This can disrupt local services or processes relying on Mapnik, potentially affecting availability of mapping or geospatial data rendering. Since exploitation requires local access, remote attackers cannot directly exploit this vulnerability, limiting its scope. Confidentiality and integrity of data are not compromised by this flaw. However, in environments where Mapnik is integrated into critical workflows or automated systems, repeated crashes could lead to operational disruptions and increased maintenance overhead. The public availability of exploit code increases the risk of insider threats or malicious local users leveraging this vulnerability. Organizations with Mapnik deployed on user workstations or servers should consider the risk of local denial of service and potential impact on service continuity.

Mitigation Recommendations

To mitigate CVE-2025-15564, organizations should first restrict local access to systems running vulnerable Mapnik versions to trusted users only. Implement strict access controls and monitoring to detect suspicious local activity. Since no official patch is available yet, consider temporarily disabling or isolating Mapnik-dependent services on critical systems until a fix is released. Review and harden the input validation logic in Mapnik source code if feasible, or apply community patches if available. Employ application-level monitoring to detect crashes or abnormal behavior indicative of exploitation attempts. For development environments, rebuild Mapnik from source with added checks to prevent divide-by-zero operations. Maintain close communication with the Mapnik project for updates and apply patches promptly once released. Additionally, educate local users about the risks of running untrusted code or inputs that could trigger this vulnerability.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
VulDB
Date Reserved
2026-02-05T13:47:17.458Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6987b268f9fa50a62fcfb4ea

Added to database: 2/7/2026, 9:45:12 PM

Last enriched: 2/23/2026, 9:47:03 PM

Last updated: 3/26/2026, 9:15:51 AM

Views: 76

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses