{"id":"CVE-2026-42225","summary":"GnuTLS backend silently skips certificate chain verification when verify_peer is false","details":"PJSIP is a free and open source multimedia communication library written in C. Prior to version 2.17, on GnuTLS builds, the SIP TLS transport (sip_transport_tls) can accept connections with invalid or untrusted certificates even when the application explicitly enables certificate verification via verify_server = PJ_TRUE or verify_client = PJ_TRUE. This issue has been patched in version 2.17.","aliases":["GHSA-x2fv-6j6c-pxmx"],"modified":"2026-08-12T10:22:58.085893Z","published":"2026-05-07T18:47:26.563Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-295"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42225.json"},"references":[{"type":"WEB","url":"https://github.com/pjsip/pjproject/releases/tag/2.17"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42225.json"},{"type":"ADVISORY","url":"https://github.com/pjsip/pjproject/security/advisories/GHSA-x2fv-6j6c-pxmx"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42225"},{"type":"FIX","url":"https://github.com/pjsip/pjproject/commit/ef684252bb62b0716675b6e99ad7fe4c90e28920"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/pjsip/pjproject","events":[{"introduced":"0"},{"fixed":"5a457451fa2712ba18e12b01738e8ff3af2b26fd"},{"fixed":"ef684252bb62b0716675b6e99ad7fe4c90e28920"}],"database_specific":{"cpe":"cpe:2.3:a:teluu:pjsip:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"2.17"}],"source":["CPE_RANGE","REFERENCES"]}}],"versions":["2.16","2.15","2.14","2.13","2.12","2.11","2.10"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-42225.json","vanir_signatures_modified":"2026-08-12T10:22:58Z","vanir_signatures":[{"digest":{"length":1892,"function_hash":"100415959168435519291465994349505338436"},"id":"CVE-2026-42225-381e56f8","signature_type":"Function","signature_version":"v1","source":"https://github.com/pjsip/pjproject/commit/ef684252bb62b0716675b6e99ad7fe4c90e28920","target":{"file":"pjlib/src/pj/ssl_sock_gtls.c","function":"tls_cert_verify_cb"},"deprecated":false},{"id":"CVE-2026-42225-5eb77bc2","signature_type":"Line","signature_version":"v1","source":"https://github.com/pjsip/pjproject/commit/ef684252bb62b0716675b6e99ad7fe4c90e28920","target":{"file":"pjlib/src/pj/ssl_sock_gtls.c"},"deprecated":false,"digest":{"line_hashes":["299833486639922362296233367115760977312","275823297436963873345051551511121029369","101347053063243709168184411558089837790","132014919331868749119089371539395494314","156603765191897918841405188185385784339","176968373762228749211837300596939977889","292139747233774396401614642240487038","289594165675652914101801199615138366775","194376755014793359400578296174782423309","338406929857240211746083911399941029709","324264787643163931004922430923848240143","228313611594804134381979398839309785264"],"threshold":0.9}}]}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N"}]}