CVE-2025-67125
Last modified
CVE-2025-67125 is a medium-severity vulnerability rated 4.4/10 on the CVSS scale. A signed integer overflow in docopt.cpp v0.6.2 (LeafPattern::match in docopt_private.h) when merging occurrence counters (e.g., default LONG_MAX + 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).. EPSS estimates a 0.21% chance of exploitation in the next 30 days.
Description
A signed integer overflow in docopt.cpp v0.6.2 (LeafPattern::match in docopt_private.h) when merging occurrence counters (e.g., default LONG_MAX + 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).
Metrics
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Docopt | Docopt.Cpp | 0.6.2 |
References
- https://gist.github.com/thesmartshadow/672afe8828844c833f46f8ebe2f5f3bdExploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2025-67125?
How severe is CVE-2025-67125?
How do I fix CVE-2025-67125?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-67112Use of a hard-coded AES-256-CBC key in the configuration bac…9.8
- CVE-2025-67113OS command injection in the CWMP client (/ftl/bin/cwmp) of S…9.8
- CVE-2025-67114Use of a deterministic credential generation algorithm in /f…9.8
- CVE-2025-67115A path traversal vulnerability in /ftl/web/setup.cgi in Smal…6.5
- CVE-2025-6712MongoDB Server may be susceptible to disruption caused by hi…6.5
- CVE-2025-67124A TOCTOU and symlink race in svenstaro/miniserve 0.32.0 uplo…6.8
- CVE-2025-6713An unauthorized user may leverage a specially crafted aggreg…6.5
- CVE-2025-67133An issue in Hero Motocorp Vida V1 Pro 2.0.7 allows a local a…7.5
- CVE-2025-67135Weak Security in the PF-50 1.2 keyfob of PGST PG107 Alarm Sy…9.8
- CVE-2025-6714MongoDB Server's mongos component can become unresponsive to…7.5
- CVE-2025-67146Multiple SQL Injection vulnerabilities exist in AbhishekMali…9.4
- CVE-2025-67147Multiple SQL Injection vulnerabilities exist in amansuryawan…9.8
Are you affected by CVE-2025-67125?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
