CVE-2024-4140
An excessive memory use issue (CWE-770) exists in Email-MIME, before version 1.954, which can...
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
7.5
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.
- Record
CVE-2024-4140- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-770
- Updated
- 2026-11-02
EUVDEUVD-2024-32700
7.5
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.
- Record
EUVD-2024-32700- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-2rhr-29cm-5chf
7.5
An excessive memory use issue (CWE-770) exists in Email-MIME, before version 1.954, which can...
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.
- Record
GHSA-2rhr-29cm-5chf- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-770
- Updated
- 2026-11-02
NVD
7.5
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.
- Record
CVE-2024-4140- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-770
- Updated
- 2026-11-02
OSVALPINE-CVE-2024-4140
7.5
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.
- Record
ALPINE-CVE-2024-4140- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-03
OSV
7.5
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.
- Record
CVE-2024-4140- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-770
- Updated
- 2026-11-02
Show 4 moreShow less
OSVDEBIAN-CVE-2024-4140
7.5
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.
- Record
DEBIAN-CVE-2024-4140- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2024-4140
7.5
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.
- Record
UBUNTU-CVE-2024-4140- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVMGASA-2024-0198 No score
Updated perl-Email-MIME packages fix security vulnerabilities
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. (CVE-2024-4140)
- Record
MGASA-2024-0198- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:13973-1 No score
perl-Email-MIME-1.954.0-1.1 on GA media
These are all security issues fixed in the perl-Email-MIME-1.954.0-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:13973-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
perl-email-mimeAlpine:v3.19 |
before 1.954-r0 | 1.954-r0 |
perl-email-mimeAlpine:v3.20 |
before 1.954-r0 | 1.954-r0 |
perl-email-mimeAlpine:v3.21 |
before 1.954-r0 | 1.954-r0 |
perl-email-mimeAlpine:v3.22 |
before 1.954-r0 | 1.954-r0 |
perl-email-mimeAlpine:v3.23 |
before 1.954-r0 | 1.954-r0 |
perl-email-mimeAlpine:v3.24 |
before 1.954-r0 | 1.954-r0 |
libemail-mime-perlDebian:12 |
All versions, plus listed versions 1.953-11.954-1 |
None known |
libemail-mime-perlDebian:13 |
before 1.954-1 | 1.954-1 |
libemail-mime-perlDebian:14 |
before 1.954-1 | 1.954-1 |
perl-Email-MIMEMageia:9 |
before 1.954.0-1.mga9 | 1.954.0-1.mga9 |
Show 9 moreShow less
| Package | Affected | Fixed |
|---|---|---|
libemail-mime-perlUbuntu:16.04:LTS |
All versions, plus listed versions 1.926-11.936-11.937-1 |
None known |
libemail-mime-perlUbuntu:18.04:LTS |
All versions, plus listed versions 1.937-11.946-1 |
None known |
libemail-mime-perlUbuntu:20.04:LTS |
All versions, plus listed versions 1.946-1 |
None known |
libemail-mime-perlUbuntu:22.04:LTS |
All versions, plus listed versions 1.949-11.952-1 |
None known |
libemail-mime-perlUbuntu:24.04:LTS |
All versions, plus listed versions 1.953-1 |
None known |
libemail-mime-perlUbuntu:25.10 |
All versions, plus listed versions 1.954-1 |
None known |
libemail-mime-perlUbuntu:26.10 |
All versions, plus listed versions 1.954-1 |
None known |
libemail-mime-perlUbuntu:26.04:LTS |
All versions, plus listed versions 1.954-1 |
None known |
perl-Email-MIMEopenSUSE:Tumbleweed |
before 1.954.0-1.1 | 1.954.0-1.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, aliases, references | OSV | |
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2024-4140 is a high vulnerability (CVSS 7.5) in Rjbs Email-mime, published May 2, 2024. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.13%, the 66th percentile. Fixed in perl-email-mime 1.954-r0.
References
github.com/rjbs/Email-MIME/issues/66
github.com/rjbs/Email-MIME/pull/80
bugs.debian.org/960062
cve.org/CVERecord?id=CVE-2024-4140
github.com/rjbs/Email-MIME/commit/3a12edd119e493156a5a05e45dd50f4e36b702e8
github.com/rjbs/Email-MIME/commit/7e96ecfa1da44914a407f82ae98ba817bba08f2d
Show 16 moreShow less
github.com/rjbs/Email-MIME/commit/02bf3e26812c8f38a86a33c168571f9783365df2
github.com/rjbs/Email-MIME/commit/fc0fededd24a71ccc51bcd8b1e486385d09aae63
github.com/rjbs/Email-MIME/commit/b2cb62f19e12580dd235f79e2546d44a6bec54d1
github.com/rjbs/Email-MIME/commit/3dcf096eeccb8e4dd42738de676c8f4a5aa7a531
lists.fedoraproject.org/archives/list/[email protected]/message/UFD5BWGYAVLW6IO4SUNLTJCFFLHZYQGT
lists.fedoraproject.org/archives/list/[email protected]/message/YHXHDLPZ6JV4KK3Q43O6TE3WOBAIUQRC
nvd.nist.gov/vuln/detail/CVE-2024-4140
github.com/advisories/GHSA-2rhr-29cm-5chf
security.alpinelinux.org/vuln/CVE-2024-4140
github.com/CVEProject/cvelistV5/tree/main/cves/2024/4xxx/CVE-2024-4140.json
github.com/rjbs/Email-MIME
security-tracker.debian.org/tracker/CVE-2024-4140
advisories.mageia.org/MGASA-2024-0198.html
bugs.mageia.org/show_bug.cgi?id=33248
ubuntu.com/security/CVE-2024-4140
suse.com/security/cve/CVE-2024-4140