CVE-2026-77387Geopy regular expression denial of service (ReDoS)
CVSS score
4.0
Medium
CVSS 3.1 from github.com
Exploit probability (EPSS)
0.20%
0.20% chance of exploitation in the next 30 days, higher than 10.1% of all CVEs.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
Official description
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.
Source: NVD · CNA: security-advisories@github.com
How to fix it, step by step
Check whether you're affected
Find every system running Geopy and compare its version with the affected versions.
Update to a fixed version
- Update Geopy to 2.5.0 or later.
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- Low
Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Affected products
| Affected products | Versions |
|---|---|
| geopy Geopy | < 2.5.0 |
Weakness
- CWE-1333 regular expression denial of service (ReDoS)
Timeline
- Published:
- Last modified:
Frequently asked questions
Is CVE-2026-77387 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.2% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-77387?
CVE-2026-77387 has a CVSS 3.1 base score of 4.0 (medium).
Which versions are affected?
Geopy Geopy (< 2.5.0)
Is there a patch for CVE-2026-77387?
The official record links to vendor advisories or patches; see “What to do” above.
References
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.