CVE-2025-0662
published medium CVSS 3.1 · 4.9Uninitialized kernel memory disclosure via ktrace(2)
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| FreeBSD | — | FreeBSD14.2-RELEASE to < p1 · Other versions: unknown | Affected | Not stated | freebsd |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 4.9 / 10
- Severity
- medium
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| FreeBSD | FreeBSD | 14.2-RELEASE to < p1 (affected · release)Default: unknown | freebsd · cna |
Weaknesses
1- CWE-122 CWE-122 Heap-based Buffer Overflow
References
2Provider assertions
3freebsd · cna
Uninitialized kernel memory disclosure via ktrace(2)
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 62c816ade6c3c0ccc434e4443f2f4b1c11b3c360df39743d7cac294e15522d6a
- Ingested
- 23 Sep 2026, 08:35:30 UTC
- Source record
- Official CVE record