# GHSA-g4m4-9q4c-mfw6: Fiona affected by CVE-2020-14152 related to madler-zlib

- Severity: High (CVSS:4.0, scored by GitHub) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2024-07-16T19:32:22.000Z
- Modified: 2024-12-01T05:38:41.596Z
- Weaknesses: CWE-400

## Description

### Summary
Vulnerability scan of fiona shows [CVE-2020-14152](https://nvd.nist.gov/vuln/detail/CVE-2020-14152). The vulnerability is in libjpeg, a transitive dependency of fiona (via GDAL and PROJ).

### Details
In IJG JPEG (aka libjpeg) before 9d, jpeg_mem_available() in jmemnobs.c in djpeg does not honor the max_memory_to_use setting, possibly causing excessive memory consumption.

### Impact
fiona will not open JPEG files and is not vulnerable to attack in that way. fiona might be vulnerable to malformed PROJ grid files using JPEG compression. No such vulnerability or compromise has been demonstrated.

(As written by GitHub Advisory Database.)

## Affected

- fiona (PyPI): before 1.10b2

## Every score

- GitHub: CVSS:3.1 7.1 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`

## References

- <https://github.com/Toblerity/Fiona/security/advisories/GHSA-g4m4-9q4c-mfw6> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-14152> (advisory)
- <https://github.com/libjpeg-turbo/libjpeg-turbo/issues/500> (web)
- <https://github.com/OSGeo/gdal/commit/075480a3cba13c9dd2ab4e39e92d6147a6c98eca> (web)
- <https://github.com/Toblerity/Fiona/commit/07708211726e276e22dedb9cd567b4f6a7b8c809> (web)
- <https://github.com/libjpeg-turbo/libjpeg-turbo/commit/da2a27ef056a0179cbd80f9146e58b89403d9933> (web)
- <https://github.com/Toblerity/Fiona> (package)

## Sources

- GitHub Advisory Database: [GHSA-g4m4-9q4c-mfw6](https://github.com/advisories/GHSA-g4m4-9q4c-mfw6), CC-BY-4.0, modified 2024-12-01

---

Page: https://cve.day/GHSA-g4m4-9q4c-mfw6 · Whole record: https://cve.day/GHSA-g4m4-9q4c-mfw6.json · Rebuilt by cve.day 2026-11-25T22:56:35.330Z
