{"id":"GHSA-mhvh-fq92-pfmr","summary":"geopy: Regular Expression Denial of Service (ReDoS) in geopy.Point","details":"### Impact\n\n`geopy.Point` and `Point.from_string()` may take excessive CPU time when parsing long, malformed coordinate strings due to inefficient regular-expression behavior. The numeric Point constructor is not affected.\n\nGeocoders' `reverse` methods called with string inputs exercise the vulnerable path.\n\nApplications are affected when they pass attacker-controlled strings to these APIs without an appropriate length limit. Repeated requests may cause denial of service.\n\n### Patches\n\nFixed in geopy **2.5.0** by rejecting overly long (over 256 characters) coordinate strings before parsing.\n\n### Workarounds\n\nLimit coordinate strings to a reasonable maximum length, such as 256 characters, before passing them to geopy.","aliases":["CVE-2026-77387"],"modified":"2026-10-02T22:45:04.340320677Z","published":"2026-10-02T22:38:14Z","database_specific":{"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2026-10-02T22:38:14Z","nvd_published_at":"2026-10-01T17:17:31Z","cwe_ids":["CWE-1333"]},"references":[{"type":"WEB","url":"https://github.com/geopy/geopy/security/advisories/GHSA-mhvh-fq92-pfmr"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-77387"},{"type":"WEB","url":"https://github.com/geopy/geopy/issues/608"},{"type":"WEB","url":"https://github.com/geopy/geopy/pull/610"},{"type":"WEB","url":"https://github.com/geopy/geopy/commit/5d09fa843f90ec80788b61552539c9fd3ae6c528"},{"type":"PACKAGE","url":"https://github.com/geopy/geopy"},{"type":"WEB","url":"https://github.com/geopy/geopy/releases/tag/2.5.0"}],"affected":[{"package":{"name":"geopy","ecosystem":"PyPI","purl":"pkg:pypi/geopy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.5.0"}]}],"versions":["0.92","0.93","0.94","0.94.1","0.94.2","0.95","0.95.1","0.96.0","0.96.1","0.96.2","0.96.3","0.97","0.97.1","0.98","0.98.1","0.98.2","0.98.3","0.99","1.0.0","1.0.1","1.1.0","1.1.1","1.1.2","1.1.3","1.1.4","1.1.5","1.10.0","1.11.0","1.12.0","1.13.0","1.14.0","1.15.0","1.16.0","1.17.0","1.18.0","1.18.1","1.19.0","1.2.0","1.20.0","1.21.0","1.22.0","1.23.0","1.3.0","1.4.0","1.5.0","1.6.0","1.6.1","1.7.0","1.7.1","1.8.0","1.8.1","1.9.0","1.9.1","2.0.0","2.0.0rc1","2.1.0","2.2.0","2.3.0","2.4.0","2.4.1"],"database_specific":{"last_known_affected_version_range":"\u003c= 2.4.1","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-mhvh-fq92-pfmr/GHSA-mhvh-fq92-pfmr.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"}]}