CVE-2025-67125

Source
https://cve.org/CVERecord?id=CVE-2025-67125
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-67125.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-67125
Downstream
Published
2026-01-23T00:00:00Z
Modified
2026-07-15T01:49:15.972088559Z
Severity
  • 4.4 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L CVSS Calculator
Summary
[none]
Details

A signed integer overflow in docopt.cpp v0.6.2 (LeafPattern::match in docoptprivate.h) when merging occurrence counters (e.g., default LONGMAX + first user "-v/--verbose") can cause counter wrap (negative/unbounded semantics) and lead to logic/policy bypass in applications that rely on occurrence-based limits, rate-gating, or safety toggles. In hardened builds (e.g., UBSan or -ftrapv), the overflow may also result in process abort (DoS).

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/67xxx/CVE-2025-67125.json",
    "cna_assigner": "mitre"
}
References

Affected packages

Git / github.com/docopt/docopt.cpp

Affected ranges

Type
GIT
Repo
https://github.com/docopt/docopt.cpp
Events
Database specific
Show details
{
    "cpe": "cpe:2.3:a:docopt:docopt.cpp:0.6.2:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "0.6.2"
        },
        {
            "last_affected": "0.6.2"
        }
    ],
    "source": "CPE_STRING"
}

Affected versions

0.*
0.6.2
v0.*
v0.6.2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-67125.json"