CVE-2026-49418
Analyzed Analyzed - Analysis Complete

Kernel Use-After-Free in FreeBSD via msync(MS_INVALIDATE)

Vulnerability report for CVE-2026-49418, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-19

Last updated on: 2026-09-01

Assigner: FreeBSD

Description

When msync(MS_INVALIDATE) is called on a mapping of an unmanaged device object, the physical pages in the mapping range are marked invalid but remain in the pager's page list. A subsequent page fault will cause the fault handler to re-insert the page into the object's list. This corrupts the list, and on object destruction the page is freed twice. An unprivileged local user with access to a device that provides memory-mapped I/O can trigger a use-after-free in the kernel, though this is limited to a pool of objects ("fictitious pages") that are never recycled for a different purpose. It may be possible to exploit this to escalate privileges.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-19
Last Modified
2026-09-01
Generated
2026-09-08
AI Q&A
2026-08-19
EPSS Evaluated
2026-09-07
NVD
EUVD

Affected Vendors & Products

Showing 38 associated CPEs
Vendor Product Version / Range
freebsd freebsd 15.0
freebsd freebsd 15.0
freebsd freebsd 14.3
freebsd freebsd 14.3
freebsd freebsd 14.3
freebsd freebsd 14.3
freebsd freebsd 14.3
freebsd freebsd 14.3
freebsd freebsd 14.3
freebsd freebsd 14.3
freebsd freebsd 14.3
freebsd freebsd 15.0
freebsd freebsd 14.4
freebsd freebsd 15.0
freebsd freebsd 14.3
freebsd freebsd 14.4
freebsd freebsd 15.0
freebsd freebsd 14.3
freebsd freebsd 14.3
freebsd freebsd 14.4
freebsd freebsd 14.4
freebsd freebsd 15.0
freebsd freebsd 15.0
freebsd freebsd 14.3
freebsd freebsd 14.3
freebsd freebsd 14.4
freebsd freebsd 14.4
freebsd freebsd 15.0
freebsd freebsd 15.0
freebsd freebsd 14.3
freebsd freebsd 14.4
freebsd freebsd 15.0
freebsd freebsd 15.1
freebsd freebsd 14.4
freebsd freebsd 15.0
freebsd freebsd 15.1
freebsd freebsd 15.1
freebsd freebsd 14.3

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-416 The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This is a use-after-free vulnerability in the FreeBSD kernel's device pager page list. When msync(MS_INVALIDATE) is called on an unmanaged device object's mapping, physical pages are marked invalid but remain in the pager's list. A page fault later reinserts the page, corrupting the list. During object destruction, the page gets freed twice, leading to potential kernel memory corruption.

Detection Guidance

Detection of this vulnerability requires checking if your FreeBSD system is running a vulnerable version. Use the command 'freebsd-version' to check the installed version. If the version is before the patched release dated after June 30, 2026, the system is vulnerable.

Impact Analysis

An unprivileged local user with access to a memory-mapped I/O device could exploit this to trigger a use-after-free in the kernel. This may allow privilege escalation, enabling the attacker to gain higher system privileges than intended.

Compliance Impact

This vulnerability is a kernel-level use-after-free issue in FreeBSD that could allow privilege escalation by an unprivileged local user with access to memory-mapped I/O devices. It does not directly impact data confidentiality or integrity but could enable unauthorized system access, which may lead to violations of compliance requirements that mandate strict access controls and system integrity (e.g., HIPAA for protected health information or GDPR for personal data processing). Exploitation could result in unauthorized modifications to systems handling regulated data.

Mitigation Strategies

Immediately upgrade your FreeBSD system to a patched version released after June 30, 2026. Reboot the system to apply the fix. No workaround is available, so upgrading is the only mitigation.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-49418. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart