Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSend inbound SMTP email to OpenDMARC host
-
DeliverySet HELO to SPF-passing domain, MAIL FROM to spoofed domain
-
ExploitSPF check redirected to wrong (HELO) domain
-
ExecutionDMARC alignment miscomputed as pass
-
ImpactForged sender delivered as authenticated
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Authentication mechanism validation
MITRE ATT&CK
2 techniques across 2 tactics: Defense Evasion, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires a target running OpenDMARC ≤1.4.2 with its libspf2-based SPF checking active (SPF Macro Handler in opendmarc_spf.c performing opendmarc_spf2_test). Exploitation is remote and unauthenticated (PR:N) via ordinary inbound SMTP - the attacker controls both the HELO hostname and the envelope MAIL FROM. The practical limiting factor is that success depends on the deployed libspf2 version treating the first-set domain as the SPF check domain (per the vendor's own code comment, 'some libspf2 versions use the first-set domain'); on other libspf2 versions the misordering may not redirect the check. Impact is confined to email authentication/spoofing (bypassing SPF-backed DMARC), with no confidentiality or availability effect. |
| Impact | This is a genuine but low-to-medium severity email-authentication flaw, not a critical one. All signals point to modest real-world risk: the CVSS 4.0 vector (AV:N/AC:L/PR:N/UI:N) confirms remote, unauthenticated, low-complexity reachability, but every impact metric is only Low (VC:L/VI:L/VA:L) and the real effect is integrity-only (SPF/DMARC spoofing). The vendor's 6.9 score is inflated by counting confidentiality and availability impacts that the patch diff does not support - this is an SPF check-domain confusion bug, so the honest impact is I:L, giving ~5.3. E:P (Proof-of-Concept) is the only exploit-maturity signal: a public POC exists (same researcher who published the OpenDKIM/OpenDMARC family), but there is NO EPSS score, NO CISA KEV listing, and no evidence of active exploitation - POC availability must not be conflated with in-the-wild use. Unlike its non-responsive-vendor siblings, this one is materially de-risked because the fix is already merged (PR#328, commit c48a74c7). Net: prioritize patching for mail gateways that rely on OpenDMARC for anti-spoofing, but this is not an emergency. |
| Exploit ScenarioDerived | An attacker sends inbound email over SMTP to a mail server running OpenDMARC ≤1.4.2, setting the HELO hostname to a domain with a passing SPF record while the envelope MAIL FROM is a spoofed victim domain. Because opendmarc_spf.c establishes the HELO domain before/instead of the envelope-from domain, some libspf2 versions evaluate SPF against the HELO hostname rather than the true MAIL FROM, producing a favorable result that lets the forged sender pass SPF/DMARC. A public POC (opendmarc-spf-postmaster-macro) demonstrating the macro/check-domain handling has been published. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 29, 2026
Email authentication bypass in OpenDMARC up to 1.4.2 allows remote unauthenticated attackers to spoof sender domains by exploiting a misordered domain-setting sequence in the SPF Macro Handler, causing SPF-backed DMARC checks to evaluate the attacker-controlled HELO domain instead of the envelope MAIL FROM domain. Publicly available exploit code exists, though successful exploitation depends on the libspf2 version (some versions treat the first-set domain as the SPF check domain). This is a low-to-medium severity email-authentication flaw with no confidentiality or availability impact, only limited integrity impact.
RemediationAI
Apply the upstream fix from commit c48a74c758677fc5272a73eff15ffdbf8afda1a6, available through pull request #328 on the OpenDMARC GitHub repository; this is the primary remediation, though a released patched version (e.g., a tagged release) is not independently confirmed. Until patching is possible, consider temporarily disabling SPF checks in OpenDMARC-this will prevent the vulnerable code path but weakens DMARC enforcement and may increase spoofing risk. Alternatively, verify that the deployed libspf2 version does not use the first-set domain as the check domain (a behavior that is version-dependent), or monitor for SPF/DMARC authentication anomalies. No other workarounds are provided by the vendor. For reference, the vendor issue is at https://github.com/trusteddomainproject/OpenDMARC/issues/262, the patch at https://github.com/trusteddomainproject/OpenDMARC/pull/328, and an exploit demonstration at https://xuyongzhe-vt.github.io/share/opendmarc-spf-postmaster-macro.html.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
OpenDMARC is an open-source DMARC implementation that relies on libspf2 for SPF checks. The vulnerability resides in the SPF macro handler within libopendmarc/opendmarc_spf.c, specifically in the opendmarc_spf2_test function (referred to in the CVE description as opendmarc_sp2_find_mailfrom_domain). Under certain conditions, the function sets the HELO domain before the envelope MAIL FROM domain via SPF_request_set_helo_dom and SPF_request_set_env_from. Because some versions of libspf2 use the first-set domain as the domain to check, SPF validation is performed against the attacker-controlled HELO hostname rather than the MAIL FROM domain, resulting in improper authentication (CWE-287) and enabling DMARC bypass. The affected product is identified by CPE cpe:2.3:a:trusted_domain_project:opendmarc:*:*:*:*:*:*:*:*, covering versions up to 1.4.2. The vendor patch (commit c48a74c758677fc5272a73eff15ffdbf8afda1a6) reorders the domain-setting calls to set env_from first, ensuring the SPF check targets the envelope sender domain.
Know when Opendmarc gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Remote unauthenticated over SMTP (AV:N/PR:N/UI:N); integrity-only spoofing outcome (I:L) with no confidentiality or availability impact; AC:L though real success is libspf2-version dependent.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
2DescriptionCVE.org
A flaw has been found in Trusted Domain Project OpenDMARC up to 1.4.2. Affected by this vulnerability is the function opendmarc_sp2_find_mailfrom_domain of the file libopendmarc/opendmarc_spf.c of the component SPF Macro Handler. This manipulation causes improper authentication. The attack is possible to be carried out remotely. The exploit has been published and may be used. Patch name: c48a74c758677fc5272a73eff15ffdbf8afda1a6. Applying a patch is the recommended action to fix this issue.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Related Vulnerabilities in OpenDMARC Authentication and Policy Bypass Flaws
View all 4OpenDMARC through 1.3.2 and 1.4.x through 1.4.0-Beta1 has improper null termination in the function opendmarc_xml_parse
OpenDMARC 1.4.2 contains a null pointer dereference vulnerability in /OpenDMARC/libopendmarc/opendmarc_policy.c. Rated h
OpenDMARC 1.4.1 and 1.4.1.1 allows remote attackers to cause a denial of service (NULL pointer dereference and applicati
OpenDMARC through 1.3.2 and 1.4.x through 1.4.0-Beta1 is prone to a signature-bypass vulnerability with multiple From: a
DMARC policy evaluation in Trusted Domain Project OpenDMARC through 1.4.2 can be bypassed by mail carrying sending-domai
OpenDMARC through 1.4.2 can mishandle Internationalized Domain Name labels during DMARC policy lookup in opendmarc_polic
Malformed DMARC policy tags (fo, rf, ri, pct, sp, adkim, aspf, rua, ruf) supplied in attacker-controlled DNS TXT records
Off-by-one bounds error in Trusted Domain Project OpenDMARC through 1.4.2 lets a remote, unauthenticated attacker send a
A NULL pointer dereference in the Trusted Domain Project's OpenDMARC (up to and including 1.4.2) can crash the mail filt
OpenDMARC through 1.3.2 and 1.4.x allows attacks that inject authentication results to provide false information about t
EUVD-2026-88599
GHSA-fvpv-g9f4-87fc
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB