- Home
- Vulnerabilities
- CVE-2026-77387
CVE-2026-77387
geopy: Regular Expression Denial of Service (ReDoS) in geopy.Point
Low
24/100
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.
Affected products and versions
geopy (1 line(s))
| Product | Versions | Fixed in | Source |
|---|---|---|---|
| geopy | Versions not specified | — | CNA (vendor or assigner) |
Fix
Upgrade — PyPI/geopy 2.5.0official source
Source : OSV
Upgrade — PyPI/geopy 2.5.0official source
Source : GitHub Advisory
Workaround
No workaround provided.
Check whether you are affected
Exploit reported by sources
These links are tagged “exploit” by the NVD or CVE.org. We have neither verified nor copied them; open with care.
Timeline
- — CVE published (cve)
CERT-FR advisories
- PYSEC-2026-4218 — geopy: Regular Expression Denial of Service (ReDoS) in geopy.Point 15 Oct 2026
- GHSA-mhvh-fq92-pfmr — geopy: Regular Expression Denial of Service (ReDoS) in geopy.Point 2 Oct 2026
References
- https://github.com/geopy/geopy/commit/5d09fa843f90ec80788b61552539c9fd3ae6c528x_refsource_MISC
- https://github.com/geopy/geopy/issues/608exploit
- https://github.com/geopy/geopy/pull/610x_refsource_MISC
- https://github.com/geopy/geopy/releases/tag/2.5.0x_refsource_MISC
- https://github.com/geopy/geopy/security/advisories/GHSA-mhvh-fq92-pfmrx_refsource_CONFIRM
- https://nvd.nist.gov/vuln/detail/CVE-2026-77387ADVISORY
- https://github.com/geopy/geopyPACKAGE
- https://pypi.org/project/geopyPACKAGE
- https://github.com/advisories/GHSA-mhvh-fq92-pfmrADVISORY
Data provenance
- Status
- NVD
- Publication date
- NVD
- Description
- CNA (vendor or assigner)
- CVSS score
- CNA (vendor or assigner)
- Weakness (CWE)
- CNA (vendor or assigner)
- CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L(CVSS 3.1, CNA:GitHub_M)- Weakness
- CWE-1333 · Autre (CWE-1333)