CVE-2026-8275: Github.com/bettercap/bettercap/v2 Bettercap Has An Integer Coercion Vulnerability
LOWCVE-2026-8275 is a LOW (CVSS 3.7) bettercap has an integer coercion vulnerability (CWE-190: Integer Overflow or Wraparound) affecting Github.com/bettercap/bettercap/v2 libraries in the Go ecosystem. The issue involves bettercap has an integer coercion error in the ippreadchunkedbody function. Remediation is available by upgrading affected packages to version 2.41.7.
CVE-2026-8275 at a Glance
Security Impact
CVSS: 3.7
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L).
How to Fix CVE-2026-8275
To remediate this vulnerability, upgrade all affected Github.com/bettercap/bettercap/v2 dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/bettercap/bettercap/v2 to 2.41.7
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/bettercap/bettercap/v2
How to Check if You Are Affected
To determine whether your application is affected by CVE-2026-8275, inspect your project dependencies for Github.com/bettercap/bettercap/v2:
inspect dependencies for github.com/bettercap/bettercap/v2
Analyze the terminal output to locate any version of Github.com/bettercap/bettercap/v2 in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.41.7), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-190: Integer Overflow or Wraparound, where the product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. this occurs when an integer value is incremented to a value that is too large to store in the associated representation. when this occurs, the value may become a very small or negative number. In Github.com/bettercap/bettercap/v2, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-8275 Affected Github.com/bettercap/bettercap/v2 Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/bettercap/bettercap/v2
|
Go |
< 2.41.7
|
2.41.7
|
References
Frequently Asked Questions
What is CVE-2026-8275?
Which Github.com/bettercap/bettercap/v2 versions are affected?
What version fixes CVE-2026-8275?
Is github.com/bettercap/bettercap/v2 affected?
What is the CVSS score of CVE-2026-8275?
What CWE is associated with CVE-2026-8275?
How can I check Go dependencies for CVE-2026-8275?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-322p-rrj6-j44g",
"modified" : "2026-05-14T21:14:54Z",
"published" : "2026-05-11T06:31:33Z",
"aliases" : [ "CVE-2026-8275" ],
"summary" : "bettercap Has an Integer Coercion Error in the ippReadChunkedBody Function",
"details" : "A vulnerability was detected in bettercap up to 2.41.5. Affected by this vulnerability is the function ippReadChunkedBody of the file modules/zerogod/zerogod_ipp_primitives.go of the component zerogod IPP Service. Performing a manipulation results in integer coercion error. The attack can be initiated remotely. The attack is considered to have high complexity. The exploitation appears to be difficult. The exploit is now public and may be used. The patch is named 3731d5576cffae9eefe3721cd46a40933304129f. To fix this issue, it is recommended to deploy a patch.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/bettercap/bettercap/v2"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.41.7"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-8275"
}, {
"type" : "WEB",
"url" : "https://github.com/bettercap/bettercap/issues/1263"
}, {
"type" : "WEB",
"url" : "https://github.com/bettercap/bettercap/pull/1264"
}, {
"type" : "WEB",
"url" : "https://github.com/bettercap/bettercap/commit/3731d5576cffae9eefe3721cd46a40933304129f"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/bettercap/bettercap"
}, {
"type" : "WEB",
"url" : "https://github.com/bettercap/bettercap/releases/tag/v2.41.7"
}, {
"type" : "WEB",
"url" : "https://github.com/user-attachments/files/26852847/poc.py"
}, {
"type" : "WEB",
"url" : "https://vuldb.com/submit/811145"
}, {
"type" : "WEB",
"url" : "https://vuldb.com/vuln/362572"
}, {
"type" : "WEB",
"url" : "https://vuldb.com/vuln/362572/cti"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-190", "CWE-192" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2026-05-14T21:14:53Z",
"nvd_published_at" : "2026-05-11T06:16:09Z"
}
}