CVE-2026-8275: bettercap Integer Coercion Error in ippReadChunkedBody Function
Summary
CVE-2026-8275: bettercap Has an Integer Coercion Error in the ippReadChunkedBody Function. Affects github.com/bettercap/bettercap/v2 versions < 2.41.7. Fixed in 2.41.7. How to fix ↓
Also tracked for
The same CVE-2026-8275 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
bettercap is a powerful, flexible, and portable network attack and monitoring tool that allows users to perform various network-related tasks. It is widely used for penetration testing, network analysis, and security assessments. The tool includes a variety of modules, one of which is the zerogod IPP Service. This service is responsible for handling IPP (Internet Printing Protocol) requests. The vulnerability in question affects versions of bettercap up to 2.41.5, specifically in the ippReadChunkedBody function, which processes chunked HTTP requests.
Vulnerability Detail
The vulnerability arises from an integer coercion error in the ippReadChunkedBody function located in the zerogod IPP primitives module. This issue allows an attacker to manipulate the input, potentially leading to unexpected behavior or crashes. The attack can be initiated remotely, and while it is considered to have high complexity, the exploitation appears to be difficult. The vulnerability has been publicly disclosed, making it a concern for users of affected versions.
How To Fix
Latest published version: v2.41.7 as of 22 Oct 2026
go get github.com/bettercap/bettercap/v2@v2.41.7
Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.
If you need the minimum change
2.41.7
This is the first release that contains the fix.
go get github.com/bettercap/bettercap/v2@v2.41.7
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
As a temporary measure, users can restrict access to the zerogod IPP Service to trusted networks only, thereby reducing the risk of remote exploitation until the package is updated.
Conclusion
The CVE-2026-8275 vulnerability in bettercap poses a significant risk due to its potential for remote exploitation. Users are urged to update to version 2.41.7 or later to mitigate this issue. Additionally, utilizing tools like Vulert can enhance security monitoring and vulnerability management.
See every vulnerability recorded for github.com/bettercap/bettercap/v2 →
FAQ
CVE-2026-8275 is a vulnerability in bettercap that involves an integer coercion error in the ippReadChunkedBody function, affecting versions up to 2.41.5.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.
The vulnerability could lead to unexpected behavior or crashes in the bettercap tool, which may compromise network security assessments.
Yes, a patch is available in version 2.41.7 of bettercap. Users should update to this version to mitigate the vulnerability.
Vulert monitors and alerts in real-time for open-source vulnerabilities using just Gopkg.lock. It helps developers stay informed about potential security issues in their software.
References
Related vulnerabilities
Recent vulnerabilities recorded for github.com/bettercap/bettercap/v2.