PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-129300 SpamScope CVE debrief

A vulnerability in the mail-parser library, used for parsing emails, can lead to a denial-of-service (DoS) condition when processing maliciously crafted email headers. The issue arises from the library's failure to properly handle out-of-range dates in the 'Received' header, which can cause an uncaught OverflowError or OSError. This can abort the entire message parsing process and potentially drop queued batches of emails.

Vendor
SpamScope
Product
mail-parser
CVSS
MEDIUM 5.3
CISA KEV
Not listed in stored evidence
Original CVE published
2026-11-16
Original CVE updated
2026-11-17
Advisory published
2026-11-16
Advisory updated
2026-11-17

Who should care

Defenders responsible for email parsing and processing systems using the mail-parser library should assess their exposure to this vulnerability and prioritize updating to version 4.6.3 or later.

Why it matters

Defenders should prioritize updating to version 4.6.3 or later to mitigate this vulnerability. Email parsing and processing systems using affected versions of mail-parser should be reviewed for exposure to prevent potential DoS conditions.

  • Potential denial-of-service (DoS) condition
  • Abortion of entire message parsing process
  • Potential dropping of queued batches of emails
  • Need for verification of email parsing and processing systems

Technical summary

The mail-parser library, used for parsing emails, is vulnerable to a denial-of-service (DoS) condition when processing maliciously crafted email headers. The issue arises from the library's failure to properly handle out-of-range dates in the 'Received' header, which can cause an uncaught OverflowError or OSError. This can abort the entire message parsing process and potentially drop queued batches of emails. The vulnerability is fixed in version 4.6.3.

Defensive priority

Defenders should prioritize updating to version 4.6.3 or later to mitigate this vulnerability. Email parsing and processing systems using affected versions of mail-parser should be reviewed for exposure.

Recommended defensive actions

  • Update mail-parser to version 4.6.3 or later
  • Review email parsing and processing systems using affected versions of mail-parser for exposure
  • Monitor for potential DoS conditions caused by malicious email headers
  • Perform an inventory of assets using mail-parser to identify potential exposure
  • Review change management processes to ensure timely application of security updates
  • Implement additional monitoring to detect potential exploitation attempts
  • Track and document remediation progress for affected systems

Evidence notes

The vulnerability is caused by the receiveds_format() function in src/mailparser/utils.py catching 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.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-129300 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-129300

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-129300 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-129300

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

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

    Unverified legacy reference

    URL: https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/129xxx/CVE-2026-129300.json

    cve_program_cvelist_v5

  • Source reference

    Unverified legacy reference

    URL: https://github.com/SpamScope/mail-parser/security/advisories/GHSA-xhrq-2mqv-q8wx

    Supplemental source - x_refsource_CONFIRM

  • Source reference

    Unverified legacy reference

    URL: https://github.com/SpamScope/mail-parser/pull/171

    Supplemental source - x_refsource_MISC

  • Source reference

    Unverified legacy reference

    URL: https://github.com/SpamScope/mail-parser/commit/d69f6f9b6ad0bf74d731b373bbdeabb462c32b26

    Supplemental source - x_refsource_MISC

  • Source reference

    Unverified legacy reference

    URL: https://github.com/SpamScope/mail-parser/commit/e1d9fe6778045d6e2c44406bc8822e3464c1097f

    Supplemental source - x_refsource_MISC

  • Source reference

    Unverified legacy reference

    URL: https://github.com/SpamScope/mail-parser/releases/tag/4.6.3

    Supplemental source - x_refsource_MISC

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.