{"id":"CVE-2025-67125","published":"2026-01-23T00:00:00Z","modified":"2026-01-23T16:14:32Z","title":"A signed integer overflow in docopt.cpp v0.6.2 (LeafPattern::match in docopt_private.h) when merging occurrence…","vendor":null,"product":null,"tier":"tail","description":{"text":"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).","provenance":"source","from":"CVE.org"},"cvss":{"score":4.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00235,"percentile":0.08748,"provenance":"source"},"cwes":[{"id":"CWE-190","name":"Integer Overflow or Wraparound"}],"references":[{"url":"https://gist.github.com/thesmartshadow/672afe8828844c833f46f8ebe2f5f3bd","tags":[]},{"url":"https://github.com/docopt/docopt.cpp","tags":[]}],"priority":{"score":4.8,"factors":[{"name":"EPSS percentile","points":1.75},{"name":"CVSS severity","points":3.08}]},"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-01-23T16:08:46.875590Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-4308","exploited":false,"provenance":"source"}}