Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. geopy
  4. ›
  5. CVE-2026-77387

CVE-2026-77387: geopy: Regular Expression Denial of Service (ReDoS) in geopy.Point

October 2, 2026

geopy.Point and Point.from_string() may take excessive CPU time when parsing long, malformed coordinate strings due to inefficient regular-expression behavior. The numeric Point constructor is not affected.

Geocoders’ reverse methods called with string inputs exercise the vulnerable path.

Applications are affected when they pass attacker-controlled strings to these APIs without an appropriate length limit. Repeated requests may cause denial of service.

References

  • github.com/advisories/GHSA-mhvh-fq92-pfmr
  • github.com/geopy/geopy/commit/5d09fa843f90ec80788b61552539c9fd3ae6c528
  • github.com/geopy/geopy/issues/608
  • github.com/geopy/geopy/pull/610
  • github.com/geopy/geopy/releases/tag/2.5.0
  • github.com/geopy/geopy/security/advisories/GHSA-mhvh-fq92-pfmr
  • nvd.nist.gov/vuln/detail/CVE-2026-77387

Code Behaviors & Features

Detect and mitigate CVE-2026-77387 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 2.5.0

Fixed versions

  • 2.5.0

Solution

Upgrade to version 2.5.0 or above.

Impact 4 MEDIUM

CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Learn more about CVSS

Weakness

  • CWE-1333: Inefficient Regular Expression Complexity

Source file

pypi/geopy/CVE-2026-77387.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:21 +0000.