CVE-2026-40684
MEDIUM 5.9 ALL-YEARSIn Exim before 4.99.2, on systems using musl libc (not glibc), an attacker can crash the connection instance when malformed DNS data is present in PTR records. This is caused by a dn_expand oddity in octal printing.
Current sources show no confirmed exploitation or catalogued public PoC. Missing or low probability estimates do not establish safety. Track for changes.
Exploitation likelihood
0.4%chance of exploitation in 30 days · 30th percentile
Impact if exploited
5.9CVSS 3.1 · MEDIUM · CNA
- ConfidentialityNone
- IntegrityNone
- AvailabilityHigh
What an attacker needs
- ✓Access: Reachable over the network — no local access needed
- ✓Privileges: No account or privileges required
- ✓User interaction: No user interaction needed
- ⚠Complexity: Needs a race window or specific setup
✓ lowers the bar for an attacker · ⚠ raises it
Proof of concept
No public PoC is currently catalogued.
Search for new PoCs
Search GitHub now — results may be empty or unverified.
Supported CVE and PoC feeds are scheduled every 30 minutes, including for older CVEs. Other enrichment runs daily or weekly; source availability can delay updates. A later release appears after a tracked source lists it and a refresh succeeds.
Weakness (CWE)
- CWE-684: Incorrect Provision of Specified Functionality
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
References and research data (JSON) · Change history
Vendor product assessments
All currently supported Red Hat products · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
Red Hat · CVE-2026-40684 · Updated 2026-05-05T15:12:48+00:00
Known Affected Software Configurations
| Vendor | Product | Version range |
|---|---|---|
| Exim | Exim | < 4.99.2 |
All CVSS metrics
- MEDIUM 5.9 v3.1 · CNA Primary
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H - MEDIUM 5.9 v3.1 · NVD Secondary
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H - HIGH 7.5 v3.1 · NVD Primary
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
References
Patches & mitigations
- https://code.exim.org/exim/exim/commit/628bbaca7672748d941a12e7cd5f0122a4e18c81 CVE record · mitre · Updated 2026-05-01T01:16:53.294Z
NVD · CVE-2026-40684 · Updated 2026-11-11T21:10:00.200
Advisories
- https://exim.org/static/doc/security/cve-2026-04.1/CVE2026-40684.assessment CVE record · mitre · Updated 2026-05-01T01:16:53.294Z
NVD · CVE-2026-40684 · Updated 2026-11-11T21:10:00.200 - https://www.openwall.com/lists/oss-security/2026/04/30/21 CVE record · mitre · Updated 2026-05-01T01:16:53.294Z
NVD · CVE-2026-40684 · Updated 2026-11-11T21:10:00.200 - https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40684.json Red Hat · CVE-2026-40684 · Updated 2026-05-05T15:12:48+00:00
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-26442 EUVD · EUVD-2026-26442
Technical & other
- http://www.openwall.com/lists/oss-security/2026/05/01/11CVE record · CVE · Updated 2026-05-01T17:22:32.062Z
NVD · CVE-2026-40684 · Updated 2026-11-11T21:10:00.200 - https://exim.org/static/doc/security/CVE-2026-40684.txt CVE record · mitre · Updated 2026-05-01T01:16:53.294Z
NVD · CVE-2026-40684 · Updated 2026-11-11T21:10:00.200 - https://access.redhat.com/security/cve/CVE-2026-40684 Red Hat · CVE-2026-40684 · Updated 2026-05-05T15:12:48+00:00
- https://www.cve.org/CVERecord?id=CVE-2026-40684 Red Hat · CVE-2026-40684 · Updated 2026-05-05T15:12:48+00:00
Sources: NVD · CVE.org · All sources and attribution · EPSS