Qualifying the security posture of spatial libraries? (GDAL, GEOS, PROJ)

Balance, balance

I agree with this.

I am torn between providing a good period of spatial libraries support and our ability to backport security patches from a C library to Python. To dive into Jacob’s example above, in Refs CVE-2026-15830 -- Fixed WKB geometry collection limit bypasses. · django/django@62ef9d4 · GitHub the result is reading bytes, getting big and little-endian correct and so on. I am very pleased that this change landed, but it’s a challenge to get right. I am unsure we can keep supporting these - especially when we get cases that are even harder to solve.

One option could be to recommend Conda/conda-forge as the primary install source.

This would give users the ability to pin the dependencies like with Python and it has the latest versions available, usually within ~24hours of release. There’s a wide variety of compatible versions (e.g. PostGIS/Spatialite/GEOS/GDAL/Proj combinations) available, so hopefully there is something for everyone.

This could become our expected standard for any security vulnerabilities. That is, you must be using up-to-date dependencies.

We can also appreciate that use cases may vary. Using older versions may therefore be totally fine in some scenarios. We can recommend using the latest version, similar to, but not quite as strong as the Python version recommendation. If folk want to run on older versions, we won’t stop them. The docs can be give a suitable health warning. This can be generic as I’m less sure about giving a detailed account of all the reports we’ve had and why you should upgrade.

1 Like