Home / rjbs / Email-MIME / CVE-2024-4140
CVE-2024-4140: is it exploited, and which versions of rjbs Email-MIME are affected and fixed?
CVE-2024-4140 is a denial of service (resources allocated without limits) vulnerability in rjbs Email-MIME. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 11:38 UTC). Affected: Email-MIME before 1.954 (CVE record by canonical). Fixed in 1.954 (CVE record by canonical). Severity: High (7.5, CVSS 3.1, from canonical).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 11:38 UTC, CVE record November 19, 2026, 07:12 UTC and NVD November 19, 2026, 07:30 UTC.
What is CVE-2024-4140?
An excessive memory use issue (CWE-770) exists in Email-MIME, before version 1.954, which can cause denial of service when parsing multipart MIME messages. The patch set (from 2020 and 2024) limits excessive depth and the total number of parts.
From the CVE record by canonical, last updated February 13, 2025, 17:53 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| rjbs | Email-MIME libemail-mime-perl Linux | before 1.954 | 1.954 |
As the CVE record by canonical states it, last updated February 13, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| rjbs | email-mime | before 1.954 | application |
| fedoraproject | fedora | 39 | operating system |
| fedoraproject | fedora | 40 | operating system |
NVD analysis (status Analyzed), last modified June 17, 2026, 08:01 UTC.
How severe is CVE-2024-4140?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | canonical |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2024-4140 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, May 21, 2024)
- EPSS
- 1.13% probability of exploitation activity in the next 30 days, percentile 67.4 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-770 Allocation of Resources Without Limits or Throttling
Where are the vendor advisories and references?
- https://github.com/rjbs/Email-MIME/issues/66 issue-tracking
- https://github.com/rjbs/Email-MIME/pull/80 issue-tracking
- https://bugs.debian.org/960062 issue-tracking
- https://www.cve.org/CVERecord?id=CVE-2024-4140 issue-tracking
- https://github.com/rjbs/Email-MIME/commit/3a12edd119e493156a5a05e45dd50f4e36b702e8 patch
- https://github.com/rjbs/Email-MIME/commit/7e96ecfa1da44914a407f82ae98ba817bba08f2d patch
- https://github.com/rjbs/Email-MIME/commit/02bf3e26812c8f38a86a33c168571f9783365df2 patch
- https://github.com/rjbs/Email-MIME/commit/fc0fededd24a71ccc51bcd8b1e486385d09aae63 patch
- https://github.com/rjbs/Email-MIME/commit/b2cb62f19e12580dd235f79e2546d44a6bec54d1 patch
- https://github.com/rjbs/Email-MIME/commit/3dcf096eeccb8e4dd42738de676c8f4a5aa7a531 patch
- https://lists.fedoraproject.org/archives/list/[email protected]/message/UFD5BWGYAVLW6IO4SUNLTJCFFLHZYQGT/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/YHXHDLPZ6JV4KK3Q43O6TE3WOBAIUQRC/
Who found and reported it?
- Ricardo Signes (remediation developer)
- Marc Bradshaw (remediation developer)
- Miha Purg (analyst)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- April 24, 2024
- Published
- May 2, 2024, 19:59 UTC
- CVE record updated
- February 13, 2025, 17:53 UTC by canonical
- NVD
- Analyzed, last modified June 17, 2026, 08:01 UTC
- Last checked
- CVE list November 19, 2026, 07:12 UTC; NVD November 19, 2026, 07:30 UTC; KEV December 3, 2026, 11:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
Questions about CVE-2024-4140
Is CVE-2024-4140 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 11:38 UTC. FIRST's EPSS gives it a 1.13% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of rjbs Email-MIME are affected by CVE-2024-4140?
Email-MIME before 1.954, per the CVE record by canonical. The tables above give every range the sources list.
Which version fixes CVE-2024-4140?
1.954, per the CVE record by canonical. Check the vendor's advisory before you rely on it.
How severe is CVE-2024-4140?
High (7.5, CVSS 3.1, from canonical). The severity table above shows each score with its source.
Where is the official record of CVE-2024-4140?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.