p PatchFirst

PatchFirst · Vulnérabilités récentes

Vulnérabilités de mail-parser

Vulnérabilités publiées pour mail-parser au cours des 30 derniers jours : 6. Présentes dans le catalogue KEV : 0.

Filtrer les vulnérabilités
Effacer les filtres

Vulnérabilités : 6

  1. CVE-2026-129301

    Moyenne · CVSS 6.5EPSS 0,46%Correctif disponible

    mail-parser: One hostile attachment aborts `write_attachments()` and silently drops the rest of the batch

    mail-parser is a tool that parses emails by enhancing the Python standard library and extracting message details into a comprehensive object. From 4.6.0 until 4.6.3, write_attachments() calls _safe_attachment_filename() and write_sample() without isolating failures for individual attacker-controlled MIME parts. An RFC 2231 filename containing a NUL, a basename exceeding NAME_MAX, or an undecodable base64 payload can raise ValueError, OSError, or binascii.Error and abort the entire save loop. Later attachments remain unwritten; when a caller catches only MailParserError, the failure is not surfaced through the expected library-exception path.

    • Mettez à jour vers 4.6.3
    Publication Mise à jour
  2. CVE-2026-129300

    Moyenne · CVSS 5.3EPSS 0,52%Correctif disponible

    mail-parser: Uncaught `OverflowError` / `OSError` on an out-of-range `Received` date

    mail-parser is a tool that parses emails by enhancing the Python standard library and extracting message details into a comprehensive object. From 3.7.0 until 4.6.3, receiveds_format() in src/mailparser/utils.py catches only TypeError and ValueError while converting the trailing date of an attacker-controlled Received header. An out-of-range year can cause calendar.timegm() to raise OverflowError, and a sufficiently large timezone offset can cause datetime.fromtimestamp() to raise OSError. These exceptions are outside the MailParserError hierarchy, so one crafted header can abort the entire message parse through every parse_from_* entry point

    • Mettez à jour vers 4.6.3
    Publication Mise à jour
  3. CVE-2026-129299

    Moyenne · CVSS 6.5EPSS 0,46%Correctif disponible

    mail-parser: Uncaught exceptions and silent header loss in mail-parser on attacker-controlled input

    mail-parser is a tool that parses emails by enhancing the Python standard library and extracting message details into a comprehensive object. Prior to 4.6.2, multiple message-processing behaviors can raise exceptions or silently lose content. Headers colliding with methods such as Parse, Message, and Write_Attachments can place bound method objects into parsed output and raise TypeError when a caller requests JSON serialization such as mail_json. When byte input is parsed through parse_from_bytes(), an 8-bit header value returned as email.header.Header can likewise raise TypeError when an X_raw accessor passes the value to json.dumps; both ex

    • Mettez à jour vers 4.6.2
    Publication Mise à jour
  4. CVE-2026-129297

    Élevée · CVSS 7.5EPSS 0,24%Correctif disponible

    mail-parser: Sender IP address spoofing in `get_server_ipaddress()

    mail-parser is a tool that parses emails by enhancing the Python standard library and extracting message details into a comprehensive object. Prior to 4.6.2, get_server_ipaddress() can select an attacker-controlled address from attacker-controlled Received headers. The minimum mechanism needed to distinguish this spoofing issue, derived from the advisory's remediation analysis and verified fix evidence, is appearance-based candidate selection that can treat bracketed IPv4 or IPv6 addresses or HELO markers in sender-written text as MTA-recorded addresses and can continue past a trusted hop that names no address. Applications that rely on the r

    • Mettez à jour vers 4.6.2
    Publication Mise à jour
  5. CVE-2026-129296

    Moyenne · CVSS 6.5EPSS 0,74%Correctif disponible

    mail-parser: Path Traversal vulnerability in attachment extraction

    mail-parser is a tool that parses emails by enhancing the Python standard library and extracting message details into a comprehensive object. From 3.8.0 until 4.6.0, the write_attachments() and write_sample() APIs use attacker-controlled attachment filenames without sufficient sanitization and path containment validation. Directory traversal sequences and absolute filesystem paths can cause an attachment to be written outside the intended output directory. An attacker can overwrite files accessible to the parsing process when an application extracts attachments from a crafted message. This issue is fixed in version 4.6.0.

    • Mettez à jour vers 4.6.0
    Publication Mise à jour
  6. CVE-2026-129295

    Élevée · CVSS 7.5EPSS 0,68%Correctif disponible

    mail-parser is vulnerable to polynomial ReDoS in email header parsing

    mail-parser is a tool that parses emails by enhancing the Python standard library and extracting message details into a comprehensive object. From 4.2.0 until 4.6.1, attacker-controlled email headers can cause polynomial regular-expression backtracking during ordinary parse_from_string(), parse_from_bytes(), or parse_from_file() calls. In src/mailparser/utils.py, get_addresses() invokes the _ADDR_FALLBACK_RE fallback when strict address parsing yields no usable address, and overlapping quantifiers rescan padded address headers quadratically or cubically. In src/mailparser/const.py, parse_received() applies _CLAUSE_SPLITTER to uncollapsed whit

    • Mettez à jour vers 4.6.1
    Publication Mise à jour

Vérifiez votre serveur

Comparez votre pile et les versions installées aux bases de vulnérabilités actuelles.

Vérifiez votre serveur →