Vulnerability

CVE-2025-67125

mediumCVSS 3.1 4.4Published 23 Jan 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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).

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Docopt docopt.cpp

Weakness type

References

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning