Skip to main content
Meet us at Black Hat USA 2026— Las Vegas, August 1–6Book a Meeting
Mallory
High

Out-of-bounds read/write in Linux kernel AppArmor verify_dfa()

IdentifiersCVE-2026-23407CWE-129

CVE-2026-23407 is a Linux kernel AppArmor vulnerability in verify_dfa(). The function validated DEFAULT_TABLE bounds only when a DFA state was not differentially encoded. While traversing a differential encoding chain, verify_dfa() read k = DEFAULT_TABLE[j] and then used k as an array index without validating that k was less than state_count. A malformed DFA containing a DEFAULT_TABLE entry greater than or equal to state_count can therefore trigger out-of-bounds memory access during DFA verification and unpacking. The provided KASAN trace shows a slab-out-of-bounds condition in verify_dfa(), reached through aa_dfa_unpack(), unpack_pdb(), aa_unpack(), aa_replace_profiles(), and policy_update() during profile loading/replacement.

Share:
For your environment

Are you exposed to this one?

Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.

ANALYST BRIEF

Impact, mitigation & remediation

What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation can cause both out-of-bounds reads and out-of-bounds writes in kernel memory during AppArmor policy/DFA verification. This can lead to kernel memory corruption, system instability, crashes, and potentially compromise confidentiality, integrity, and availability. Available scoring and advisory context indicate a local attack vector with low privileges and no user interaction required.

Mitigation

If you can’t patch tonight, do this now.

Until patched kernels can be deployed, reduce exposure by restricting who can load or replace AppArmor policy, limiting local low-privilege access on affected systems, and avoiding ingestion of untrusted or malformed AppArmor policy blobs/DFA data. Because exploitation occurs during policy unpacking/verification in kernel space, mitigation is operational only; patching is the definitive fix.

Remediation

Patch, then assume compromise.

Apply a kernel update containing the AppArmor fix for CVE-2026-23407. The upstream remediation is to remove the MATCH_FLAG_DIFF_ENCODE condition and validate all DEFAULT_TABLE entries unconditionally in verify_dfa(). Vendor advisories indicate the issue has been resolved in updated kernel packages; deploy the relevant fixed kernel for the affected distribution and reboot into the patched kernel.
PUBLIC EXPLOITS

Exploits

No public exploits tracked yet. Mallory keeps watching.

VALID 0 / 0 TOTALView more in app

No public exploit code observed for this vulnerability.

EXPOSURE SURFACE

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
LinuxLinux Kerneloperating_system

Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.

ACTIVITY FEED

Recent activity

4 sources tracked across advisories and community write-ups. News coverage will land here when it surfaces.

No news coverage yet. Advisories and community discussion only.

What this page doesn’t show

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, which detections to deploy, and what to do tonight.
Exposure mapping

Query your assets running an affected version, and investigate the blast radius.

Threat actor evidence

Every observed campaign linking this CVE to a named adversary.

Associated malware

Malware families riding this exploit, with evidence and IOCs.

Detection signatures

YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.

Vendor-by-vendor mapping

Cross-references every affected SKU, including bundled OEM variants.

Social activity1

Community discussion across Reddit, Mastodon, and other social sources.