Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconNetwork reconnaissance of bettercap zerogod service
-
DeliveryCraft HTTP chunked request with overflowed chunk size
-
ExploitSend request to IPP service port
-
InstallippReadChunkedBody parses malformed chunk header
-
C2Integer coercion occurs without bounds check
-
ExecuteMemory access violation triggered
-
ImpactService disruption or information disclosure
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Numeric handling
|
| Exploitation Conditions | Remote, unauthenticated attackers can trigger this vulnerability by sending HTTP requests to the zerogod IPP service port (default configuration: typically port 631 or 5353 depending on IPP service setup) with malformed chunked transfer encoding. The specific condition is the presence of a chunk size declaration in the HTTP request header that, when parsed and coerced to an integer, overflows or exceeds reasonable bounds. The attack does NOT require authentication (PR:N per CVSS), does NOT require user interaction (UI:N), but DOES require high attack complexity (AC:H), indicating the attacker must craft the payload carefully or exploit race conditions. The vulnerability only manifests when the zerogod IPP service module is enabled and actively listening for incoming connections. Non-default deployments or installations without the zerogod module enabled are unaffected. Default configurations of bettercap that enable zerogod are vulnerable; however, the service is not universally enabled in all installations. |
| Impact | CVSS 4.0 vector indicates network attack vector (AV:N), high attack complexity (AC:H), no authentication required (PR:N), but only availability impact (VA:L) with no confidentiality or integrity impact despite tags mentioning information disclosure. This creates a notable contradiction: the tag 'Information Disclosure' and description mentioning 'memory access violations that leak data' conflict with CVSS showing VA:L and VC:N/VI:N. The E:P flag (Exploit PoC Published) confirms publicly available code. CVSS score of 2.9 is notably low, and the AC:H (high attack complexity) significantly limits real-world risk despite remote, unauthenticated access. The information disclosure potential requires specific crafting (high complexity) and the impact is limited to availability rather than data breach. This appears to be a low-priority vulnerability suitable for standard patch cycles rather than emergency response, though organizations running zerogod IPP services should monitor for exploitation attempts. The contradiction between tag and vector suggests either the CVSS was conservatively scored or the information disclosure claim is overstated. |
| Exploit ScenarioDerived | An attacker sends a specially crafted HTTP request with chunked transfer encoding to a bettercap instance running the zerogod IPP service, specifying an extremely large chunk size value in the chunk header that causes integer coercion. The ippReadChunkedBody function attempts to allocate or access memory based on this overflowed integer value, triggering an out-of-bounds access. The resulting memory access failure causes service disruption or, in limited cases per the information disclosure tag, information leakage. Public exploit code (poc.py referenced in GitHub issue 1263) is available demonstrating the technique. Attack complexity is high, suggesting the payload requires careful construction or specific timing. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 11, 2026
Integer coercion error in bettercap's zerogod IPP service allows remote attackers to trigger information disclosure via malformed chunked HTTP requests. Versions up to 2.41.5 are affected. The vulnerability exists in the ippReadChunkedBody function where integer type conversions lack proper bounds validation, enabling attackers to cause memory access violations that leak sensitive data. Publicly available exploit code exists, and while CVSS 2.9 indicates low severity, the attack requires high complexity and has limited impact; however, the vulnerability is confirmed remotely exploitable without authentication.
RemediationAI
Apply the patch commit 3731d5576cffae9eefe3721cd46a40933304129f by updating to a bettercap version that includes this fix (version 2.41.6 or later, pending official release confirmation). The patch introduces an IPP_CHUNK_MAX_SIZE constant of 10 MB and validates incoming chunk sizes against this limit in the ippReadChunkedBody function, rejecting any chunk exceeding the maximum and returning an error. Additionally, the patch wraps handler invocation with panic recovery to gracefully handle crashes rather than terminating the service. Immediate mitigation without patching includes disabling the zerogod IPP service module if not required for operations, or implementing network-level filtering to restrict access to the IPP service port to trusted networks only. Organizations unable to patch immediately should monitor logs for chunked HTTP requests with unusually large declared chunk sizes. No official vendor advisory release has been independently confirmed, but the GitHub commit and PR 1264 (https://github.com/bettercap/bettercap/pull/1264) contain the authoritative fix.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 3 packages in go, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The zerogod component in bettercap implements an IPP (Internet Printing Protocol) service handler. The vulnerability resides in the ippReadChunkedBody function in modules/zerogod/zerogod_ipp_primitives.go, which parses HTTP chunked transfer encoding. The root cause is CWE-189 (Numeric Errors), specifically integer type coercion without bounds checking on chunk size values read from untrusted network data. When parsing the chunk size field from HTTP chunk headers, the code converts string values to integers without validating against maximum bounds, allowing an attacker to specify excessively large chunk sizes that trigger integer overflow or out-of-bounds memory access. The patch (commit 3731d5576cffae9eefe3721cd46a40933304129f) introduces a constant IPP_CHUNK_MAX_SIZE (10 MB) and adds validation to reject chunks exceeding this limit, preventing the coercion error. The fix also wraps handler invocation with panic recovery to prevent service crashes.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
EUVD-2026-29035
GHSA-322p-rrj6-j44g
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB