# CVE-2019-17545: PYSEC-2019-241 - GDAL through 3.0.1 has a poolDestroy double free in OGRExpatRealloc in ogr/ogr_expat.cpp when the 10MB threshold is exceeded.

Source: https://junglewise.ai/threats/cve-2019-17545-pysec-2019-241-gdal-through-3-0-1-has-a-pooldestroy-double-free  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2019-10-14  
License: CC BY 4.0 with a link back

CVE-2019-17545 · Severity: low · CVSS 3.1 · Published 2019-10-14

GDAL through 3.0.1 has a poolDestroy double free in OGRExpatRealloc in ogr/ogr_expat.cpp when the 10MB threshold is exceeded.

Technologies: [GDAL (PyPI)](https://junglewise.ai/threats/technologies/gdal). Vendors: [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is CVE-2019-17545 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2019-17545 being exploited in the wild.

**How severe is CVE-2019-17545?** Low severity, with a CVSS score of 3.1, published 14 October 2019.

**Which products and versions are affected?** GDAL (PyPI) GIT:introduced=0,fixed=148115fcc40f1651a5d15fa34c9a8c528e7147bb|ECOSYSTEM:introduced=0,fixed=3.0.2.

**Is there a fix for CVE-2019-17545?** Yes. GDAL (PyPI): upgrade to 3.0.2 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2019-17545?** Check whether you run GDAL (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- GDAL (PyPI): upgrade to 3.0.2 or later

  ```sh
  pip install "GDAL>=3.0.2"
  ```


## Affected products

- GDAL (PyPI) GIT:introduced=0,fixed=148115fcc40f1651a5d15fa34c9a8c528e7147bb|ECOSYSTEM:introduced=0,fixed=3.0.2

## Identifiers

- CVE-2019-17545
- PYSEC-2019-241

## Related threats

- [OSGeo GDAL stack buffer overflow in netCDF driver](https://junglewise.ai/threats/cve-2026-49014-osgeo-gdal-stack-buffer-overflow-in-netcdf-driver)
- [OSGeo GDAL heap buffer overflow in Grid File Handler](https://junglewise.ai/threats/cve-2026-8213-osgeo-gdal-heap-buffer-overflow-in-grid-file-handler)
- [OSGeo GDAL heap buffer overflow in SWSDfldsrch](https://junglewise.ai/threats/cve-2026-8212-osgeo-gdal-heap-buffer-overflow-in-swsdfldsrch)
- [OSGeo GDAL out-of-bounds read in GDfieldinfo](https://junglewise.ai/threats/cve-2026-8088-osgeo-gdal-out-of-bounds-read-in-gdfieldinfo)
- [OSGeo GDAL heap buffer overflow in HDF4-EOS driver](https://junglewise.ai/threats/cve-2026-8087-osgeo-gdal-heap-buffer-overflow-in-hdf4-eos-driver)
