Bug 2432388 (CVE-2025-67125) - CVE-2025-67125 docopt.cpp: integer overflow can lead to logic/policy bypass
Summary: CVE-2025-67125 docopt.cpp: integer overflow can lead to logic/policy bypass
Keywords:
Status: NEW
Alias: CVE-2025-67125
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2432850 2432851 2432852 2432854 2432855 2432856
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-01-23 16:02 UTC by OSIDB Bzimport
Modified: 2026-01-26 16:27 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-01-23 16:02:36 UTC
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).


Note You need to log in before you can comment on or make changes to this bug.