{"id":"CVE-2026-77387","aliases":["DEBIAN-CVE-2026-77387","EUVD-2026-90923","GHSA-mhvh-fq92-pfmr","PYSEC-2026-4218","UBUNTU-CVE-2026-77387","openSUSE-SU-2026:11724-1"],"status":"published","title":"geopy: Regular Expression Denial of Service (ReDoS) in geopy.Point","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.","severity":{"version":"3.1","score":4,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-11","score":0.00202,"percentile":0.10222,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-1333"],"published":"2026-09-08T00:00:00Z","modified":"2026-10-28T02:30:52Z","fixes":[{"ecosystem":"PyPI","package":"geopy","fixed_in":["2.5.0"],"sources":["ghsa","osv"]},{"ecosystem":"openSUSE:Tumbleweed","package":"python-geopy","fixed_in":["2.5.0-1.1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"PyPI","package":"geopy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"2.4.1"},{"fixed":"2.5.0"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"geopy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.3.0-1","2.4.1-1","2.4.1-2","2.4.1-3"]},{"source":"osv","ecosystem":"Debian:13","package":"geopy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.4.1-1","2.4.1-2","2.4.1-3"]},{"source":"osv","ecosystem":"Debian:14","package":"geopy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.4.1-1","2.4.1-2","2.4.1-3"]},{"source":"osv","ecosystem":"PyPI","package":"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"]},{"source":"osv","ecosystem":"PyPI","package":"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"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"geopy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3.0-1build1","1.11.0+ds1-1"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"geopy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.11.0+ds1-1"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"geopy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.20.0-1"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"geopy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.0.0-1","2.2.0-1"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"geopy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.3.0-1","2.3.0-1ubuntu1"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"geopy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.4.1-1","2.4.1-3"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"geopy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.4.1-1"]},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"python-geopy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.5.0-1.1"}]}]}],"products":[{"vendor":"geopy","product":"geopy"}],"references":[{"url":"https://github.com/geopy/geopy/security/advisories/GHSA-mhvh-fq92-pfmr","tags":["x_refsource_CONFIRM","advisory","web","report"]},{"url":"https://github.com/geopy/geopy/issues/608","tags":["x_refsource_MISC","exploit","report","web"]},{"url":"https://github.com/geopy/geopy/pull/610","tags":["x_refsource_MISC","fix","web","report"]},{"url":"https://github.com/geopy/geopy/commit/5d09fa843f90ec80788b61552539c9fd3ae6c528","tags":["x_refsource_MISC","fix","web","report"]},{"url":"https://github.com/geopy/geopy/releases/tag/2.5.0","tags":["x_refsource_MISC","web","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-77387","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-mhvh-fq92-pfmr","tags":["advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/77xxx/CVE-2026-77387.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-77387","tags":["advisory"]},{"url":"https://github.com/geopy/geopy","tags":["package"]},{"url":"https://pypi.org/project/geopy","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2026-77387","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-77387","tags":["report"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2026-77387","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2026-77387","title":"geopy: Regular Expression Denial of Service (ReDoS) in geopy.Point","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.","status":"published","published":"2026-10-01T16:38:54.176Z","modified":"2026-10-01T17:50:39.404Z","cvss":[{"version":"3.1","score":4,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium","assessor":"cna"}],"cwes":["CWE-1333"],"updated_at":"2026-11-02T14:20:15.712761Z"}],"euvd":[{"id":"EUVD-2026-90923","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.","status":"published","published":"2026-10-01T16:38:54Z","modified":"2026-10-01T17:50:39Z","cvss":[{"version":"3.1","score":4,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium"}],"updated_at":"2026-11-02T17:27:44.322377Z"}],"ghsa":[{"id":"GHSA-mhvh-fq92-pfmr","title":"geopy: Regular Expression Denial of Service (ReDoS) in geopy.Point","description":"### 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.","status":"published","published":"2026-10-02T22:38:14Z","modified":"2026-10-02T22:38:16Z","cvss":[{"version":"3.1","score":4,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium"}],"cwes":["CWE-1333"],"updated_at":"2026-11-02T14:41:24.739884Z"}],"nvd":[{"id":"CVE-2026-77387","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.","status":"published","published":"2026-10-01T17:17:31.733Z","modified":"2026-10-02T18:04:10.85Z","cvss":[{"version":"3.1","score":4,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium","assessor":"secondary"}],"cwes":["CWE-1333"],"updated_at":"2026-11-02T14:12:53.41762Z"}],"osv":[{"id":"CVE-2026-77387","title":"geopy: Regular Expression Denial of Service (ReDoS) in geopy.Point","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.","status":"published","published":"2026-10-01T16:38:54.176Z","modified":"2026-10-28T02:30:52.778755649Z","cvss":[{"version":"3.1","score":4,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium"}],"cwes":["CWE-1333"],"updated_at":"2026-11-02T15:45:17.102988Z"},{"id":"DEBIAN-CVE-2026-77387","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.","status":"published","published":"2026-10-01T17:17:31.733Z","modified":"2026-10-03T08:47:28.32563732Z","cvss":[{"version":"3.1","score":4,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium"}],"updated_at":"2026-11-02T15:46:03.502256Z"},{"id":"GHSA-mhvh-fq92-pfmr","title":"geopy: Regular Expression Denial of Service (ReDoS) in geopy.Point","description":"### 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.","status":"published","published":"2026-10-02T22:38:14Z","modified":"2026-10-15T14:55:37.906049184Z","cvss":[{"version":"3.1","score":4,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium"}],"cwes":["CWE-1333"],"updated_at":"2026-11-02T15:46:51.811331Z"},{"id":"PYSEC-2026-4218","title":"geopy: Regular Expression Denial of Service (ReDoS) in geopy.Point","description":"### 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.","status":"published","published":"2026-10-15T10:22:43.872971Z","modified":"2026-10-15T14:45:04.403114912Z","cvss":[{"version":"3.1","score":4,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium"}],"updated_at":"2026-11-02T15:52:57.671918Z"},{"id":"UBUNTU-CVE-2026-77387","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.","status":"published","published":"2026-10-01T17:17:00Z","modified":"2026-10-17T13:01:07.769389661Z","cvss":[{"version":"3.1","score":4,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium"}],"updated_at":"2026-11-02T16:57:18.015985Z"},{"id":"openSUSE-SU-2026:11724-1","title":"python313-geopy-2.5.0-1.1 on GA media","description":"These are all security issues fixed in the python313-geopy-2.5.0-1.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2026-09-08T00:00:00Z","modified":"2026-09-09T10:00:05.028215477Z","updated_at":"2026-11-02T16:58:39.516824Z"}]}}
