Buffer Overflow Affecting geographiclib package, versions [,2.6)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.05% (17th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CONAN-GEOGRAPHICLIB-13669869
  • published23 Oct 2025
  • disclosed21 Oct 2025
  • creditRosario Matteo Grammatico

Introduced: 21 Oct 2025

NewCVE-2025-60751  (opens in a new tab)
CWE-120  (opens in a new tab)

How to fix?

Upgrade geographiclib to version 2.6 or higher.

Overview

Affected versions of this package are vulnerable to Buffer Overflow in the DMS::InternalDecode function. An attacker can hijack the program's control flow by overwriting a return address to point to a libc function (ret2libc) and execute arbitrary code or cause a crash by providing specially crafted input that triggers a buffer overflow.

CVSS Base Scores

version 4.0
version 3.1