{"id":"UBUNTU-CVE-2026-77387","details":"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.","modified":"2026-10-02T22:30:29.488070828Z","published":"2026-10-02T00:00:00Z","upstream":["CVE-2026-77387"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-77387"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-77387"},{"type":"REPORT","url":"https://github.com/geopy/geopy/security/advisories/GHSA-mhvh-fq92-pfmr"},{"type":"REPORT","url":"https://github.com/geopy/geopy/issues/608"},{"type":"REPORT","url":"https://github.com/geopy/geopy/pull/610"},{"type":"REPORT","url":"https://github.com/geopy/geopy/commit/5d09fa843f90ec80788b61552539c9fd3ae6c528"},{"type":"REPORT","url":"https://github.com/geopy/geopy/releases/tag/2.5.0"}],"affected":[{"package":{"name":"geopy","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/geopy?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3.0-1build1","1.11.0+ds1-1"],"ecosystem_specific":{"binaries":[{"binary_name":"python-geopy","binary_version":"1.11.0+ds1-1"},{"binary_name":"python3-geopy","binary_version":"1.11.0+ds1-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-77387.json"}},{"package":{"name":"geopy","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/geopy?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.11.0+ds1-1"],"ecosystem_specific":{"binaries":[{"binary_name":"python-geopy","binary_version":"1.11.0+ds1-1"},{"binary_version":"1.11.0+ds1-1","binary_name":"python3-geopy"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-77387.json"}},{"package":{"name":"geopy","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/geopy?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.20.0-1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.20.0-1","binary_name":"python3-geopy"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-77387.json"}},{"package":{"name":"geopy","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/geopy?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.0.0-1","2.2.0-1"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-geopy","binary_version":"2.2.0-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-77387.json"}},{"package":{"name":"geopy","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/geopy?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.3.0-1","2.3.0-1ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-geopy","binary_version":"2.3.0-1ubuntu1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-77387.json"}},{"package":{"name":"geopy","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/geopy?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.4.1-1"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-geopy","binary_version":"2.4.1-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-77387.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"},{"type":"Ubuntu","score":"medium"}]}