CVE-2026-77387
MEDIUM 4.0CVSS 3.1geopy: Regular Expression Denial of Service (ReDoS) in geopy.Point
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.
- Published
- 1 Oct 2026
- Last modified
- 15 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Awaiting Analysis
- Weakness
- CWE-1333
- Also known as
- GHSA-mhvh-fq92-pfmrPYSEC-2026-4218
- Sources
- NVDJSONOSV GHSA-mhvh-fq92-pfmrJSONOSV PYSEC-2026-4218JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 4.0 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.0 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| OSV | PyPA | CVSS 3.1 | MEDIUM 4.0 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | geopy | < 2.5.0 | 2.5.0 |
References
- https://github.com/geopy/geopy/commit/5d09fa843f90ec80788b61552539c9fd3ae6c528 · WEB
- https://github.com/geopy/geopy/issues/608 · WEB
- https://github.com/geopy/geopy/pull/610 · WEB
- https://github.com/geopy/geopy/releases/tag/2.5.0 · WEB
- https://github.com/geopy/geopy/security/advisories/GHSA-mhvh-fq92-pfmr · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-77387 · ADVISORY
- https://github.com/geopy/geopy · PACKAGE
- https://pypi.org/project/geopy · PACKAGE
- https://github.com/advisories/GHSA-mhvh-fq92-pfmr · ADVISORY
History
- 25 Nov 2026 21:22 UTC · NVD: first stored (published 1 Oct 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 15 Oct 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 2 Oct 2026)