{"id":"CVE-2026-34874","aliases":["DEBIAN-CVE-2026-34874","EUVD-2026-18003","GHSA-5jpv-5p2x-4fwv","SUSE-SU-2026:1952-1","SUSE-SU-2026:21440-1","SUSE-SU-2026:21981-1","SUSE-SU-2026:22016-1","UBUNTU-CVE-2026-34874","openSUSE-SU-2026:10498-1","openSUSE-SU-2026:10615-1","openSUSE-SU-2026:20875-1"],"status":"published","title":"An issue was discovered in Mbed TLS through 3.6.5 and 4.x through 4.0.0. There is a NULL pointer...","description":"An issue was discovered in Mbed TLS through 3.6.5 and 4.x through 4.0.0. There is a NULL pointer dereference in distinguished name parsing that allows an attacker to write to address 0.","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"adp","from":"cve"},"epss":{"day":"2026-11-09","score":0.0029,"percentile":0.21677,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-476"],"published":"2026-04-01T00:00:00Z","modified":"2026-10-28T02:31:07Z","fixes":[{"ecosystem":"Debian:13","package":"mbedtls","fixed_in":["3.6.6-0.1~deb13u1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"mbedtls","fixed_in":["3.6.6-0.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"mbedtls","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.28.3-1","2.28.4-1","2.28.5-1","2.28.6-1","2.28.7-1","2.28.7-1.1","2.28.7-1.1~exp1","2.28.8-1","3.6.0-1","3.6.0-2","3.6.0-3","3.6.2-1","3.6.2-2","3.6.2-3","3.6.3-1","3.6.4-1","3.6.4-2","3.6.5-0.1","3.6.5-0.1~deb13u1","3.6.6-0.1","3.6.6-0.1~deb13u1","3.6.7-2","3.6.7-3"]},{"source":"osv","ecosystem":"Debian:13","package":"mbedtls","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.6.6-0.1~deb13u1"}]}],"versions":["3.6.4-2","3.6.5-0.1","3.6.5-0.1~deb13u1"]},{"source":"osv","ecosystem":"Debian:14","package":"mbedtls","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.6.6-0.1"}]}],"versions":["3.6.4-2","3.6.5-0.1","3.6.5-0.1~deb13u1","3.6.6-0.1~deb13u1"]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 16.0","package":"ovmf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"202502-160000.5.1"}]}],"bundled":4},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for SAP applications 16.0","package":"ovmf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"202502-160000.5.1"}]}],"bundled":4},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"mbedtls","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.1.2-1","2.2.0-1","2.2.1-1","2.2.1-2","2.2.1-2ubuntu0.1","2.2.1-2ubuntu0.2","2.2.1-2ubuntu0.3"]},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"mbedtls","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.5.1-1ubuntu1","2.6.0-1","2.7.0-2","2.8.0-1","2.8.0-1ubuntu0.1~esm1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:20.04:LTS","package":"mbedtls","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.16.2-1","2.16.3-1","2.16.4-1ubuntu2","2.16.4-1ubuntu2+esm1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:22.04:LTS","package":"mbedtls","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.16.9-0.1ubuntu1","2.16.11-0.1ubuntu1","2.16.11-0.3","2.28.0-1","2.28.0-1build1","2.28.0-1ubuntu0.1~esm1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:24.04:LTS","package":"mbedtls","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.28.3-1","2.28.6-1ubuntu1","2.28.7-1ubuntu1","2.28.7-1.1ubuntu1","2.28.8-1","2.28.8-1ubuntu0.1~esm1"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"mbedtls","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.6.2-3ubuntu1"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"mbedtls","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.6.5-0.1ubuntu2","3.6.6-0.1ubuntu1","3.6.7-3ubuntu1"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"mbedtls","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.6.2-3ubuntu1","3.6.5-0.1ubuntu1","3.6.5-0.1ubuntu2"]},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"mbedtls","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.6.6-1.1"}]}],"bundled":10},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"ovmf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"202602-9.1"}]}],"bundled":2}],"products":[{"vendor":"trustedfirmware","product":"mbed_tls"}],"references":[{"url":"https://mbed-tls.readthedocs.io/en/latest/security-advisories/","tags":["Vendor Advisory","advisory"]},{"url":"https://mbed-tls.readthedocs.io/en/latest/security-advisories/mbedtls-security-advisory-2026-03-null-pointer-dereference-x509/","tags":["Vendor Advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-34874","tags":["advisory"]},{"url":"https://mbed-tls.readthedocs.io/en/latest/security-advisories"},{"url":"https://mbed-tls.readthedocs.io/en/latest/security-advisories/mbedtls-security-advisory-2026-03-null-pointer-dereference-x509"},{"url":"https://github.com/advisories/GHSA-5jpv-5p2x-4fwv"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/34xxx/CVE-2026-34874.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-34874","tags":["advisory"]},{"url":"https://www.suse.com/support/update/announcement/2026/suse-su-20261952-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1261469","tags":["report"]},{"url":"https://bugzilla.suse.com/1261476","tags":["report"]},{"url":"https://bugzilla.suse.com/1261477","tags":["report"]},{"url":"https://bugzilla.suse.com/1261478","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2026-25833","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2026-25834","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2026-25835","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2026-34874","tags":["web"]},{"url":"https://www.suse.com/support/update/announcement/2026/suse-su-202621440-1/","tags":["advisory"]},{"url":"https://www.suse.com/support/update/announcement/2026/suse-su-202621981-1/","tags":["advisory"]},{"url":"https://www.suse.com/support/update/announcement/2026/suse-su-202622016-1/","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-34874","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-34874","tags":["report"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2026-34871","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2026-34872","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2026-34873","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2026-34875","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2026-34876","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2026-34877","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2026-34874","description":"An issue was discovered in Mbed TLS through 3.6.5 and 4.x through 4.0.0. There is a NULL pointer dereference in distinguished name parsing that allows an attacker to write to address 0.","status":"published","published":"2026-04-01T00:00:00Z","modified":"2026-04-01T19:24:08.049Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"adp"}],"cwes":["CWE-476"],"updated_at":"2026-11-02T14:20:14.302133Z"}],"euvd":[{"id":"EUVD-2026-18003","description":"An issue was discovered in Mbed TLS through 3.6.5 and 4.x through 4.0.0. There is a NULL pointer dereference in distinguished name parsing that allows an attacker to write to address 0.","status":"published","published":"2026-04-01T00:00:00Z","modified":"2026-04-01T19:24:08Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T19:25:23.620594Z"}],"ghsa":[{"id":"GHSA-5jpv-5p2x-4fwv","title":"An issue was discovered in Mbed TLS through 3.6.5 and 4.x through 4.0.0. There is a NULL pointer...","description":"An issue was discovered in Mbed TLS through 3.6.5 and 4.x through 4.0.0. There is a NULL pointer dereference in distinguished name parsing that allows an attacker to write to address 0.","status":"published","published":"2026-04-01T21:30:30Z","modified":"2026-04-01T21:30:38Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-476"],"updated_at":"2026-11-02T15:07:04.885246Z"}],"nvd":[{"id":"CVE-2026-34874","description":"An issue was discovered in Mbed TLS through 3.6.5 and 4.x through 4.0.0. There is a NULL pointer dereference in distinguished name parsing that allows an attacker to write to address 0.","status":"published","published":"2026-04-01T19:16:33.39Z","modified":"2026-06-17T10:39:46.363Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"secondary"}],"cwes":["CWE-476"],"updated_at":"2026-11-02T14:12:12.73929Z"}],"osv":[{"id":"CVE-2026-34874","description":"An issue was discovered in Mbed TLS through 3.6.5 and 4.x through 4.0.0. There is a NULL pointer dereference in distinguished name parsing that allows an attacker to write to address 0.","status":"published","published":"2026-04-01T00:00:00Z","modified":"2026-10-28T02:31:07.40574933Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:02.673625Z"},{"id":"DEBIAN-CVE-2026-34874","description":"An issue was discovered in Mbed TLS through 3.6.5 and 4.x through 4.0.0. There is a NULL pointer dereference in distinguished name parsing that allows an attacker to write to address 0.","status":"published","published":"2026-04-01T19:16:33.39Z","modified":"2026-10-01T03:03:10.747350026Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:54.587575Z"},{"id":"UBUNTU-CVE-2026-34874","description":"An issue was discovered in Mbed TLS through 3.6.5 and 4.x through 4.0.0. There is a NULL pointer dereference in distinguished name parsing that allows an attacker to write to address 0.","status":"published","published":"2026-04-01T19:16:00Z","modified":"2026-10-17T12:58:11.897009116Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T16:56:16.036833Z"},{"id":"openSUSE-SU-2026:10498-1","title":"libeverest-3.6.6-1.1 on GA media","description":"These are all security issues fixed in the libeverest-3.6.6-1.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2026-04-07T00:00:00Z","modified":"2026-04-08T07:50:16.855666Z","updated_at":"2026-11-02T16:58:38.415593Z"},{"id":"openSUSE-SU-2026:10615-1","title":"ovmf-202602-9.1 on GA media","description":"These are all security issues fixed in the ovmf-202602-9.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2026-04-25T00:00:00Z","modified":"2026-04-26T09:45:18.59664Z","updated_at":"2026-11-02T16:58:38.415593Z"},{"id":"openSUSE-SU-2026:20875-1","title":"Security update for ovmf","description":"This update for ovmf fixes the following issues:\n\n- CVE-2026-25833: mbedtls: buffer overflow in the `x509_inet_pton_ipv6()` function (bsc#1261476).\n- CVE-2026-25834: mbedtls: client accepts signature algorithm chosen by server even if not advertised in client hello\n  (bsc#1261477).\n- CVE-2026-25835: mbedtls: no pseudo-random number generator reseed when cloning an application (bsc#1261478).\n- CVE-2026-34874: mbedtls: NULL pointer dereference in distinguished name parsing (bsc#1261469).\n","status":"published","published":"2026-06-02T09:29:38Z","modified":"2026-06-04T09:00:10.048054471Z","updated_at":"2026-11-02T16:58:41.885092Z"},{"id":"SUSE-SU-2026:1952-1","title":"Security update for ovmf","description":"This update for ovmf fixes the following issues\n\n- CVE-2026-25833: mbedtls: buffer underflow in x509_inet_pton_ipv6() (bsc#1261476).\n- CVE-2026-25834: mbedtls: Algorithm downgrade vulnerability (bsc#1261477).\n- CVE-2026-25835: mbedtls: PSA random generator cloning (bsc#1261478).\n- CVE-2026-34874: mbedtls: NULL pointer dereference when setting a distinguished name (bsc#1261469).\n\nChanges for ovmf:\n\n- Update mbedtls to 3.6.6.\n","status":"published","published":"2026-05-18T07:52:55Z","modified":"2026-05-19T08:45:09.132612186Z","updated_at":"2026-11-02T15:54:01.610851Z"},{"id":"SUSE-SU-2026:21440-1","title":"Security update for ovmf","description":"This update for ovmf fixes the following issues:\n\n- CVE-2026-25833: mbedtls: buffer overflow in the `x509_inet_pton_ipv6()` function (bsc#1261476).\n- CVE-2026-25834: mbedtls: client accepts signature algorithm chosen by server even if not advertised in client hello\n  (bsc#1261477).\n- CVE-2026-25835: mbedtls: no pseudo-random number generator reseed when cloning an application (bsc#1261478).\n- CVE-2026-34874: mbedtls: NULL pointer dereference in distinguished name parsing (bsc#1261469).\n","status":"published","published":"2026-04-24T13:08:28Z","modified":"2026-05-05T18:23:54.603701Z","updated_at":"2026-11-02T15:54:02.312556Z"},{"id":"SUSE-SU-2026:21981-1","title":"Security update for ovmf","description":"This update for ovmf fixes the following issues:\n\n- CVE-2026-25833: mbedtls: buffer overflow in the `x509_inet_pton_ipv6()` function (bsc#1261476).\n- CVE-2026-25834: mbedtls: client accepts signature algorithm chosen by server even if not advertised in client hello\n  (bsc#1261477).\n- CVE-2026-25835: mbedtls: no pseudo-random number generator reseed when cloning an application (bsc#1261478).\n- CVE-2026-34874: mbedtls: NULL pointer dereference in distinguished name parsing (bsc#1261469).\n","status":"published","published":"2026-06-02T09:29:38Z","modified":"2026-06-04T09:00:07.236788331Z","updated_at":"2026-11-02T15:54:02.654057Z"},{"id":"SUSE-SU-2026:22016-1","title":"Security update for ovmf","description":"This update for ovmf fixes the following issues:\n\n- CVE-2026-25833: mbedtls: buffer overflow in the `x509_inet_pton_ipv6()` function (bsc#1261476).\n- CVE-2026-25834: mbedtls: client accepts signature algorithm chosen by server even if not advertised in client hello\n  (bsc#1261477).\n- CVE-2026-25835: mbedtls: no pseudo-random number generator reseed when cloning an application (bsc#1261478).\n- CVE-2026-34874: mbedtls: NULL pointer dereference in distinguished name parsing (bsc#1261469).\n","status":"published","published":"2026-06-02T09:33:25Z","modified":"2026-06-09T18:24:27.804362044Z","updated_at":"2026-11-02T15:54:02.654057Z"}]}}
