{"answers":{"affected":"2 open source packages ship an affected version, including node-forge. It affects 1 product.","exploited":"There is no known exploitation of CVE-2025-12816 in the wild and no public exploit code.","fix":"Upgrade node-forge to 1.3.2 or later.","what":"CVE-2025-12816 is a high-severity vulnerability in Digital Bazaar forge, published on 25 Nov 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-12816 and fix it if it is affected.\n\nWhat it is: CVE-2025-12816 is a high-severity vulnerability in Digital Bazaar forge, published on 25 Nov 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2025-12816 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- node-forge (npm): affected all versions; fixed in 1.3.2\n- node-forge (npm): affected all versions; fixed in 1.3.2\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-12816/ (Markdown: https://insights.sbomify.com/CVE-2025-12816/index.md)","id":"CVE-2025-12816","markdown":"https://insights.sbomify.com/CVE-2025-12816/index.md","name":"CVE-2025-12816","record":{"aliases":["AZL-71125","CLEANSTART-2026-FR00893","CLEANSTART-2026-UI22412","DEBIAN-CVE-2025-12816","GHSA-5gfm-wpxj-wjgq","MINI-4xpq-g55j-2p2f","MINI-64m3-7j2w-h5qj","MINI-6754-54wj-86rq","MINI-9g36-f3fw-5hhv","MINI-c53p-4vrc-322r","MINI-c6mh-3pv2-j99q","MINI-cm8p-5g4c-4pj6","MINI-fq97-pvjh-92p8","MINI-gg4x-rqjc-rq6j","MINI-h7v8-pj76-49cr","MINI-hqwm-2jmr-p652","MINI-mvfr-fxr4-4p2p","MINI-vr9g-2rpc-q3cw","ROOT-APP-NPM-CVE-2025-12816","UBUNTU-CVE-2025-12816"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"JavaScript cryptography library","requires_auth":"none","summary":"Attackers can bypass cryptographic verifications and security decisions by crafting ASN.1 structures that desynchronize schema validations in node-forge.","user_interaction":"not_required","vuln_class":"security_feature_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"certcc","cpe":[{"product":"forge","vendor":"digitalbazaar"}],"cvss":{"score":8.6,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-436","name":"Interpretation Conflict"}],"description":"An interpretation-conflict (CWE-436) vulnerability in node-forge versions 1.3.1 and earlier enables unauthenticated attackers to craft ASN.1 structures to desynchronize schema validations, yielding a semantic divergence that may bypass downstream cryptographic verifications and security decisions.","ecosystems":["npm"],"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":"CVE-2025-12816","id":"CVE-2025-12816","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"security_feature_bypass","year":"2025"},"n_packages":2,"n_references":5,"next":{"headline":"PostgreSQL CREATE STATISTICS does not check for schema CREATE privilege","id":"CVE-2025-12817"},"packages":[{"ecosystem":"npm","fixed":["1.3.2"],"introduced":["0"],"last_affected":[],"package":"node-forge","purl":null,"source":"GHSA-5gfm-wpxj-wjgq"},{"ecosystem":"npm","fixed":["1.3.2"],"introduced":["0"],"last_affected":[],"package":"node-forge","purl":"pkg:npm/node-forge","source":"GHSA-5gfm-wpxj-wjgq"}],"prev":{"headline":"Missing authorization in Research and Engineering Studio (RES)","id":"CVE-2025-12815"},"products":["forge","node-forge"],"published":"2025-11-25","related":[{"cvss_score":9.8,"headline":"Prototype Pollution","id":"CVE-2020-7720","kev_date_added":null,"published":"2020-09-01"},{"cvss_score":8.7,"headline":"node-forge ASN.1 Unbounded Recursion","id":"CVE-2025-66031","kev_date_added":null,"published":"2025-11-26"},{"cvss_score":7.5,"headline":"Forge has Denial of Service via Infinite Loop in BigInteger.modInverse() with Zero Input","id":"CVE-2026-33891","kev_date_added":null,"published":"2026-03-27"},{"cvss_score":7.5,"headline":"Forge has signature forgery in RSA-PKCS due to ASN.1 extra field","id":"CVE-2026-33894","kev_date_added":null,"published":"2026-03-27"},{"cvss_score":7.5,"headline":"Forge has signature forgery in Ed25519 due to missing S \u003e L check","id":"CVE-2026-33895","kev_date_added":null,"published":"2026-03-27"},{"cvss_score":7.5,"headline":"Improper Verification of Cryptographic Signature in node-forge","id":"CVE-2022-24771","kev_date_added":null,"published":"2022-03-18"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-11-25","vendors":["Digital Bazaar"]},"summary":"Attackers can bypass cryptographic verifications and security decisions by crafting ASN.1 structures that desynchronize schema validations in node-forge.","url":"https://insights.sbomify.com/CVE-2025-12816/"}