{"schema":"threatline.record/2","record":{"id":"CVE-2026-77387","aliases":["GHSA-mhvh-fq92-pfmr","PYSEC-2026-4218"],"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.","categories":["Libraries & packages"],"product":"geopy","vendor":"geopy","ecosystem":"pip","affected_ranges":[{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-mhvh-fq92-pfmr","source_modified_at":"2026-10-02T22:38:16Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"pip","name":"geopy"},"range":"<= 2.4.1"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-77387","source_modified_at":"2026-10-01T17:50:39.404Z","fetched_at":"2026-10-23T18:45:31.882637Z","product":"geopy","vendor":"geopy","versions":[{"version":"< 2.5.0","status":"affected"}],"defaultStatus":null},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-mhvh-fq92-pfmr","source_modified_at":"2026-10-15T14:55:37.906049184Z","fetched_at":"2026-10-23T18:45:31.882637Z","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"]}],"fixed_versions":[{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-mhvh-fq92-pfmr","source_modified_at":"2026-10-02T22:38:16Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"pip","name":"geopy"},"version":"2.5.0"},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-mhvh-fq92-pfmr","source_modified_at":"2026-10-15T14:55:37.906049184Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"geopy","ecosystem":"PyPI","purl":"pkg:pypi/geopy"},"version":"2.5.0"}],"cvss":4,"severity":"Medium","kev":{"listed":false},"epss":{"probability":0.00201,"percentile":0.09469,"score_date":"2026-10-23"},"published_at":"2026-10-01T16:38:54.176Z","modified_at":"2026-10-15T14:55:37.906049184Z","provenance":[{"source":"GitHub Advisory Database","url":"https://github.com/advisories/GHSA-mhvh-fq92-pfmr","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-02T22:38:16Z"},{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-77387","fetched_at":"2026-10-23T18:45:31.882637Z","source_modified_at":"2026-10-01T17:50:39.404Z"},{"source":"OSV","url":"https://osv.dev/vulnerability/GHSA-mhvh-fq92-pfmr","fetched_at":"2026-10-23T18:45:31.882637Z","source_modified_at":"2026-10-15T14:55:37.906049184Z"},{"source":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-77387","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-23"}],"sources":["GitHub Advisory Database","CVE List","OSV","EPSS"],"references":[{"source":"CVE List","url":"https://github.com/geopy/geopy/security/advisories/GHSA-mhvh-fq92-pfmr","tags":["x_refsource_CONFIRM"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-77387","source":"GitHub Advisory Database"},{"source":"CVE List","url":"https://github.com/geopy/geopy/issues/608","tags":["exploit"]},{"source":"CVE List","url":"https://github.com/geopy/geopy/pull/610","tags":["x_refsource_MISC"]},{"source":"CVE List","url":"https://github.com/geopy/geopy/commit/5d09fa843f90ec80788b61552539c9fd3ae6c528","tags":["x_refsource_MISC"]},{"source":"CVE List","url":"https://github.com/geopy/geopy/releases/tag/2.5.0","tags":["x_refsource_MISC"]},{"url":"https://github.com/advisories/GHSA-mhvh-fq92-pfmr","source":"GitHub Advisory Database"}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"partial","assessed_at":"2026-10-01T17:50:15.527973Z"},"classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":"ecosystem","confidence":"heuristic","reviewed":false},"change_timestamp":"2026-10-15T14:55:37.906049184Z","content_hash":"d5be457bbbbd8c11421bd288b33a0f7ef8d3d3744ca9c0e121d5693797847180"}}
