Skip to main content
← All vulnerabilities
CVE-2026-77387PYSEC-2026-4218GHSA-MHVH-FQ92-PFMR

geopy: Regular Expression Denial of Service (ReDoS) in geopy.Point

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.5.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

geopy is a geocoding library for Python. Prior to 2.5.0, geopy.Point and Point.from_string() can spend excessive CPU time due to inefficient regular-expression behavior when an application passes a long malformed coordinate string without the 256-character input limit used by the fix. Geocoder reverse methods also reach the vulnerable parsing path when called with string inputs. Repeated attacker-controlled requests can cause a denial of service, while the numeric Point constructor is unaffected. This issue is fixed in version 2.5.0.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • geopy geopy

    fixed in 2.5.0

  • geopyPyPI

    fixed in 2.5.0

References 5

GitHub · geopy/geopy