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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | Mapnik | 4.0, 4.1, 4.2.0 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | mapnik | 4.2.1+ds-2 | — |
| Debian 13 | mapnik | No fix yet | — |
| Debian 12 | mapnik | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | mapnik | No fix yet | — |
| Ubuntu 26.04 LTS | mapnik | No fix yet | — |
| Ubuntu 25.10 | mapnik | No fix yet | — |
| Ubuntu 24.04 LTS | mapnik | No fix yet | — |
| Ubuntu 22.04 LTS | mapnik | No fix yet | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | mapnik | No fix yet | — |
| Ubuntu 18.04 LTS | mapnik | No fix yet | — |
| Ubuntu 16.04 LTS | mapnik | No fix yet | — |
References
- VDB-344502 | Mapnik value.cpp operator divide by zero vdb-entry technical-description
- VDB-344502 | CTI Indicators (IOB, IOC, IOA) signature permissions-required
- Submit #743386 | mapnik Mapnik v4.2.0 and master branch Divide By Zero third-party-advisory
- https://github.com/mapnik/mapnik/issues/4545 issue-tracking
- https://github.com/oneafter/1219/blob/main/repro exploit
- https://github.com/mapnik/mapnik/ product