CVE-2025-67125
4.4 · MEDIUMOverview
CVE-2025-67125 is a medium-severity vulnerability affecting docopt docopt.cpp. It was published on January 23, 2026 and has a CVSS 3.1 base score of 4.4 (MEDIUM).
This vulnerability has a CVSS 3.1 base score of 4.4, rated MEDIUM. It requires local or adjacent network access to exploit. No authentication or special privileges are required for exploitation.
Technical 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).
Remediation
Check the references section for vendor advisories and patches from docopt. Update docopt.cpp to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.
Affected Products
| Vendor | Product | Versions | Status |
|---|
Frequently Asked Questions
What is CVE-2025-67125?
CVE-2025-67125 is a medium-severity vulnerability affecting docopt docopt.cpp. It was published on January 23, 2026 and has a CVSS 3.1 base score of 4.4 (MEDIUM).
How severe is CVE-2025-67125?
This vulnerability has a CVSS 3.1 base score of 4.4, rated MEDIUM. It requires local or adjacent network access to exploit. No authentication or special privileges are required for exploitation.
How do I fix or remediate CVE-2025-67125?
Check the references section for vendor advisories and patches from docopt. Update docopt.cpp to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.
How can CyberStrike help with CVE-2025-67125?
CyberStrike's AI-powered security agents can automatically detect CVE-2025-67125 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.
How CyberStrike Helps
AI agents map your attack surface to find vulnerabilities like this one.
Automated penetration testing that runs continuously, not just quarterly.
AI-driven PR review catches vulnerable dependencies before they ship.
Browser-based exploitation validates findings with real proof-of-concept.