CVE-2026-4371

Out of bounds read in IMAP parsing

Published Mar 24, 2026 CVSS 3.1 · 7.4 High EPSS < 1% KEV · Not listed
Description
A malicious mail server could send malformed strings with negative lengths, causing the parser to read memory outside the buffer. If a mail server or connection to a mail server were compromised, an attacker could cause the parser to malfunction, potentially crashing Thunderbird or leaking sensitive data. This vulnerability was fixed in Thunderbird 149 and Thunderbird 140.9.

Analysis

AI-generated

Technical impact

A malicious mail server can send malformed strings with negative lengths, causing the IMAP parser to read outside its buffer. This out-of-bounds read can crash Thunderbird or expose sensitive data. The weakness is identified as CWE-126 and CWE-130, representing insecure memory handling and boundary checks.

Affected Systems

The vulnerability affects Mozilla Thunderbird on all versions prior to 149 and the ESR branch prior to 140.9. Any user running these vulnerable Thunderbird releases is at risk when connecting to an IMAP server that can be compromised or set up to feed malformed data.

Risk and Exploitability

The CVSS score of 7.4 indicates a moderate to high severity. The EPSS score is below 1%, suggesting low likelihood of widespread exploitation at present, and the vulnerability is not listed in the CISA KEV catalog. However, the attack vector is inferred to be an adversary who can control mail server content or compromise the mail server connection. Exploitation requires the victim to receive a crafted IMAP response, after which the parser may crash or expose memory. Timely patching is therefore recommended to mitigate both possible denial of service and confidentiality risks.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Thunderbird to version 149 on the main release or to 140.9 on the ESR branch. Once the update is applied, restart the application to complete the patch. Keep Thunderbird updated to the latest release to prevent re‑use of this code.

Generated by OpenCVE AI on April 13, 2026 at 15:40 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4511-1 thunderbird security update
Debian DSA Debian DSA DSA-6179-1 thunderbird security update
History
Type Values Removed Values Added
Description A malicious mail server could send malformed strings with negative lengths, causing the parser to read memory outside the buffer. If a mail server or connection to a mail server were compromised, an attacker could cause the parser to malfunction, potentially crashing Thunderbird or leaking sensitive data. This vulnerability affects Thunderbird < 149 and Thunderbird < 140.9. A malicious mail server could send malformed strings with negative lengths, causing the parser to read memory outside the buffer. If a mail server or connection to a mail server were compromised, an attacker could cause the parser to malfunction, potentially crashing Thunderbird or leaking sensitive data. This vulnerability was fixed in Thunderbird 149 and Thunderbird 140.9.
Type Values Removed Values Added
CPEs cpe:2.3:a:mozilla:thunderbird:*:*:*:*:-:*:*:*
cpe:2.3:a:mozilla:thunderbird:*:*:*:*:esr:*:*:*
Type Values Removed Values Added
Weaknesses CWE-126
Metrics cvssV3_1

{'score': 7.4, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:H'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Mozilla
Mozilla thunderbird
Vendors & Products Mozilla
Mozilla thunderbird
Type Values Removed Values Added
Description A malicious mail server could send malformed strings with negative lengths, causing the parser to read memory outside the buffer. If a mail server or connection to a mail server were compromised, an attacker could cause the parser to malfunction, potentially crashing Thunderbird or leaking sensitive data. This vulnerability affects Thunderbird < 149 and Thunderbird < 140.9.
Title Out of bounds read in IMAP parsing
References
Weaknesses
  • CWE-126

    Buffer Over-read

  • CWE-130

    Improper Handling of Length Parameter Inconsistency

Sources

Status
PUBLISHED
Assigner
mozilla
Published
Updated
Jul 15, 2026, 12:55 AM
Reserved
Mar 18, 2026, 10:03 AM
Status
Modified
Published
Mar 24, 2026, 9:16 PM
Modified
Jul 15, 2026, 2:22 AM
Severity
Important
Public date
Mar 24, 2026, 8:27 PM