# CVE-2023-27476: owslib: OWSLib is a Python package for client programming with Open Geospatial Consortium (OGC) web service interface standar...

CVE-2023-27476 is fixed in 3 products on 1 platform, first by python-owslib 0.16.0-1ubuntu0.1~esm1, released March 7, 2023. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2023-27476
- Priority: High
- CVSS: 7.5 (high)
- EPSS: 0.0098
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Mar 7, 2023

## Description

OWSLib is a Python package for client programming with Open Geospatial Consortium (OGC) web service interface standards, and their related content models. OWSLib's XML parser (which supports both `lxml` and `xml.etree`) does not disable entity resolution, and could lead to arbitrary file reads from an attacker-controlled XML payload. This affects all XML parsing in the codebase. This issue has been addressed in version 0.28.1. All users are advised to upgrade. The only known workaround is to patch the library manually. See `GHSA-8h9c-r582-mggc` for details.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | owslib Debian 11.6 (bullseye) | 0.23.0-1+deb11u1 | [DSA-5426-1](https://patchblox.com/security/data/fix/linux/dsa-5426-1.md) | Jun 14, 2023 |
| Linux | owslib Debian 12.15 (bookworm) | 0.27.2-3 | [DEBIAN-CVE-2023-27476](https://patchblox.com/security/data/fix/linux/debian-cve-2023-27476.md) | Mar 8, 2023 |
| Linux | owslib Debian 13.5 (trixie) | 0.27.2-3 | [DEBIAN-CVE-2023-27476](https://patchblox.com/security/data/fix/linux/debian-cve-2023-27476.md) | Mar 8, 2023 |
| Linux | owslib Debian 14 | 0.27.2-3 | [DEBIAN-CVE-2023-27476](https://patchblox.com/security/data/fix/linux/debian-cve-2023-27476.md) | Mar 8, 2023 |
| Linux | python-owslib Ubuntu 18.04.6 LTS (bionic) | 0.16.0-1ubuntu0.1~esm1 | [python-owslib 0.16.0-1ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-python-owslib-0.16.0-1ubuntu0.1-esm1.md) | Mar 7, 2023 |
| Linux | python3-owslib Ubuntu 18.04.6 LTS (bionic) | 0.16.0-1ubuntu0.1~esm1 | [python3-owslib 0.16.0-1ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-python3-owslib-0.16.0-1ubuntu0.1-esm1.md) | Mar 7, 2023 |
| Linux | python3-owslib Ubuntu 20.04 LTS (focal) | 0.19.1-1ubuntu0.1~esm1 | [python3-owslib 0.19.1-1ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-python3-owslib-0.19.1-1ubuntu0.1-esm1.md) | Mar 7, 2023 |
| Linux | python3-owslib Ubuntu 22.04.1 LTS (jammy) | 0.25.0-1ubuntu0.1~esm1 | [python3-owslib 0.25.0-1ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-python3-owslib-0.25.0-1ubuntu0.1-esm1.md) | Mar 7, 2023 |

---

Data as of 2026-11-08T19:12:23Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
