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.
{
"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"
}{
"cpe": "cpe:2.3:a:teluu:pjsip:*:*:*:*:*:*:*:*",
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "2.17"
}
],
"source": [
"CPE_RANGE",
"REFERENCES"
]
}
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-42225.json"
[
{
"deprecated": false,
"digest": {
"function_hash": "100415959168435519291465994349505338436",
"length": 1892
},
"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,
"digest": {
"line_hashes": [
"299833486639922362296233367115760977312",
"275823297436963873345051551511121029369",
"101347053063243709168184411558089837790",
"132014919331868749119089371539395494314",
"156603765191897918841405188185385784339",
"176968373762228749211837300596939977889",
"292139747233774396401614642240487038",
"289594165675652914101801199615138366775",
"194376755014793359400578296174782423309",
"338406929857240211746083911399941029709",
"324264787643163931004922430923848240143",
"228313611594804134381979398839309785264"
],
"threshold": 0.9
},
"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"
}
}
]
"2026-08-12T10:22:58Z"