Skip to main content

GeographicLib GeoConvert CVE-2025-60751

HIGH
Stack-based Buffer Overflow (CWE-121)
2025-10-21 cve@mitre.org
7.5
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft malformed DMS coordinate string
  2. Exploit
    Feed to GeoConvert / DMS::InternalDecode parser
  3. Execution
    Overflow stack buffer in decode routine
  4. Impact
    Crash process (denial of service)

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Stack buffer bounds checking
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires delivering a crafted DMS-format coordinate string to DMS::InternalDecode in GeographicLib 2.5 - in practice by passing attacker-controlled input to the GeoConvert command-line tool or to any application that embeds this library's DMS parser and feeds it untrusted coordinate data. Limiting factors: the flaw is tied to version 2.5; impact is availability-only (C:N/I:N, A:H), i.e. a crash/DoS rather than data compromise; and because GeoConvert is a local utility, meaningful reach depends on whether untrusted input is routed into that parsing path despite the NVD AV:N label. The precise trigger (field, length, or malformed token) is not described in the available sources.

Impact

The signals point to a moderate, availability-only issue rather than a top-priority emergency. The NVD CVSS of 7.5 is driven entirely by A:H - confidentiality and integrity are rated N (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H), so despite CWE-121 (stack-based buffer overflow) the scored outcome is denial of service, not code execution. EPSS is 2.28% (83rd percentile), which is moderate-but-not-high, and there is no CISA KEV listing, so this is not confirmed as actively exploited. A public PoC reference exists (Exploit-DB 52522 and the zer0matt GitHub repo) but it is not verified as working exploit code, and PoC availability must not be conflated with active exploitation. The vuln.today decision label is 'this_week', consistent with a needs-attention-soon rather than drop-everything posture. A key conflict to verify: the NVD vector marks AV:N (network) and PR:N (unauthenticated), yet the named sink is GeoConvert - a local command-line utility - and DMS::InternalDecode, a DMS-string parser; the network vector is therefore unverified and realistically depends on whether an application exposes this parser to remote input. Verify the attack vector with the vendor/Debian before treating this as remotely reachable by default.

Exploit ScenarioDerived

An attacker supplies a crafted degrees-minutes-seconds (DMS) coordinate string that reaches GeographicLib 2.5's DMS::InternalDecode - for example as an argument or piped input to the GeoConvert utility, or via an application that parses untrusted coordinate strings with this library. Parsing the malformed input triggers a stack buffer overflow (CWE-121) that corrupts the stack and crashes the process, yielding denial of service consistent with the C:N/I:N/A:H rating. A public PoC reference exists but is not verified as working exploit code.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 2.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 28, 2026

Stack-based buffer overflow in GeographicLib 2.5's DMS::InternalDecode parser can crash GeoConvert and any application that routes untrusted DMS-format coordinate strings into the embedded library, producing an availability-only denial of service. The affected product is GeographicLib 2.5, with practical reach tied to GeoConvert as a local utility or to applications that embed the DMS parser and accept attacker-controlled coordinate data; the precise trigger field or length is not described in the available sources. EPSS is 2.28% (83rd percentile), a public PoC reference exists but is not verified as working exploit code, and no CISA KEV entry is reported in the supplied data, so this is a moderate, availability-only issue rather than a top-priority emergency.

RemediationAI

Upgrade GeographicLib and GeoConvert to a release containing the DMS::InternalDecode fix, using the upstream issue at https://github.com/geographiclib/geographiclib/issues/43 and the Debian LTS advisory at https://lists.debian.org/debian-lts-announce/2025/11/msg00004.html to confirm the exact fixed package version; the supplied data does not provide an exact fix version. Until then, prevent untrusted DMS-format coordinate strings from reaching GeoConvert or an embedded DMS parser, and enforce strict bounded validation of DMS input before decoding; the trade-off is that legitimate coordinates outside the accepted format or length may be rejected. If untrusted input must be processed, run the conversion with least privilege and isolate or rate-limit the process so a crash has limited availability impact; isolation does not remove the underlying parser flaw.

Affected ProductsAI

The supplied data identifies GeographicLib 2.5 as affected, specifically the GeoConvert utility and its DMS::InternalDecode parser; applications that embed GeographicLib and feed attacker-controlled DMS-format coordinate strings into that parser are also in scope. No CPE strings were provided. Upstream context is at https://github.com/geographiclib/geographiclib/issues/43, distribution impact is noted in the Debian LTS advisory at https://lists.debian.org/debian-lts-announce/2025/11/msg00004.html, and a VulDB advisory is at https://vuldb.com/vuln/329232.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

GeographicLib is a geodesic computation library, and GeoConvert is its command-line coordinate conversion tool; DMS::InternalDecode parses degrees-minutes-seconds coordinate strings. CWE-121 describes a stack-based buffer overflow in which parsing writes beyond a fixed-size stack buffer, typically corrupting stack state and causing a crash; the independent assessment rates impact as availability-only (C:N/I:N/A:H). The flaw is tied to GeographicLib 2.5, and the exact malformed DMS token, field, or length that triggers the overflow is not described in the supplied sources. NVD's vector is AV:N, but the independent assessment treats this as AV:L because GeoConvert is a local utility; whether the issue is remotely reachable depends on an embedding application passing untrusted coordinate data to this parser. No CPE strings were included in the supplied data.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (mitre) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 6.2 MEDIUM

GeoConvert is a local CLI parser consuming attacker-supplied input, so AV:L with no privileges (PR:N); the overflow causes a crash with no confidentiality/integrity impact, hence C:N/I:N/A:H.

3.1 AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

DescriptionCVE.org

GeographicLib 2.5 is vulnerable to Buffer Overflow in GeoConvert DMS::InternalDecode.

Executive ViewAI

Why It Matters

CVE-2025-60751 is a high-severity availability vulnerability in GeographicLib 2.5 that can crash the GeoConvert utility and any application embedding its DMS parser when processing malicious coordinate strings. This poses a denial-of-service risk to services that accept untrusted coordinate input, potentially disrupting operations that rely on geographic data processing. Leadership should prioritize patching and interim mitigations for externally-facing or mission-critical systems using this library.

Business Impact: Medium
Compensating Controls

No vendor-released patch identified at time of analysis. As interim mitigations, enforce strict input validation on all DMS-format coordinate strings, limit exposure of GeoConvert and embedded parsers to untrusted networks, and deploy application-level filtering to block malformed input. Monitor for abnormal crashes and consider isolating affected services until a patch is available.

Threat Intelligence Overview

EPSS Score
2.3%
Top 17% exploitable
Prevalence
Low
niche C++ geodesic/GIS library, packaged in Debian but not broadly deployed
Exploit
POC
Public exploit code exists
Data Quality
6 sources
Confidence: High
NVD CVE.org EPSS Exploit-DB GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 2.3%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
Medium

Priority Score

60
Low Medium High Critical
KEV: 0
EPSS: +2
CVSS: +38
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

A stack-based buffer overflow occurs when a program writes more data to a buffer located on the stack than it was allocated to hold.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy