Vulnerability · Published May 2, 2024 · Assigned by canonical

CVE-2024-4140

High 7.5

In plain English

A high-severity resource allocation without limits in Email-MIME from rjbs. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.1% (higher than 67% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)1.1%top 33.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.20perl-email-mime1.954-r0ALPINE-CVE-2024-4140
Alpine:v3.21perl-email-mime1.954-r0ALPINE-CVE-2024-4140
Alpine:v3.22perl-email-mime1.954-r0ALPINE-CVE-2024-4140
Alpine:v3.23perl-email-mime1.954-r0ALPINE-CVE-2024-4140
Alpine:v3.24perl-email-mime1.954-r0ALPINE-CVE-2024-4140
Debian:12libemail-mime-perlno fix listedDEBIAN-CVE-2024-4140
Debian:13libemail-mime-perl1.954-1DEBIAN-CVE-2024-4140
Debian:14libemail-mime-perl1.954-1DEBIAN-CVE-2024-4140
Ubuntu:22.04:LTSlibemail-mime-perlno fix listedUBUNTU-CVE-2024-4140
Ubuntu:24.04:LTSlibemail-mime-perlno fix listedUBUNTU-CVE-2024-4140
Ubuntu:25.10libemail-mime-perlno fix listedUBUNTU-CVE-2024-4140
Ubuntu:26.04:LTSlibemail-mime-perlno fix listedUBUNTU-CVE-2024-4140
Ubuntu:26.10libemail-mime-perlno fix listedUBUNTU-CVE-2024-4140

Affected products (as reported)

VendorProductVersions
rjbs Email-MIME 0 – before 1.954

Weakness: CWE-770 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References