# CVE-2026-23409: apparmor: fix differential encoding verification

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.17% (percentile 4, 2026-11-26)
- **CWE:** CWE-835
- **Published:** 2026-04-01T08:36:38.516Z
- **Modified:** 2026-06-17T10:21:31.613Z

## Who should check

- Anyone running Linux \>= 031dcc8f4e84fea37dc6f78fdc7288aa7f8386c3, \< ff7c73744fafe944ed9a7b2b7cf6c8d5557a3d84; \>= 031dcc8f4e84fea37dc6f78fdc7288aa7f8386c3, \< 1439150cd3c411228b387ab5efca92199d2a659a; \>= 031dcc8f4e84fea37dc6f78fdc7288aa7f8386c3, \< 0fab44285445e9012674396d5c1236a67da518e0; \>= 031dcc8f4e84fea37dc6f78fdc7288aa7f8386c3, \< f90e3ecd9e1ed69f1a370f866ceed1f104f3ab4a; \>= 031dcc8f4e84fea37dc6f78fdc7288aa7f8386c3, \< 34fc60b125ed1d4eb002c76b0664bf0619492167; \>= 031dcc8f4e84fea37dc6f78fdc7288aa7f8386c3, \< 623a9d211bbbb031bb1cbdb38b23487648167f8a; \>= 031dcc8f4e84fea37dc6f78fdc7288aa7f8386c3, \< 1ff4857fac56ac5a90ee63b24db05fa5e91a45aa; \>= 031dcc8f4e84fea37dc6f78fdc7288aa7f8386c3, \< 39440b137546a3aa383cfdabc605fb73811b6093
- Anyone running Linux 4.17

## Description

In the Linux kernel, the following vulnerability has been resolved:

apparmor: fix differential encoding verification

Differential encoding allows loops to be created if it is abused. To
prevent this the unpack should verify that a diff-encode chain
terminates.

Unfortunately the differential encode verification had two bugs.

1. it conflated states that had gone through check and already been
   marked, with states that were currently being checked and marked.
   This means that loops in the current chain being verified are treated
   as a chain that has already been verified.

2. the order bailout on already checked states compared current chain
   check iterators j,k instead of using the outer loop iterator i.
   Meaning a step backwards in states in the current chain verification
   was being mistaken for moving to an already verified state.

Move to a double mark scheme where already verified states get a
different mark, than the current chain being kept. This enables us
to also drop the backwards verification check that was the cause of
the second error as any already verified state is already marked.

## Affected and fixed versions

- Linux: \>= 031dcc8f4e84fea37dc6f78fdc7288aa7f8386c3, \< ff7c73744fafe944ed9a7b2b7cf6c8d5557a3d84; \>= 031dcc8f4e84fea37dc6f78fdc7288aa7f8386c3, \< 1439150cd3c411228b387ab5efca92199d2a659a; \>= 031dcc8f4e84fea37dc6f78fdc7288aa7f8386c3, \< 0fab44285445e9012674396d5c1236a67da518e0; \>= 031dcc8f4e84fea37dc6f78fdc7288aa7f8386c3, \< f90e3ecd9e1ed69f1a370f866ceed1f104f3ab4a; \>= 031dcc8f4e84fea37dc6f78fdc7288aa7f8386c3, \< 34fc60b125ed1d4eb002c76b0664bf0619492167; \>= 031dcc8f4e84fea37dc6f78fdc7288aa7f8386c3, \< 623a9d211bbbb031bb1cbdb38b23487648167f8a; \>= 031dcc8f4e84fea37dc6f78fdc7288aa7f8386c3, \< 1ff4857fac56ac5a90ee63b24db05fa5e91a45aa; \>= 031dcc8f4e84fea37dc6f78fdc7288aa7f8386c3, \< 39440b137546a3aa383cfdabc605fb73811b6093 (cvelist)
- Linux: 4.17 (cvelist)

## Mitigation

- Upgrade Linux to 39440b137546a3aa383cfdabc605fb73811b6093 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-23409. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-23409.md
Affected: Linux >= 031dcc8f4e84fea37dc6f78fdc7288aa7f8386c3, < ff7c73744fafe944ed9a7b2b7cf6c8d5557a3d84; >= 031dcc8f4e84fea37dc6f78fdc7288aa7f8386c3, < 1439150cd3c411228b387ab5efca92199d2a659a; >= 031dcc8f4e84fea37dc6f78fdc7288aa7f8386c3, < 0fab44285445e9012674396d5c1236a67da518e0; >= 031dcc8f4e84fea37dc6f78…
Fixed in: Linux 1439150cd3c411228b387ab5efca92199d2a659a, Linux 0fab44285445e9012674396d5c1236a67da518e0, Linux 34fc60b125ed1d4eb002c76b0664bf0619492167, Linux 623a9d211bbbb031bb1cbdb38b23487648167f8a, Linux 1ff4857fac56ac5a90ee63b24db05fa5e91a45aa, Linux 39440b137546a3aa383cfdabc605fb73811b6093

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-23409 being exploited?

There is no confirmed exploitation: CVE-2026-23409 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.17% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-23409?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-23409?

Linux \>= 031dcc8f4e84fea37dc6f78fdc7288aa7f8386c3, \< ff7c73744fafe944ed9a7b2b7cf6c8d5557a3d84; \>= 031dcc8f4e84fea37dc6f78fdc7288aa7f8386c3, \< 1439150cd3c411228b387ab5efca92199d2a659a; \>= 031dcc8f4e84fea37dc6f78fdc7288aa7f8386c3, \< 0fab44285445e9012674396d5c1236a67da518e0; \>= 031dcc8f4e84fea37dc6f78fdc7288aa7f8386c3, \< f90e3ecd9e1ed69f1a370f866ceed1f104f3ab4a; \>= 031dcc8f4e84fea37dc6f78fdc7288aa7f8386c3, \< 34fc60b125ed1d4eb002c76b0664bf0619492167; \>= 031dcc8f4e84fea37dc6f78fdc7288aa7f8386c3, \< 623a9d211bbbb031bb1cbdb38b23487648167f8a; \>= 031dcc8f4e84fea37dc6f78fdc7288aa7f8386c3, \< 1ff4857fac56ac5a90ee63b24db05fa5e91a45aa; \>= 031dcc8f4e84fea37dc6f78fdc7288aa7f8386c3, \< 39440b137546a3aa383cfdabc605fb73811b6093; Linux 4.17.

### Is there a fix for CVE-2026-23409?

Yes. Fixed in Linux 1439150cd3c411228b387ab5efca92199d2a659a, Linux 0fab44285445e9012674396d5c1236a67da518e0, Linux 34fc60b125ed1d4eb002c76b0664bf0619492167, Linux 623a9d211bbbb031bb1cbdb38b23487648167f8a, Linux 1ff4857fac56ac5a90ee63b24db05fa5e91a45aa, Linux 39440b137546a3aa383cfdabc605fb73811b6093. Upgrade Linux to 39440b137546a3aa383cfdabc605fb73811b6093 or later.

### How do I check if I'm affected by CVE-2026-23409?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/ff7c73744fafe944ed9a7b2b7cf6c8d5557a3d84>
- patch: <https://git.kernel.org/stable/c/1439150cd3c411228b387ab5efca92199d2a659a>
- patch: <https://git.kernel.org/stable/c/0fab44285445e9012674396d5c1236a67da518e0>
- patch: <https://git.kernel.org/stable/c/f90e3ecd9e1ed69f1a370f866ceed1f104f3ab4a>
- patch: <https://git.kernel.org/stable/c/34fc60b125ed1d4eb002c76b0664bf0619492167>
- patch: <https://git.kernel.org/stable/c/623a9d211bbbb031bb1cbdb38b23487648167f8a>
- patch: <https://git.kernel.org/stable/c/1ff4857fac56ac5a90ee63b24db05fa5e91a45aa>
- patch: <https://git.kernel.org/stable/c/39440b137546a3aa383cfdabc605fb73811b6093>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-23409>

HTML: <https://flawdb.com/CVE-2026-23409> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-23409>
