Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSend crafted DMARC record via inbound email
-
ExploitOpenDMARC parses record in opendmarc_util_cleanup
-
ExecutionLength equals buffer, off-by-one NUL write past buffer
-
ImpactMilter crash / memory corruption (DoS)
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Off-by-one prevention
|
| Exploitation Conditions | Requires the target to run OpenDMARC <=1.4.2 as a DMARC-checking milter on an internet-facing mail server (Postfix/Sendmail), such that attacker-influenced input reaches opendmarc_util_cleanup during DMARC record parsing. Exploitation is remote and unauthenticated (PR:N/UI:N) with no special configuration beyond DMARC verification being enabled, but the trigger is narrow: the processed string length must exactly equal the destination buffer length to hit the one-byte overflow, and the practical impact is limited to a single NUL byte written past the buffer - most realistically a crash/DoS rather than controllable corruption. Limiting factors: outdated/unmaintained version required, and the precise length condition constrains reliable triggering. |
| Impact | The provided CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L, base 6.9) describes a remote, low-complexity, unauthenticated flaw with low impact across confidentiality, integrity, and availability, plus E:P (proof-of-concept exploit maturity). The signals are internally consistent: a public POC exists (weitongli write-up) and a vendor patch is available, but there is NO EPSS score, NO CISA KEV listing, and no evidence of active exploitation. The source-code evidence confirms the technical reality: the bounds check |
| Exploit ScenarioDerived | An attacker sends an email whose sending-domain DMARC record (or associated string) is crafted so that, after processing, a string length exactly equals the destination buffer size, triggering the off-by-one NUL write in opendmarc_util_cleanup during DMARC record parsing on the receiving mail server. A public proof-of-concept exists (weitongli), and the request is remote and unauthenticated; the most likely observed outcome is a milter crash/denial of service rather than reliable remote code execution. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 28, 2026
Off-by-one bounds error in Trusted Domain Project OpenDMARC through 1.4.2 lets a remote, unauthenticated attacker send a crafted message that causes the DMARC record parser's opendmarc_util_cleanup routine to write one byte past the end of a buffer; publicly available exploit code exists. The practical impact is narrow - the overflow is a single NUL byte, so the realistic outcome is a crash or denial of service rather than controllable memory corruption, which aligns with the independently assessed CVSS:3.1 vector (C:N/I:L/A:L). The flaw requires the target to run an affected OpenDMARC milter on an internet-facing mail server and to process attacker-influenced input whose length exactly equals the destination buffer size, so triggering is constrained.
RemediationAI
Apply the upstream fix, which is available as commit b3b1da9264bc80324094a27c71e7369bdedc62ae (referenced in the vendor-tracked patch data), delivered via GitHub PR https://github.com/trusteddomainproject/OpenDMARC/pull/188 and PR https://github.com/trusteddomainproject/OpenDMARC/pull/344; because these are PR/commit-level fixes, treat this as 'Upstream fix available (PR/commit); released patched version not independently confirmed' and verify whether a tagged OpenDMARC release bundles the change before relying on a package upgrade - if not, rebuild libopendmarc from the patched commit. Until patched code is deployed, compensating controls are limited because the trigger arrives through normal mail traffic: disabling DMARC verification (removing the milter from the MTA configuration) eliminates the vulnerable code path at the cost of losing DMARC enforcement and reporting; alternatively, isolate or rate-limit the mail path and restart the milter process so that a crash does not cascade, and monitor for repeated milter restarts or anomalous crashes as an indicator of attempted exploitation. Consult the vendor advisory and the VulDB entry at https://vuldb.com/vuln/410884 for the definitive version guidance, and treat the public proof-of-concept at https://weitongli.com/share/opendmarc-cleanup-off-by-one.html as an indication that scanning or targeted attempts may follow.
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 implementation of the DMARC (Domain-based Message Authentication, Reporting and Conformance) specification, distributed both as a standalone library and as a milter that plugs into MTAs such as Postfix and Sendmail to evaluate inbound mail against published DMARC policies. The vulnerable routine, opendmarc_util_cleanup in libopendmarc/opendmarc_util.c, sanitizes/normalizes strings during DMARC record parsing. CWE-193 (Off-by-one Error) is the root-cause class: the upstream diff in PR #188 changes the guard from 'strlen((char *)str) > buflen' to '>=', meaning the original strict comparison accepted a string whose length exactly equals buflen, leaving no room for the terminating NUL byte and allowing a one-byte out-of-bounds write. Because the parser handles remote mail content, the input path is network-reachable (AV:N) and requires no privileges (PR:N) or user interaction (UI:N), matching both the supplied CVSS 4.0 vector and the independent CVSS 3.1 assessment. The supplied CVSS 4.0 base of 6.9 carries E:P, corroborating the publicly available proof-of-concept referenced at weitongli.com.
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 parsing of inbound email (AV:N/AC:L/PR:N/UI:N); a single-byte NUL off-by-one realistically yields DoS and minor corruption (I:L/A:L), no meaningful disclosure (C:N).
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
2DescriptionCVE.org
A vulnerability was detected in Trusted Domain Project OpenDMARC up to 1.4.2. Affected by this vulnerability is the function opendmarc_util_cleanup in the library libopendmarc/opendmarc_util.c of the component DMARC Record Parser. Performing a manipulation results in off-by-one. The attack may be initiated remotely. The exploit is now public and may be used. The patch is named b3b1da9264bc80324094a27c71e7369bdedc62ae. To fix this issue, it is recommended to deploy a patch.
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
OpenDMARC 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
Email authentication bypass in OpenDMARC up to 1.4.2 allows remote unauthenticated attackers to spoof sender domains by
DMARC authentication bypass in Trusted Domain Project OpenDMARC through 1.4.2 lets a remote attacker defeat the DMARC an
Integer overflow in OpenDMARC through 1.4.2 allows unauthenticated remote attackers to corrupt DMARC policy-percentage h
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
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-88167
GHSA-ccpv-xp3h-j99v
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB