geopy: Regular Expression Denial of Service (ReDoS) in geopy.Point
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · Low
- Fix status
- Partial Red Hat: 2 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-1333.
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| geopy | geopy | before 2.5.0 | 2.5.0 | Patch available | CNA |
| — | geopy (PyPI) | before 2.5.0 | 2.5.0 | Patch available | GHSA-mhvh-fq92-pfmr |
- geopy Vendorgeopy Affected before 2.5.0 Fixed in 2.5.0 Patch available CNA
- geopy (PyPI) Vendor— Affected before 2.5.0 Fixed in 2.5.0 Patch available GHSA-mhvh-fq92-pfmr
Remediation
- Fix · CNA geopy (geopy) Fixed in 2.5.0
- Fix · GHSA-mhvh-fq92-pfmr geopy (PyPI) Fixed in 2.5.0 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat AI Inference Server | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux AI (RHEL AI) 3 | Affected | No fix yet: Fix deferred |
Timeline
- 2026-10-02 Threatist record created from CVE-2026-77387
- 2026-10-03 Alias added: GHSA-mhvh-fq92-pfmr
References
Other 6
- https://github.com/geopy/geopy/security/advisories/GHSA-mhvh-fq92-pfmr
- https://github.com/geopy/geopy/issues/608
- https://github.com/geopy/geopy/pull/610
- https://github.com/geopy/geopy/commit/5d09fa843f90ec80788b61552539c9fd3ae6c528
- https://github.com/geopy/geopy/releases/tag/2.5.0
- https://github.com/geopy/geopy
Sources
- CVE-2026-77387 · CVE Program
- CVE-2026-77387 · NVD
- FIRST EPSS
- GHSA-mhvh-fq92-pfmr · GitHub Advisory Database · CC BY 4.0
- CVE-2026-77387 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences