Description
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 publicly 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 | No fix yet | — |
| 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-341709 | Mapnik dbfile.cpp string_value heap-based overflow vdb-entry technical-description
- VDB-341709 | CTI Indicators (IOB, IOC, IOA) signature permissions-required
- Submit #733348 | mapnik Mapnik v4.2.0 and master-branch Heap-based Buffer Overflow third-party-advisory
- https://github.com/mapnik/mapnik/issues/4543 issue-tracking
- https://github.com/oneafter/1218/blob/main/repro exploit
- https://github.com/mapnik/mapnik/ product