{"id":"CVE-2025-40914","aliases":["AZL-63927","DEBIAN-CVE-2025-40914","EUVD-2025-18120","GHSA-j3xv-6967-cv88","UBUNTU-CVE-2025-40914","USN-8128-1","openSUSE-SU-2025:15259-1"],"status":"published","title":"Perl CryptX before version 0.087 contains a dependency that may be susceptible to an integer overflow","description":"Perl CryptX before version 0.087 contains a dependency that may be susceptible to an integer overflow.\n\nCryptX embeds a version of the libtommath library that is susceptible to an integer overflow associated with CVE-2023-36328.","severity":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"adp","from":"cve"},"epss":{"day":"2026-11-10","score":0.00562,"percentile":0.47054,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-1395"],"published":"2025-06-11T14:06:53Z","modified":"2026-11-05T05:36:30Z","fixes":[{"ecosystem":"Debian:14","package":"libcryptx-perl","fixed_in":["0.087-1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:18.04:LTS","package":"libcryptx-perl","fixed_in":["0.056-1ubuntu0.1~esm1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:20.04:LTS","package":"libcryptx-perl","fixed_in":["0.067-1ubuntu0.1~esm1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:22.04:LTS","package":"libcryptx-perl","fixed_in":["0.076-1ubuntu0.1~esm1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:24.04:LTS","package":"libcryptx-perl","fixed_in":["0.080-2ubuntu0.1~esm1"],"sources":["osv"]},{"ecosystem":"openSUSE:Tumbleweed","package":"perl-CryptX","fixed_in":["0.87.0-1.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Azure Linux:3","package":"samba","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"4.18.3-2"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"libcryptx-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.077-1","0.078-1","0.080-1","0.080-2","0.081-1","0.081-2","0.082-1","0.082.001-1","0.084-1","0.085-1","0.087-1","0.087-2","0.088-1","0.089-1","0.090-1","0.090-1~bpo13+1","0.091-1"]},{"source":"osv","ecosystem":"Debian:13","package":"libcryptx-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.085-1","0.085-1+deb13u1","0.087-1","0.087-2","0.088-1","0.089-1","0.090-1","0.090-1~bpo13+1","0.091-1"]},{"source":"osv","ecosystem":"Debian:14","package":"libcryptx-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.087-1"}]}],"versions":["0.085-1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"libcryptx-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.056-1ubuntu0.1~esm1"}]}],"versions":["0.055-1","0.056-1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:20.04:LTS","package":"libcryptx-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.067-1ubuntu0.1~esm1"}]}],"versions":["0.064-1","0.064-1build1","0.066-1","0.067-1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:22.04:LTS","package":"libcryptx-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.076-1ubuntu0.1~esm1"}]}],"versions":["0.069-1build1","0.073-1","0.074-1","0.075-1","0.076-1","0.076-1build1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:24.04:LTS","package":"libcryptx-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.080-2ubuntu0.1~esm1"}]}],"versions":["0.078-1","0.080-1","0.080-2","0.080-2build1","0.080-2build2","0.080-2build3"]},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"libcryptx-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.056-1ubuntu0.1~esm1"}]}],"versions":["0.055-1","0.056-1"],"bundled":3},{"source":"osv","ecosystem":"Ubuntu:Pro:20.04:LTS","package":"libcryptx-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.067-1ubuntu0.1~esm1"}]}],"versions":["0.064-1","0.064-1build1","0.066-1","0.067-1"],"bundled":3},{"source":"osv","ecosystem":"Ubuntu:Pro:22.04:LTS","package":"libcryptx-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.076-1ubuntu0.1~esm1"}]}],"versions":["0.069-1build1","0.073-1","0.074-1","0.075-1","0.076-1","0.076-1build1"],"bundled":3},{"source":"osv","ecosystem":"Ubuntu:Pro:24.04:LTS","package":"libcryptx-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.080-2ubuntu0.1~esm1"}]}],"versions":["0.078-1","0.080-1","0.080-2","0.080-2build1","0.080-2build2","0.080-2build3"],"bundled":3},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"perl-CryptX","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.87.0-1.1"}]}]}],"products":[{"vendor":"mik","product":"cryptx"}],"references":[{"url":"https://www.cve.org/CVERecord?id=CVE-2023-36328","tags":["web","report"]},{"url":"https://github.com/libtom/libtommath/pull/546","tags":["fix","report"]},{"url":"https://github.com/advisories/GHSA-j3xv-6967-cv88","tags":["advisory","report"]},{"url":"https://metacpan.org/release/MIK/CryptX-0.086/source/src/ltm/bn_mp_grow.c","tags":["web","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-40914","tags":["web","advisory"]},{"url":"https://cpan.org/modules","tags":["web"]},{"url":"https://metacpan.org/release/ATRODO/Net-Dropbear-0.16/source/dropbear/libtommath/bn_mp_grow.c","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40913.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-40913","tags":["advisory"]},{"url":"https://github.com/atrodo/Net-Dropbear","tags":["package"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40914.json","tags":["advisory"]},{"url":"https://github.com/DCIT/perl-CryptX","tags":["package"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2025-40914","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2025-40914","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-40914","tags":["report"]},{"url":"https://lists.security.metacpan.org/cve-announce/msg/30332012/","tags":["report"]},{"url":"https://github.com/DCIT/perl-CryptX/security/advisories/GHSA-6fh3-7qjq-8v22","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-8128-1","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2018-25099","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2025-40912","tags":["report"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2025-40914","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2025-40914","title":"Perl CryptX before version 0.087 contains a dependency that may be susceptible to an integer overflow","description":"Perl CryptX before version 0.087 contains a dependency that may be susceptible to an integer overflow.\n\nCryptX embeds a version of the libtommath library that is susceptible to an integer overflow associated with CVE-2023-36328.","status":"published","published":"2025-06-11T14:06:53.418Z","modified":"2025-06-11T14:43:31.248Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"adp"}],"cwes":["CWE-1395"],"updated_at":"2026-11-02T14:32:34.434755Z"}],"euvd":[{"id":"EUVD-2025-18120","description":"Perl CryptX before version 0.087 contains a dependency that may be susceptible to an integer overflow.\n\nCryptX embeds a version of the libtommath library that is susceptible to an integer overflow associated with CVE-2023-36328.","status":"published","published":"2025-06-11T14:06:53Z","modified":"2025-06-11T14:43:31Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T20:32:25.854616Z"}],"nvd":[{"id":"CVE-2025-40914","description":"Perl CryptX before version 0.087 contains a dependency that may be susceptible to an integer overflow.\n\nCryptX embeds a version of the libtommath library that is susceptible to an integer overflow associated with CVE-2023-36328.","status":"published","published":"2025-06-11T14:15:34.007Z","modified":"2026-06-17T09:22:17.107Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"secondary"}],"updated_at":"2026-11-02T14:11:11.789448Z"}],"osv":[{"id":"CVE-2025-40913","title":"Net::Dropbear versions through 0.16 for Perl contains a dependency that may be susceptible to an integer overflow","description":"Net::Dropbear versions through 0.16 for Perl contains a dependency that may be susceptible to an integer overflow.\n\nNet::Dropbear embeds a version of the libtommath library that is susceptible to an integer overflow associated with CVE-2023-36328.","status":"published","published":"2025-07-16T14:05:33.899Z","modified":"2026-10-28T02:30:30.333635807Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-1395"],"updated_at":"2026-11-02T15:44:49.394967Z"},{"id":"CVE-2025-40914","title":"Perl CryptX before version 0.087 contains a dependency that may be susceptible to an integer overflow","description":"Perl CryptX before version 0.087 contains a dependency that may be susceptible to an integer overflow.\n\nCryptX embeds a version of the libtommath library that is susceptible to an integer overflow associated with CVE-2023-36328.","status":"published","published":"2025-06-11T14:06:53.418Z","modified":"2026-10-28T02:31:07.506059508Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-1395"],"updated_at":"2026-11-02T15:44:49.394967Z"},{"id":"DEBIAN-CVE-2025-40914","description":"Perl CryptX before version 0.087 contains a dependency that may be susceptible to an integer overflow.  CryptX embeds a version of the libtommath library that is susceptible to an integer overflow associated with CVE-2023-36328.","status":"published","published":"2025-06-11T14:15:34.007Z","modified":"2026-09-01T20:05:52.183984752Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:45:46.998514Z"},{"id":"UBUNTU-CVE-2025-40914","description":"Perl CryptX before version 0.087 contains a dependency that may be susceptible to an integer overflow. CryptX embeds a version of the libtommath library that is susceptible to an integer overflow associated with CVE-2023-36328.","status":"published","published":"2025-06-11T14:15:00Z","modified":"2026-03-27T17:10:05.000017Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T16:55:46.53147Z"},{"id":"AZL-63927","title":"CVE-2025-40914 affecting package samba 4.18.3-2","description":"Perl CryptX before version 0.087 contains a dependency that may be susceptible to an integer overflow.\n\nCryptX embeds a version of the libtommath library that is susceptible to an integer overflow associated with CVE-2023-36328.","status":"published","published":"2025-06-11T14:15:34Z","modified":"2026-11-05T05:36:30Z","updated_at":"2026-11-05T16:41:21.518778Z"},{"id":"openSUSE-SU-2025:15259-1","title":"perl-CryptX-0.87.0-1.1 on GA media","description":"These are all security issues fixed in the perl-CryptX-0.87.0-1.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2025-07-03T00:00:00Z","modified":"2026-03-23T04:53:33.582328Z","updated_at":"2026-11-02T16:58:37.399567Z"},{"id":"USN-8128-1","title":"libcryptx-perl vulnerabilities","description":"It was discovered that CryptX did not verify authentication tags while\nperforming GCM and ChaCha20-Poly1305 decryption. An attacker could possibly\nuse this issue to cause CryptX to accept modified ciphertext, leading to\ndata integrity violations or authentication bypass. This issue only\naffected Ubuntu 18.04 LTS. (CVE-2018-25099)\n\nIt was discovered that CryptX included a version of the tomcrypt library\nthat was susceptible to malformed unicode handling. An attacker could\npossibly use this issue to cause unexpected behavior or incorrect\nprocessing of crafted input. This issue only affected Ubuntu 18.04 LTS.\n(CVE-2025-40912)\n\nIt was discovered that CryptX included a version of the libtommath library\nthat was susceptible to an integer overflow. An attacker could possibly use\nthis issue to cause memory corruption or a denial of service.\n(CVE-2025-40914)","status":"published","published":"2026-03-26T15:54:44Z","modified":"2026-04-27T18:47:24.323283136Z","updated_at":"2026-11-02T16:58:22.951676Z"}]}}
