Red Hat Enterprise Linux 10
Fetchmail: fetchmail: stack-based buffer overflow in ntlm authentication (fetchmail-sa-2026-01)
A stack-based buffer overflow flaw was found in fetchmail when built with NTLM support. A malicious or compromised mail server advertising NTLM authentication can send a crafted Type 2 challenge that causes fetchmail to write past a fixed stack buffer while building the NTLM authenticate response. This may lead to remote code execution depending on stack-frame layout, or to authentication failure or process termination under memory hardening.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
Fixed in 0:6.4.38-3.el10_2.1
Fixed in 0:6.4.38-3.el10_3.1
Fixed in 0:6.4.24-1.el8_10.1
Fixed in 0:6.4.24-1.el9_8.1
Fixed in 0:6.4.24-1.el9_9.1
Mitigation
Upgrade Red Hat Enterprise Linux 10 to 0:6.4.38-3.el10_2.1 or later.
Upgrade Red Hat Enterprise Linux 10 to 0:6.4.38-3.el10_3.1 or later.
Upgrade Red Hat Enterprise Linux 8 to 0:6.4.24-1.el8_10.1 or later.
Upgrade Red Hat Enterprise Linux 9 to 0:6.4.24-1.el9_8.1 or later.
Upgrade Red Hat Enterprise Linux 9 to 0:6.4.24-1.el9_9.1 or later.
Workaround
Rebuild fetchmail without --enable-NTLM (omit NTLM at configure time). Confirm with `fetchmail -V` that the build does not list +NTLM.
References
- Vendor advisory access.redhat.com/errata/RHSA-2026:85959
- Vendor advisory access.redhat.com/errata/RHSA-2026:86981
- Vendor advisory access.redhat.com/errata/RHSA-2026:86982
3 more
- Vendor advisory access.redhat.com/errata/RHSA-2026:98480
- Vendor advisory access.redhat.com/errata/RHSA-2026:98583
- Patch gitlab.com/fetchmail/fetchmail/-/commit/cb5be5…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.