{"id":"CVE-2025-68724","aliases":["CVE-2025-68724"],"related":[],"kind":"vulnerability","state":"published","title":"crypto: asymmetric_keys - prevent overflow in asymmetric_key_generate_id","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ncrypto: asymmetric_keys - prevent overflow in asymmetric_key_generate_id\n\nUse check_add_overflow() to guard against potential integer overflows\nwhen adding the binary blob lengths and the size of an asymmetric_key_id\nstructure and return ERR_PTR(-EOVERFLOW) accordingly. This prevents a\npossible buffer overflow when copying data from potentially malicious\nX.509 certificate fields that can be arbitrarily large, such as ASN.1\nINTEGER serial numbers, issuer names, etc.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ncrypto: asymmetric_keys - prevent overflow in asymmetric_key_generate_id\n\nUse check_add_overflow() to guard against potential integer overflows\nwhen adding the binary blob lengths and the size of an asymmetric_key_id\nstructure and return ERR_PTR(-EOVERFLOW) accordingly. This prevents a\npossible buffer overflow when copying data from potentially malicious\nX.509 certificate fields that can be arbitrarily large, such as ASN.1\nINTEGER serial numbers, issuer names, etc.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\ncrypto: asymmetric_keys - prevenir desbordamiento en asymmetric_key_generate_id\n\nUsar check_add_overflow() para protegerse contra posibles desbordamientos de enteros al sumar las longitudes de los blobs binarios y el tamaño de una estructura asymmetric_key_id y devolver ERR_PTR(-EOVERFLOW) en consecuencia. Esto previene un posible desbordamiento de búfer al copiar datos de campos de certificados X.509 potencialmente maliciosos que pueden ser arbitrariamente grandes, como números de serie ASN.1 INTEGER, nombres de emisor, etc.","source":"nvd"}],"published":"2025-12-24T10:33:08.932Z","modified":"2026-11-10T13:17:58.663Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"7901c1a8effbe5f89673bfc09d6e37b8f334f1a7","fixed":"60a7be5ee74408147e439164ac067e418ca74bb4","status":"affected"},{"type":"git","introduced":"7901c1a8effbe5f89673bfc09d6e37b8f334f1a7","fixed":"c13c6e9de91d7f1dd7df756b1fa5a1f968839d76","status":"affected"},{"type":"git","introduced":"7901c1a8effbe5f89673bfc09d6e37b8f334f1a7","fixed":"dfc1613961828745165aec6552c3818fa14ab725","status":"affected"},{"type":"git","introduced":"7901c1a8effbe5f89673bfc09d6e37b8f334f1a7","fixed":"5b8ac617c8dab5cad3c4dc8d84d0987808a0f99c","status":"affected"},{"type":"git","introduced":"7901c1a8effbe5f89673bfc09d6e37b8f334f1a7","fixed":"c73be4f51eed98fa0c7c189db8f279e1c86bfbf7","status":"affected"},{"type":"git","introduced":"7901c1a8effbe5f89673bfc09d6e37b8f334f1a7","fixed":"6af753ac5205115e6c310c8c4236c01b59a1c44f","status":"affected"},{"type":"git","introduced":"7901c1a8effbe5f89673bfc09d6e37b8f334f1a7","fixed":"b7090a5c153105b9fd221a5a81459ee8cd5babd6","status":"affected"},{"type":"git","introduced":"7901c1a8effbe5f89673bfc09d6e37b8f334f1a7","fixed":"df0845cf447ae1556c3440b8b155de0926cbaa56","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.18","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.18","status":"unaffected"},{"type":"semver","introduced":"5.10.248","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.198","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.160","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.120","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.63","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.17.13","lastAffected":"6.17.*","status":"unaffected"},{"type":"semver","introduced":"6.18.2","lastAffected":"6.18.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.19","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/60a7be5ee74408147e439164ac067e418ca74bb4","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c13c6e9de91d7f1dd7df756b1fa5a1f968839d76","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/dfc1613961828745165aec6552c3818fa14ab725","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5b8ac617c8dab5cad3c4dc8d84d0987808a0f99c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c73be4f51eed98fa0c7c189db8f279e1c86bfbf7","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6af753ac5205115e6c310c8c4236c01b59a1c44f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b7090a5c153105b9fd221a5a81459ee8cd5babd6","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/df0845cf447ae1556c3440b8b155de0926cbaa56","tags":[],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-019113.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-457936.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-06-16T19:22:49.497Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-68724","url":"https://www.cve.org/CVERecord?id=CVE-2025-68724","licence":"CVE Terms of Use","modified":"2026-11-10T12:38:16.189Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-68724","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-68724","licence":"Public domain","modified":"2026-11-10T13:17:58.663Z"}],"updatedAt":"2026-11-25T22:59:09.876Z","epss":{"score":0.00174,"percentile":0.07137,"date":"2026-12-01T12:00:22.000Z"}}