Cyber Resilience

CVE-2025-15537

Memory Safety in Mapnik ≤ 4.2.0

Public PoCMemory Safety
Published
18 January 2026
Modified
23 February 2026
Patch / advisory
CVSS Score v4 4.8
Click a component to see what it means
Raw vectorCVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS Score 0.0019 9th percentile
Risk Priority 35 floored blend · peak EPSS

Summary

CVE-2025-15537 is a medium-severity Improper Restriction of Operations within the Bounds of a Memory Buffer (CWE-119) vulnerability in Mapnik Mapnik. Its CVSS base score is 4.8 (Medium).

Operationally, ranked at the 9th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

The strongest mitigations our analysis identified map to SI-10 (Information Input Validation) and SI-16 (Memory Protection) — see the control section below for these in your framework.

EU & UK References

Vulnerability Data

A security vulnerability has been detected in Mapnik up to 4.2.0. This issue affects the function mapnik::dbf_file::string_value of the file plugins/input/shape/dbfile.cpp. Such manipulation leads to heap-based buffer overflow. The attack must be carried out locally. The exploit has been disclosed…

more

publicly and may be used. The project was informed of the problem early through an issue report but has not responded yet.

CWE(s)

Related Threats

CVEs Like This One

CVE-2025-9019Shared CWE-119, CWE-122
CVE-2025-2310Shared CWE-119, CWE-122
CVE-2025-2924Shared CWE-119, CWE-122
CVE-2025-12204Shared CWE-119, CWE-122
CVE-2025-2309Shared CWE-119, CWE-122
CVE-2025-6499Shared CWE-119, CWE-122
CVE-2025-0751Shared CWE-119, CWE-122
CVE-2025-11014Shared CWE-119, CWE-122
CVE-2025-4355Shared CWE-119, CWE-122
CVE-2025-2152Shared CWE-119, CWE-122

Affected Assets

mapnik
mapnik
≤ 4.2.0

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)
  • SI-10 Information Input Validation
  • SI-16 Memory Protection
  • AC-6 Least Privilege
Detect
Catch it (NIST detect / respond)

Harden
Shrink the surface (DISA STIG)

Validate
Prove the fix (OWASP ASVS)
  • V17.3.2
  • V1.4.1

Mitigating Controls (NIST 800-53 r5) AI

prevent

Enforces bounds and format checks on untrusted shape/DBF file data before it reaches mapnik::dbf_file::string_value, directly blocking the heap overflow.

prevent

Applies OS-level memory protections (ASLR, NX, guard pages) that make reliable exploitation of the CWE-122/CWE-787 heap overflow far more difficult.

prevent

Restricts the Mapnik process to the minimal privileges needed, limiting the impact of a successful local buffer-overflow exploit.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.PS-06 full match
prevents

Secure-development practices directly require bounds checking and safe memory handling that prevent heap overflows.

ID.RA-01 partial match
prevents

Vulnerability scanning and code analysis directly surface buffer-boundary flaws.

ID.RA-08 partial match
prevents

Receiving and triaging vulnerability disclosures commonly includes buffer-related reports.

PR.AT-02 partial match
prevents

Developer training on secure coding reduces introduction of memory-buffer errors.

PR.PS-02 partial match
prevents

Patching replaces vulnerable code containing buffer-boundary defects.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

detects

Security testing in development catches out-of-bounds accesses before release, covering most instances of the weakness.

prevents

Secure development lifecycle mandates memory-safety practices that directly prevent buffer-boundary violations.

prevents

Application security requirements can specify memory-safety rules, but do not prescribe implementation details.

prevents

Secure architecture and engineering principles include memory-safe design patterns that mitigate buffer overflows.

prevents

Secure coding standards explicitly forbid unsafe buffer operations, directly eliminating CWE-119.

prevents

Change management can enforce review gates that catch unsafe memory operations before deployment.

References