# CVE-2026-77387: geopy: Regular Expression Denial of Service (ReDoS) in geopy.Point

- Severity: Medium 4.0 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 4% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-01T16:38:54.176Z
- Modified: 2026-10-15T14:55:37.906Z
- Also known as: GHSA-mhvh-fq92-pfmr, PYSEC-2026-4218
- Weaknesses: CWE-1333
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- geopy geopy: < 2.5.0
- geopy (PyPI): before 2.5.0

## Every score

- GitHub_M: CVSS:3.1 4.0 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- GitHub: CVSS:3.1 4.0 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- PyPA Advisory Database: CVSS:3.1 4.0 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`

## References

- <https://github.com/geopy/geopy/issues/608> (exploit, web)
- <https://github.com/geopy/geopy/security/advisories/GHSA-mhvh-fq92-pfmr> (web)
- <https://github.com/geopy/geopy/pull/610> (web)
- <https://github.com/geopy/geopy/commit/5d09fa843f90ec80788b61552539c9fd3ae6c528> (web)
- <https://github.com/geopy/geopy/releases/tag/2.5.0> (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)

## Sources

- CVE List: [CVE-2026-77387](https://www.cve.org/CVERecord?id=CVE-2026-77387), CVE Terms of Use, modified 2026-10-01
- GitHub Advisory Database: [GHSA-mhvh-fq92-pfmr](https://github.com/advisories/GHSA-mhvh-fq92-pfmr), CC-BY-4.0, modified 2026-10-15
- NVD: [CVE-2026-77387](https://nvd.nist.gov/vuln/detail/CVE-2026-77387), Public domain, modified 2026-10-02
- PyPA Advisory Database: [PYSEC-2026-4218](https://osv.dev/vulnerability/PYSEC-2026-4218), CC-BY-4.0, modified 2026-10-15

---

Page: https://cve.day/CVE-2026-77387 · Whole record: https://cve.day/CVE-2026-77387.json · Rebuilt by cve.day 2026-11-25T22:59:41.860Z
