Vulnerability in Geopy

CVE-2026-77387

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.

Vulnerability class: ReDoS (Regular Expression Denial of Service)

Published · last modified .

CVSS v3 metric

CVSS v3 base score 4.0 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L.

EPSS exploit prediction

No EPSS score from FIRST.org yet. New CVEs usually get one within a few days; no score means no signal yet, not low risk. How EPSS works.

Affected products

  • Geopy — versions < 2.5.0

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-77387?
CVE-2026-77387 is a medium-severity vulnerability in Geopy, classified under Inefficient Regular Expression Complexity. CVSS score: 4.0/10. Published 2026-10-01.
How severe is CVE-2026-77387?
Medium severity. CVSS v3 base score is 4.0 out of 10.