{"answers":{"affected":"2 open source packages ship an affected version, including golang and stdlib.","exploited":"There is no known exploitation of CVE-2025-22866 in the wild and no public exploit code.","fix":"Upgrade golang to a fixed version for your release line: 1.22.12, 1.23.6 or 1.24.0.","what":"CVE-2025-22866 is a medium-severity vulnerability in Go standard library crypto/internal/nistec, published on 6 Feb 2025. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-22866 and fix it if it is affected.\n\nWhat it is: CVE-2025-22866 is a medium-severity vulnerability in Go standard library crypto/internal/nistec, published on 6 Feb 2025. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2025-22866 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- golang (Bitnami): affected all versions; fixed in 1.22.12, 1.23.6, 1.24.0\n- stdlib (Go): affected all versions; fixed in 1.22.12, 1.23.6, 1.24.0-rc.3\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-22866/ (Markdown: https://insights.sbomify.com/CVE-2025-22866/index.md)","id":"CVE-2025-22866","markdown":"https://insights.sbomify.com/CVE-2025-22866/index.md","name":"CVE-2025-22866","record":{"aliases":["BIT-golang-2025-22866","CLEANSTART-2026-JE88659","CLEANSTART-2026-PR48367","DEBIAN-CVE-2025-22866","ECHO-2ad3-2ee4-a992","GHSA-3whm-j4xm-rv8x","GO-2025-3447","MGASA-2025-0065","MINI-2qgc-4fwc-8r9q","MINI-3gv2-jgcj-2895","MINI-44pr-wwvj-3gh7","MINI-5w58-7r87-cqcc","MINI-6p6j-prf2-mmpw","MINI-73j4-jjh5-fv8h","MINI-7q43-2h4q-7q59","MINI-87h2-rp59-gwr7","MINI-8qh8-jhq2-fc4v","MINI-c63c-82gc-hhpc","MINI-fhh9-ffp3-m575","MINI-hg5v-4wqc-7m67","MINI-j2gp-vmm9-g8r3","MINI-jc38-jxqg-2gc3","MINI-pggv-5j2f-v8jf","MINI-v6wv-2pxm-97pq","MINI-v7hv-hgvp-3w4w","MINI-vm6q-4grm-6hjc","MINI-vwxw-wcjc-8jwf","MINI-w887-c9h5-mh62","MINI-x2g7-37cp-6m4m","ROOT-OS-DEBIAN-12-CVE-2025-22866","SUSE-SU-2025:0392-1","SUSE-SU-2025:0393-1","UBUNTU-CVE-2025-22866","openSUSE-SU-2025:14745-1","openSUSE-SU-2025:14746-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Go standard library","requires_auth":"none","summary":"Timing side-channel in Go's P-256 implementation on ppc64le leaks secret scalar bits, potentially exposing partial private key information.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Go","cpe":[],"cvss":{"score":4,"severity":"medium","source":"cisa-adp","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","version":"3.1"},"cwes":[],"description":"Due to the usage of a variable time instruction in the assembly implementation of an internal function, a small number of bits of secret scalars are leaked on the ppc64le architecture. Due to the way this function is used, we do not believe this leakage is enough to allow recovery of the private key when P-256 is used in any well known protocols.","ecosystems":["Bitnami","Go","SUSE:Linux Enterprise Module for Development Tools 15 SP6","openSUSE:Leap 15.6","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Timing sidechannel for P-256 on ppc64le in crypto/internal/nistec","id":"CVE-2025-22866","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":null,"products":[],"type":"information_disclosure","year":"2025"},"n_packages":8,"n_references":4,"next":{"headline":"Arbitrary code execution during build on darwin in cmd/go","id":"CVE-2025-22867"},"packages":[{"ecosystem":"Bitnami","fixed":["1.22.12","1.23.6","1.24.0"],"introduced":["0","1.23.0-0","1.24.0-0"],"last_affected":[],"package":"golang","purl":"pkg:bitnami/golang","source":"BIT-golang-2025-22866"},{"ecosystem":"Go","fixed":["1.22.12","1.23.6","1.24.0-rc.3"],"introduced":["0","1.23.0-0","1.24.0-0"],"last_affected":[],"package":"stdlib","purl":"pkg:golang/stdlib","source":"GO-2025-3447"},{"ecosystem":"SUSE:Linux Enterprise Module for Development Tools 15 SP6","fixed":["1.22.12-150000.1.42.1"],"introduced":["0"],"last_affected":[],"package":"go1.22","purl":"pkg:rpm/suse/go1.22\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Development%20Tools%2015%20SP6","source":"SUSE-SU-2025:0392-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Development Tools 15 SP6","fixed":["1.23.6-150000.1.21.1"],"introduced":["0"],"last_affected":[],"package":"go1.23","purl":"pkg:rpm/suse/go1.23\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Development%20Tools%2015%20SP6","source":"SUSE-SU-2025:0393-1"},{"ecosystem":"openSUSE:Leap 15.6","fixed":["1.22.12-150000.1.42.1"],"introduced":["0"],"last_affected":[],"package":"go1.22","purl":"pkg:rpm/opensuse/go1.22\u0026distro=openSUSE%20Leap%2015.6","source":"SUSE-SU-2025:0392-1"},{"ecosystem":"openSUSE:Leap 15.6","fixed":["1.23.6-150000.1.21.1"],"introduced":["0"],"last_affected":[],"package":"go1.23","purl":"pkg:rpm/opensuse/go1.23\u0026distro=openSUSE%20Leap%2015.6","source":"SUSE-SU-2025:0393-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["1.22.12-1.1"],"introduced":["0"],"last_affected":[],"package":"go1.22","purl":"pkg:rpm/opensuse/go1.22\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2025:14745-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["1.23.6-1.1"],"introduced":["0"],"last_affected":[],"package":"go1.23","purl":"pkg:rpm/opensuse/go1.23\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2025:14746-1"}],"prev":{"headline":"ParsePKCS1PrivateKey panic with partial keys in crypto/x509","id":"CVE-2025-22865"},"products":["crypto/internal/nistec"],"published":"2025-02-06","related":[],"sources":[{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-02-21","vendors":["Go standard library"]},"summary":"Timing side-channel in Go's P-256 implementation on ppc64le leaks secret scalar bits, potentially exposing partial private key information.","url":"https://insights.sbomify.com/CVE-2025-22866/"}