VMime: Stack-based buffer overflow in uuEncoder::decode (CVE-2026-116738)
VMime version 0.9.2 and earlier contains an integer underflow vulnerability in the uuEncoder::decode function, allowing remote attackers to trigger a stack-based buffer overflow via crafted uuencoded MIME parts.
CVE search metadata
CVE search record: CVE-2026-116738. Severity: high. CVSS: 8.8. KEV: no. Product: VMime (<= 0.9.2). Brief: VMime: Stack-based buffer overflow in uuEncoder::decode (CVE-2026-116738). Brief link: https://feed.craftedsignal.io/briefs/2026-10-vmime-integer-underflow/
Triage facts
Revision 1- Applicability
- VMime (<= 0.9.2)
- Evidence
- Unknown
- Severity
- High
- Action
- Elevated
- Sources
- 1 public source
- Freshness
- Revision 1Oct 26, 23:47 UTC
- Vulnerabilities
- 1 CVE
- Source quality
- A1Likely
VMime library versions through 0.9.2 are susceptible to an integer underflow within the uuEncoder::decode function. This flaw is triggered when an application processes a crafted uuencoded MIME part where a line begins with the length character 'b' but does not constitute a valid 'begin' line. This input corruption leads to a stack-based buffer overflow, which can result in application denial of service or potential remote code execution.
Impact
Successful exploitation allows remote attackers to corrupt stack memory. The primary observed impact is application instability, with a theoretical potential for arbitrary code execution depending on the host application implementation.
Recommendation
- Inventory systems and applications that utilize the VMime library (up to 0.9.2).
- Prioritize upgrading the VMime library to a patched version once released by the maintainers.
- Implement email filtering or MIME-parsing pre-processors to inspect and discard malformed uuencoded MIME parts that match the length character 'b' logic identified as malicious.
Immediate actions
Inventory applications using VMime library version 0.9.2 or earlier.
Threat Hunt
Identify emails or MIME content containing uuencoded sections where the line starts with b but lacks the valid begin signature.
Data: Email gateway logs, MIME parsing application logs
Mitigations
Upgrade VMime library to a version containing the fix for CVE-2026-116738.
CVE-2026-116738