CVE-2025-60751

7.5

GeographicLib · GeographicLib

GeographicLib 2.5 contains a buffer overflow vulnerability within the DMS::InternalDecode function, potentially leading to a denial of service.

Executive summary

A critical buffer overflow vulnerability in GeographicLib 2.5 exposes systems to potential service disruption and requires immediate attention.

Vulnerability

The software is susceptible to a buffer overflow in the DMS::InternalDecode function. This vulnerability is remotely exploitable by an unauthenticated attacker, as indicated by the CVSS vector.

Business impact

Successful exploitation of this buffer overflow could result in a denial of service, rendering the affected geographic processing applications unavailable. Given the CVSS score of 7.5, this high severity flaw poses a significant risk to operational continuity, especially for systems relying on GeographicLib for critical coordinate conversions or spatial calculations.

Remediation

Immediate Action: Update the GeographicLib library to a version that incorporates the fix for the DMS::InternalDecode buffer overflow.

Proactive Monitoring: Monitor application logs for unexpected crashes or error patterns in modules related to coordinate parsing and geographic data conversion.

Compensating Controls: Implement input validation at the application layer to sanitize geographic data before it reaches the vulnerable decoding functions, thereby reducing the attack surface.

Exploitation status

Public Exploit Available: Yes, an ExploitDB entry and a public proof-of-concept repository on GitHub exist.

Analyst recommendation

The presence of a public exploit significantly elevates the risk associated with this vulnerability. Administrators should prioritize identifying instances of GeographicLib 2.5 within their environments and apply the vendor patch immediately to prevent potential service outages.

Sources