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

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 formats

1 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.

high T1190 Initial Access

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

✓ Sigma · Splunk SPL Sentinel KQL Elastic QRadar AQL Wazuh Get rules for your SIEM →

Indicators of Compromise

IDTypeIndicator
CVE-2026-40684 vulnerability CVE-2026-40684
CWE-684 weakness CWE-684
Source & Attribution
Source PlatformNVD
ChannelNational Vulnerability Database
PublishedMay 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.

Related coverage

CVE-2026-7551: HKUDS OpenHarness RCE Flaw Exposes Sensitive Data

CVE-2026-7551 — HKUDS OpenHarness contains a remote code execution vulnerability in the /bridge slash command that allows remote senders accepted by configuration to execute arbitrary...

vulnerabilityCVEhigh-severityremote-code-executioncwe-78
/SCW Vulnerability Desk /HIGH /8.8 /⚑ 3 IOCs /⚙ 3 Sigma

CVE-2026-7503: Remote Buffer Overflow in code-projects Plugin

CVE-2026-7503 — A vulnerability was detected in code-projects for Plugin 4.1.2cu.5137. The impacted element is the function setWiFiMultipleConfig in the library /lib/cste_modules/wireless.so of the file...

vulnerabilityCVEhigh-severitybuffer-overflowcwe-119cwe-120
/SCW Vulnerability Desk /HIGH /8.8 /⚑ 4 IOCs /⚙ 3 Sigma

CVE-2026-7502 — LinkStackOrg LinkStack Vulnerability

CVE-2026-7502 — A security vulnerability has been detected in LinkStackOrg LinkStack up to 4.8.6. The affected element is the function saveLink of the file app/Http/Controllers/UserController.php...

vulnerabilityCVEmedium-severitycwe-285cwe-639
/SCW Vulnerability Desk /MEDIUM /5.4 /⚑ 3 IOCs /⚙ 2 Sigma