CVE-2026-42225

Source
https://cve.org/CVERecord?id=CVE-2026-42225
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-42225.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-42225
Aliases
  • GHSA-x2fv-6j6c-pxmx
Downstream
Published
2026-05-07T18:47:26Z
Modified
2026-08-12T10:22:58Z
Severity
  • 8.2 (High) CVSS_V4 - 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 CVSS Calculator
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.

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

Affected packages

Git / github.com/pjsip/pjproject

Affected ranges

Type
GIT
Repo
https://github.com/pjsip/pjproject
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
Show details
{
    "cpe":  "cpe:2.3:a:teluu:pjsip:*:*:*:*:*:*:*:*",
    "extracted_events":  [
        {
            "introduced":  "0"
        },
        {
            "fixed":  "2.17"
        }
    ],
    "source":  [
        "CPE_RANGE",
        "REFERENCES"
    ]
}

Affected versions

2.*
2.10
2.11
2.12
2.13
2.14
2.15
2.16

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-42225.json"
vanir_signatures
[
    {
        "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"
        }
    }
]
vanir_signatures_modified
"2026-08-12T10:22:58Z"