{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2025-0662 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2025-0662 yet. Limit exposure of the affected software until one is available.","what":"CVE-2025-0662 is a medium-severity vulnerability in FreeBSD, published on 30 Jan 2025. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-0662 and fix it if it is affected.\n\nWhat it is: CVE-2025-0662 is a medium-severity vulnerability in FreeBSD, published on 30 Jan 2025. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2025-0662 in the wild and no public exploit code.\n\nAffected product: FreeBSD. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-0662/ (Markdown: https://insights.sbomify.com/CVE-2025-0662/index.md)","id":"CVE-2025-0662","markdown":"https://insights.sbomify.com/CVE-2025-0662/index.md","name":"CVE-2025-0662","record":{"aliases":["GHSA-942x-h2h3-8wxm"],"analysis":{"component_type":"operating_system","fix_type":"patch","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"FreeBSD kernel","requires_auth":"high_privilege","summary":"An unprivileged user can leak up to 14 bytes of uninitialized kernel memory via the ktrace facility, potentially exposing sensitive kernel data.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"freebsd","cpe":[],"cvss":{"score":4.9,"severity":"medium","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-122","name":"Heap-based Buffer Overflow"}],"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.\n\nIt is possible for an unprivileged userspace program to leak 14 bytes of a kernel heap allocation to userspace.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":null,"headline":"Uninitialized kernel memory disclosure via ktrace(2)","id":"CVE-2025-0662","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"information_disclosure","year":"2025"},"n_packages":0,"n_references":1,"next":{"headline":"Auth bypass in WSO2 Identity Server","id":"CVE-2025-0663"},"packages":[],"prev":{"headline":"DethemeKit For Elementor \u003c= 2.1.8 - Authenticated (Contributor+) Protected Post Disclosure","id":"CVE-2025-0661"},"products":["FreeBSD"],"published":"2025-01-30","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-02-07","vendors":["FreeBSD"]},"summary":"An unprivileged user can leak up to 14 bytes of uninitialized kernel memory via the ktrace facility, potentially exposing sensitive kernel data.","url":"https://insights.sbomify.com/CVE-2025-0662/"}