CVE-2025-0662

Medium

Description

In some cases, the ktrace facility will log the contents of kernel structures to userspace. In one such case, ktrace dumps a variable-sized sockaddr to userspace. There, the full sockaddr is copied, even when it is shorter than the full size. This can result in up to 14 uninitialized bytes of kernel memory being copied out to userspace. It is possible for an unprivileged userspace program to leak 14 bytes of a kernel heap allocation to userspace.

SeverityMedium
CVSS4.9
Exploit probability—
ProductFreeBSD
PublishedJan 30, 2025
First seenJan 30, 2025
Weakness typeCWE-122CWE-122

How to fix

Update
  • FreeBSD FreeBSDp1 or later

Affected products

ProductAffected versionsFixed in
FreeBSD FreeBSD14.2-RELEASE ≤ v < p1p1

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.