p PatchFirst

PatchFirst · Vulnerabilidades recientes

Vulnerabilidades de mail-parser

Vulnerabilidades publicadas para mail-parser en los últimos 30 días: 6. Incluidas en el catálogo KEV: 0.

Filtrar vulnerabilidades
Borrar filtros

Vulnerabilidades: 6

  1. CVE-2026-129301

    Media · CVSS 6.5EPSS 0,46%Corrección 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.

    • Actualiza a 4.6.3
    Publicación Actualización
  2. CVE-2026-129300

    Media · CVSS 5.3EPSS 0,52%Corrección 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

    • Actualiza a 4.6.3
    Publicación Actualización
  3. CVE-2026-129299

    Media · CVSS 6.5EPSS 0,46%Corrección 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

    • Actualiza a 4.6.2
    Publicación Actualización
  4. CVE-2026-129297

    Alta · CVSS 7.5EPSS 0,24%Corrección 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

    • Actualiza a 4.6.2
    Publicación Actualización
  5. CVE-2026-129296

    Media · CVSS 6.5EPSS 0,74%Corrección 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.

    • Actualiza a 4.6.0
    Publicación Actualización
  6. CVE-2026-129295

    Alta · CVSS 7.5EPSS 0,68%Corrección 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

    • Actualiza a 4.6.1
    Publicación Actualización

Comprueba tu servidor

Compara tu pila y las versiones instaladas con las bases actuales de vulnerabilidades.

Comprueba tu servidor →