CVE-2025-0662 - CVE House
Back to Database
Status published Unknown CVE-2025-0662

Uninitialized kernel memory disclosure via ktrace(2)

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

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2025-0662

Credits & Attribution

The following person or organization is credited with identifying this vulnerability, as recorded in the NVD database:

  • Yichen Chai
  • Zhuo Ying Jiang Li

Affected Vendor

Affected Software

FreeBSD
Vulnerable Versions:
14.2-RELEASE

Timeline

Official Publish: January 30th, 2025
Last Modified: February 7th, 2025
Added to House: July 22nd, 2026

CVSS Vectors

No vector data available

Weaknesses (CWE)