Refine your search

1 vulnerability found for geopy by geopy

CVE-2026-77387 (GCVE-0-2026-77387)
Vulnerability from cvelistv5
Published
2026-10-01 16:38
Modified
2026-10-01 17:50
CWE
  • CWE-1333 - Inefficient Regular Expression Complexity
Summary
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.
Impacted products
Vendor Product Version
geopy geopy Version: < 2.5.0
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2026-77387",
                "options": [
                  {
                    "Exploitation": "poc"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-10-01T17:50:15.527973Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-10-01T17:50:39.404Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "references": [
          {
            "tags": [
              "exploit"
            ],
            "url": "https://github.com/geopy/geopy/issues/608"
          }
        ],
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "product": "geopy",
          "vendor": "geopy",
          "versions": [
            {
              "status": "affected",
              "version": "\u003c 2.5.0"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "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."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "attackComplexity": "LOW",
            "attackVector": "LOCAL",
            "availabilityImpact": "LOW",
            "baseScore": 4,
            "baseSeverity": "MEDIUM",
            "confidentialityImpact": "NONE",
            "integrityImpact": "NONE",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L",
            "version": "3.1"
          }
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-1333",
              "description": "CWE-1333: Inefficient Regular Expression Complexity",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-10-01T16:38:54.176Z",
        "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "shortName": "GitHub_M"
      },
      "references": [
        {
          "name": "https://github.com/geopy/geopy/security/advisories/GHSA-mhvh-fq92-pfmr",
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "https://github.com/geopy/geopy/security/advisories/GHSA-mhvh-fq92-pfmr"
        },
        {
          "name": "https://github.com/geopy/geopy/issues/608",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/geopy/geopy/issues/608"
        },
        {
          "name": "https://github.com/geopy/geopy/pull/610",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/geopy/geopy/pull/610"
        },
        {
          "name": "https://github.com/geopy/geopy/commit/5d09fa843f90ec80788b61552539c9fd3ae6c528",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/geopy/geopy/commit/5d09fa843f90ec80788b61552539c9fd3ae6c528"
        },
        {
          "name": "https://github.com/geopy/geopy/releases/tag/2.5.0",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/geopy/geopy/releases/tag/2.5.0"
        }
      ],
      "source": {
        "advisory": "GHSA-mhvh-fq92-pfmr",
        "discovery": "UNKNOWN"
      },
      "title": "geopy: Regular Expression Denial of Service (ReDoS) in geopy.Point"
    }
  },
  "cveMetadata": {
    "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
    "assignerShortName": "GitHub_M",
    "cveId": "CVE-2026-77387",
    "datePublished": "2026-10-01T16:38:54.176Z",
    "dateReserved": "2026-08-20T19:36:13.806Z",
    "dateUpdated": "2026-10-01T17:50:39.404Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}