CVE Explorer
CVE-2025-67125
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).
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
1
Preserved source conflicts
No provider value was silently selected as the winner.
cwe · 2 assertions
{"cweId":"CWE-190","description":"CWE-190 Integer Overflow or Wraparound","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:f7eb589febb8f57a18c26f2be158d125da7a635f743dfd04cef86c49f4a0c5dd · sha256:ce7487ca45c161af… · /containers/adp/0/problemTypes/0/descriptions/0
{"description":"n/a","lang":"en","type":"text"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:f7eb589febb8f57a18c26f2be158d125da7a635f743dfd04cef86c49f4a0c5dd · sha256:ce7487ca45c161af… · /containers/cna/problemTypes/0/descriptions/0
Affected products and versions
1 source assertion{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:f7eb589febb8f57a18c26f2be158d125da7a635f743dfd04cef86c49f4a0c5dd · sha256:ce7487ca45c161af… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"LOW","baseScore":4.4,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:f7eb589febb8f57a18c26f2be158d125da7a635f743dfd04cef86c49f4a0c5dd · sha256:ce7487ca45c161af… · /containers/adp/0/metrics/0/cvssV3_1
CWE assertions
2 source assertions{"cweId":"CWE-190","description":"CWE-190 Integer Overflow or Wraparound","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:f7eb589febb8f57a18c26f2be158d125da7a635f743dfd04cef86c49f4a0c5dd · sha256:ce7487ca45c161af… · /containers/adp/0/problemTypes/0/descriptions/0
{"description":"n/a","lang":"en","type":"text"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:f7eb589febb8f57a18c26f2be158d125da7a635f743dfd04cef86c49f4a0c5dd · sha256:ce7487ca45c161af… · /containers/cna/problemTypes/0/descriptions/0
Source references
2 source assertions{"url":"https://gist.github.com/thesmartshadow/672afe8828844c833f46f8ebe2f5f3bd"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:f7eb589febb8f57a18c26f2be158d125da7a635f743dfd04cef86c49f4a0c5dd · sha256:ce7487ca45c161af… · /containers/cna/references/0
{"url":"https://github.com/docopt/docopt.cpp"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:f7eb589febb8f57a18c26f2be158d125da7a635f743dfd04cef86c49f4a0c5dd · sha256:ce7487ca45c161af… · /containers/cna/references/1
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.