{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2026-120667 in the wild and no public exploit code.","exposure":"An affected version is only exploitable if your software calls ASN1_item_i2d, ossl_asn1_enc_restore or d2i_X509_CRL. Many projects that include it are not exposed.","fix":"No fix published yet.","what":"CVE-2026-120667 is a high-severity memory corruption vulnerability in OpenSSL, published on 1 Dec 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-120667 and fix it if it is affected.\n\nWhat it is: CVE-2026-120667 is a high-severity memory corruption vulnerability in OpenSSL, published on 1 Dec 2026. 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-2026-120667 in the wild and no public exploit code.\nExposure: An affected version is only exploitable if your software calls ASN1_item_i2d, ossl_asn1_enc_restore or d2i_X509_CRL. Many projects that include it are not exposed.\n\nAffected product: OpenSSL. 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.\n   If an affected version is present, also search the code for calls to ASN1_item_i2d, ossl_asn1_enc_restore or d2i_X509_CRL and report whether any exist.\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-2026-120667/ (Markdown: https://insights.sbomify.com/CVE-2026-120667/index.md)","id":"CVE-2026-120667","markdown":"https://insights.sbomify.com/CVE-2026-120667/index.md","name":"CVE-2026-120667","record":{"aliases":["DEBIAN-CVE-2026-120667","GHSA-6qvh-54gx-q3g6","UBUNTU-CVE-2026-120667"],"analysis":{"component_type":"library","exploitable_when_present":false,"fix_type":"no_fix_stated","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"cryptography library","requires_auth":"none","requires_specific_call":true,"summary":"Attackers supplying oversized crafted DER CRLs, certificates or CSRs can trigger a heap overflow crashing applications that parse untrusted DER from buffers over 4 GiB.","user_interaction":"not_required","vuln_class":"memory_corruption","vulnerable_functions":["ASN1_item_i2d","ossl_asn1_enc_restore","d2i_X509_CRL"]},"analysis_generated_by":"sbomify/insights-2b-fp8","assigner":"openssl","component":null,"cpe":[],"cvss":{"score":7.5,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"}],"description":"Issue summary: An application that parses a maliciously crafted DER CRL,\ncertificate or CSR from a buffer larger than 4 GiB may trigger a heap buffer\noverflow when OpenSSL re-encodes the item's cached encoding.\n\nImpact summary: An attacker who supplies a crafted CRL, certificate or CSR to\nan application that parses untrusted DER from a buffer larger than 4 GiB\ncauses a heap out-of-bounds write of attacker-controlled data, crashing the\nprocess: Denial of Service.\n\nCWE: CWE-787: Out-of-bounds Write\n\nDescription: ASN1_item_i2d() encodes an item in two passes, sizing the buffer\nfirst and writing it second. For an item with a cached DER encoding,\nossl_asn1_enc_restore() reports that length through an int while copying the\nfull long. A cached encoding longer than INT_MAX is reported truncated, so the\ncaller allocates a small buffer and the second pass copies the whole span into\nit.\n\nThe cache is kept for the signed parts of CRLs, certificates and CSRs. Parsing\na CRL reaches it: d2i_X509_CRL() fingerprints the CRL and re-encodes that\npart, and a CRL inside PKCS#7 or CMS triggers it when the container is parsed.\nCertificates reach it at the first X509_verify() or extension-cache\nfingerprint, CSRs at X509_REQ_verify(). The attacker must supply a DER object\nwhose signed part spans more than 2^32 bytes from a buffer of at least 4 GiB,\non a platform with a 64-bit long. TLS, the HTTP CRL fetch, the BIO, PEM,\ndecoder and store readers cap input below 4 GiB.\n\nThe oversized copy runs off the end of the heap mapping and the process dies.\nNothing is read out of bounds or returned to the attacker, and the fixed\noverrun size leaves no partial overwrite to steer.\n\nFIPS impact: no\nThe affected code is outside the FIPS module boundary.","ecosystems":[],"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":"Heap Buffer Overflow When Re-Encoding Cached ASN.1 Items Above INT_MAX","id":"CVE-2026-120667","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"memory_corruption","year":"2026"},"main_cpe":null,"main_fixed":[],"main_package":null,"n_packages":0,"n_references":3,"n_vendor_status":0,"next":{"headline":"UsersWP \u003c= 1.2.80 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'badge' Shortcode Attribute","id":"CVE-2026-120671"},"nickname":null,"packages":[],"prev":{"headline":"AES-SIV Silently Ignores Additional Authenticated Data Supplied After Plaintext","id":"CVE-2026-120666"},"products":["OpenSSL"],"published":"2026-12-01","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":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","text_fixes":[],"updated":"2026-12-01","vendor_status":[],"vendors":["OpenSSL"]},"summary":"Attackers supplying oversized crafted DER CRLs, certificates or CSRs can trigger a heap overflow crashing applications that parse untrusted DER from buffers over 4 GiB.","url":"https://insights.sbomify.com/CVE-2026-120667/"}