CVE-2026-40684 — In Exim before 4.99.2, on systems using musl libc (not
CVE-2026-40684 — In 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.
What This Means For You
- If your environment is affected by CWE-684, review your exposure and prioritize patching based on your environment. Monitor vendor advisories for CVE-2026-40684 updates and patches.
Related ATT&CK Techniques
🛡️ Detection Rules
1 rule · 6 SIEM formats1 detection rule auto-generated for this incident, mapped to MITRE ATT&CK. Sigma YAML is free — export to any SIEM format via the Intel Bot.
CVE-2026-40684 - Exim PTR Record DNS Expansion Crash Attempt
Sigma YAML — free preview
title: CVE-2026-40684 - Exim PTR Record DNS Expansion Crash Attempt
id: scw-2026-04-30-ai-1
status: experimental
level: high
description: |
This rule detects attempts to exploit CVE-2026-40684 by looking for DNS queries for PTR records (indicated by '.in-addr.arpa' in the domain) that contain specific octal escape sequences. These sequences, when processed by Exim on musl libc systems, can lead to a crash of the connection instance due to a dn_expand oddity. This is a direct indicator of an attempted exploit for this vulnerability.
author: SCW Feed Engine (AI-generated)
date: 2026-04-30
references:
- https://shimiscyberworld.com/posts/nvd-CVE-2026-40684/
tags:
- attack.initial_access
- attack.t1190
logsource:
category: dns
detection:
selection:
dst_domain|contains:
- '.in-addr.arpa'
query|contains:
- '\\000'
query|contains:
- '\\1'
query|contains:
- '\\2'
query|contains:
- '\\3'
query|contains:
- '\\4'
query|contains:
- '\\5'
query|contains:
- '\\6'
query|contains:
- '\\7'
query|contains:
- '\\8'
query|contains:
- '\\9'
condition: dst_domain AND query
falsepositives:
- Legitimate administrative activity
Source: Shimi's Cyber World · License & reuse
Indicators of Compromise
| ID | Type | Indicator |
|---|---|---|
| CVE-2026-40684 | vulnerability | CVE-2026-40684 |
| CWE-684 | weakness | CWE-684 |
Source & Attribution
| Source Platform | NVD |
| Channel | National Vulnerability Database |
| Published | May 01, 2026 at 01:16 UTC |
This content was curated and summarized by Shimi's Cyber World for informational purposes. It is not copied or republished in full. All intellectual property rights remain with the original author and source.
Believe this infringes your rights? Submit a takedown request.