{"id":"CVE-2026-42010","summary":"Gnutls: gnutls: authentication bypass via nul character in username","details":"A flaw was found in gnutls. Servers configured with RSA-PSK (Rivest–Shamir–Adleman – Pre-Shared Key) wrongfully matched usernames containing a NUL character with truncated usernames. A remote attacker could exploit this by sending a specially crafted username, leading to an authentication bypass. This vulnerability allows an attacker to gain unauthorized access by circumventing the authentication process.","modified":"2026-11-21T20:00:14.299227937Z","published":"2026-05-07T12:00:05.433Z","related":["ALSA-2026:20611","ALSA-2026:20612","ALSA-2026:20613","SUSE-SU-2026:2087-1","SUSE-SU-2026:2115-1","SUSE-SU-2026:21752-1","SUSE-SU-2026:21784-1","SUSE-SU-2026:21815-1","SUSE-SU-2026:21867-1","SUSE-SU-2026:2822-1","openSUSE-SU-2026:10691-1","openSUSE-SU-2026:20778-1"],"database_specific":{"cwe_ids":["CWE-170"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42010.json","unresolved_ranges":[{"extracted_events":[{"range":[{"fixed":"0:3.8.10-4.el10_2"},{"fixed":"0:3.8.9-9.el10_0.19"},{"fixed":"0:3.6.16-8.el8_10.6"},{"fixed":"0:3.6.16-8.el8_10.6"},{"fixed":"0:3.6.14-10.el8_4.1"},{"fixed":"0:4.13-3.el8_4.1"},{"fixed":"0:3.6.14-10.el8_4.1"},{"fixed":"0:4.13-3.el8_4.1"},{"fixed":"0:3.6.16-5.el8_6.5"},{"fixed":"0:4.13-3.el8_6.2"},{"fixed":"0:3.6.16-5.el8_6.5"},{"fixed":"0:4.13-3.el8_6.2"},{"fixed":"0:3.6.16-7.el8_8.4"},{"fixed":"0:4.13-4.el8_8.1"},{"fixed":"0:3.6.16-7.el8_8.4"},{"fixed":"0:4.13-4.el8_8.1"},{"fixed":"0:3.8.10-4.el9_8"},{"fixed":"0:3.8.10-4.el9_8"},{"fixed":"0:3.7.6-21.el9_2.7"},{"fixed":"0:3.8.3-4.el9_4.6"},{"fixed":"0:3.8.3-6.el9_6.4"},{"fixed":"412.86.202608241157-0"},{"fixed":"413.92.202609080414-0"},{"fixed":"414.92.202609011250-0"},{"fixed":"415.92.202609140326-0"},{"fixed":"416.94.202608150307-0"},{"fixed":"417.94.202608250221-0"},{"fixed":"418.94.202608142238-0"},{"fixed":"4.19.9.6.202607151909-0"},{"fixed":"4.20.9.6.202607010620-0"},{"fixed":"4.21.9.6.202607011303-0"},{"fixed":"4.22.9.8.202606301732-0"},{"fixed":"1791371080"},{"fixed":"1791371069"},{"fixed":"1791788287"},{"fixed":"1791970484"},{"fixed":"1791459707"},{"fixed":"1791459711"},{"fixed":"1791459759"},{"fixed":"1789029076"},{"fixed":"1791966259"},{"fixed":"1790598593"},{"fixed":"1782951051"},{"fixed":"1782951012"},{"fixed":"1782951244"},{"fixed":"1782159791"},{"fixed":"1782166952"},{"fixed":"3.8.13-1.hum1"},{"fixed":"1790703542"},{"fixed":"1781525684"},{"fixed":"1781525671"},{"fixed":"1781525693"},{"fixed":"1781525739"},{"fixed":"1787241211"},{"fixed":"1787135742"},{"fixed":"1787241260"}],"source":"AFFECTED_FIELD","strategy":"InverseAffectedRanges"}]}],"cna_assigner":"redhat"},"references":[{"type":"WEB","url":"https://access.redhat.com/downloads/content/package-browser/"},{"type":"WEB","url":"https://catalog.redhat.com/software/containers/"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-42010.json"},{"type":"WEB","url":"https://www.gnutls.org/security-new.html#GNUTLS-SA-2026-04-29-4"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:13274"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:20611"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:20612"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:20613"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:26319"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:26409"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:29197"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:30004"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:30849"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:30850"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:32962"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:33125"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:34764"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:34788"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:34790"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:36004"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:36005"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:36006"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:40762"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:41921"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:56853"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:57483"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:58981"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:59831"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:60019"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:62409"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:65839"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:67857"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:72502"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:74674"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:82304"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:82322"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:82347"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:82354"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:82372"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:82857"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:82888"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2026-42010"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42010.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42010"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2467289"},{"type":"PACKAGE","url":"https://gitlab.com/gnutls/gnutls"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/gnutls/gnutls","events":[{"introduced":"5b595e8e52653f6c5726a4cdd8fddeb6e83804d2"},{"fixed":"b390d80208ed60f1b33ad899475951a8efb40ccd"}],"database_specific":{"extracted_events":[{"cpe":"cpe:2.3:a:gnu:gnutls:*:*:*:*:*:*:*:*","range":[{"introduced":"3.6.13"},{"fixed":"3.8.13"}],"source":"CPE_RANGE"}]}},{"type":"GIT","repo":"https://gitlab.com/gnutls/gnutls","events":[{"introduced":"5b595e8e52653f6c5726a4cdd8fddeb6e83804d2"},{"fixed":"b390d80208ed60f1b33ad899475951a8efb40ccd"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"3.6.13"},{"fixed":"3.8.13"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"},{"cpe":"cpe:2.3:a:gnu:gnutls:*:*:*:*:*:*:*:*","range":[{"introduced":"3.6.13"},{"fixed":"3.8.13"}],"source":"CPE_RANGE"}]}}],"versions":["3.8.12","3.8.11","3.8.10","3.8.9","3.8.8","3.8.7","3.8.6","3.8.5","3.8.4","3.8.3","3.8.2","3.8.1","3.8.0","3.7.8","3.7.7","3.7.5","3.7.4","3.7.3","3.7.2","3.7.1","3.7.0","3.6.14","3.6.13"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-42010.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N"}]}