CWE-248
### Impact A `Received` header whose trailing date carries an out-of-range year, or a timezone offset large enough to push the timestamp past the int64 epoch range, raises an exception that is **outside the `MailParser*` hierarchy**. A caller that catches only mail-parser exceptions does not catch it, and the parse of the entire message is aborted — the same class of issue as [GHSA-24mq-4vc6-2prf](https://github.com/SpamScope/mail-parser/security/advisories/GHSA-24mq-4vc6-2prf), which this survives (it is not a duplicate; 24mq is fixed in 4.6.2 and this reproduces on 4.6.2). All entry points are affected: `parse_from_string()`, `parse_from_bytes()`, `parse_from_file()`, `parse_from_file_obj()` and the `mail-parser` CLI. The header is fully attacker-controlled and a single line is enough, so any pipeline that parses untrusted mail can be made to lose the message — and, if one worker handles a queue, to drop the batch. ```python import mailparser raw = ("Received: from x ([1.2.3.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CVE-2026-129300
CVSS 5.3/10 · ORTA · 16.11.2026
CWE: CWE-248
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 AÇIK NEDİR?
Açıklama: ### Impact
A Received header whose trailing date carries an out-of-range year, or a timezone offset
large enough to push the timestamp past the int64 epoch range, raises an exception that is
*outside the MailParser hierarchy**. A caller that catches only mail-parser exceptions
does not catch it, and the parse of the entire message is aborted — the same class of issue
as [GHSA-24mq-4vc6…
Etkilenen: mail-parser
⚡ SALDIRI ZİNCİRİ
İnternet üzerinden uzaktan | kimlik doğrulama GEREKMİYOR | kullanıcı etkileşimi YOK | düşük karmaşıklık.
🌍 GERÇEK DÜNYA ETKİSİ
🛡️ ÇÖZÜM VE MİTİGASYON
→ mail-parser için üretici güvenlik güncellemesini uygula.
→ Yama öncesi: servis erişimini VPN arkasına al veya IP whitelist uygula.
→ WAF kuralı ekle, anormal trafik için IDS alert oluştur.
⚠️ ACİLİYET
📋 Rutin güncelleme (30 gün)
────────────────────────────────────────
[Kural Tabanlı Analiz] [💡 config.json dosyasına ai_key (Claude: sk-ant-... veya Groq: gsk_...) ekleyerek gerçek AI analizi kullanabilirsiniz]
[⚠️ AI key mevcut ancak istek başarısız — kural tabanlı analiz kullanıldı]