GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

UBUNTU-CVE-2026-57163 (CVE-2026-57163)

Vulnerability from osv_ubuntu – Published: 2026-09-04 18:17 – Updated: 2026-09-16 11:36 – Source website
VLAI
Details

PJSIP is a free and open source multimedia communication library written in C. Prior to commit c4a151a, a stack buffer overflow exists in the GnuTLS TLS backend when parsing the Subject Alternative Name extension of a peer certificate (tls_cert_get_info() in ssl_sock_gtls.c). Only GnuTLS builds are affected (--with-gnutls); OpenSSL and Apple SecureTransport/Network.framework builds are not affected. While extracting certificate information after a TLS handshake, an incorrect buffer-size value can cause an oversized SubjectAltName entry to be written past the end of a fixed-size stack buffer. A network-positioned attacker presenting a crafted certificate — a malicious server to a connecting client, or a malicious client to a server that requests certificates — can trigger this during the TLS handshake, before any SIP-level authentication. Impact may range from unexpected application termination to control flow hijack/memory corruption. This issue has been patched via commit c4a151a.


{
  "affected": [
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "asterisk",
            "binary_version": "1:13.1.0~dfsg-1.1ubuntu4.1+esm1"
          },
          {
            "binary_name": "asterisk-config",
            "binary_version": "1:13.1.0~dfsg-1.1ubuntu4.1+esm1"
          },
          {
            "binary_name": "asterisk-dahdi",
            "binary_version": "1:13.1.0~dfsg-1.1ubuntu4.1+esm1"
          },
          {
            "binary_name": "asterisk-mobile",
            "binary_version": "1:13.1.0~dfsg-1.1ubuntu4.1+esm1"
          },
          {
            "binary_name": "asterisk-modules",
            "binary_version": "1:13.1.0~dfsg-1.1ubuntu4.1+esm1"
          },
          {
            "binary_name": "asterisk-mp3",
            "binary_version": "1:13.1.0~dfsg-1.1ubuntu4.1+esm1"
          },
          {
            "binary_name": "asterisk-mysql",
            "binary_version": "1:13.1.0~dfsg-1.1ubuntu4.1+esm1"
          },
          {
            "binary_name": "asterisk-ooh323",
            "binary_version": "1:13.1.0~dfsg-1.1ubuntu4.1+esm1"
          },
          {
            "binary_name": "asterisk-voicemail",
            "binary_version": "1:13.1.0~dfsg-1.1ubuntu4.1+esm1"
          },
          {
            "binary_name": "asterisk-voicemail-imapstorage",
            "binary_version": "1:13.1.0~dfsg-1.1ubuntu4.1+esm1"
          },
          {
            "binary_name": "asterisk-voicemail-odbcstorage",
            "binary_version": "1:13.1.0~dfsg-1.1ubuntu4.1+esm1"
          },
          {
            "binary_name": "asterisk-vpb",
            "binary_version": "1:13.1.0~dfsg-1.1ubuntu4.1+esm1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:16.04:LTS",
        "name": "asterisk",
        "purl": "pkg:deb/ubuntu/asterisk@1:13.1.0~dfsg-1.1ubuntu4.1+esm1?arch=source\u0026distro=esm-apps/xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1:13.1.0~dfsg-1.1ubuntu3",
        "1:13.1.0~dfsg-1.1ubuntu4",
        "1:13.1.0~dfsg-1.1ubuntu4.1",
        "1:13.1.0~dfsg-1.1ubuntu4.1+esm1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "libpj2",
            "binary_version": "2.1.0.0.ast20130823-1+deb8u1ubuntu0.1~esm1"
          },
          {
            "binary_name": "libpjlib-util2",
            "binary_version": "2.1.0.0.ast20130823-1+deb8u1ubuntu0.1~esm1"
          },
          {
            "binary_name": "libpjmedia-audiodev2",
            "binary_version": "2.1.0.0.ast20130823-1+deb8u1ubuntu0.1~esm1"
          },
          {
            "binary_name": "libpjmedia-codec2",
            "binary_version": "2.1.0.0.ast20130823-1+deb8u1ubuntu0.1~esm1"
          },
          {
            "binary_name": "libpjmedia-videodev2",
            "binary_version": "2.1.0.0.ast20130823-1+deb8u1ubuntu0.1~esm1"
          },
          {
            "binary_name": "libpjmedia2",
            "binary_version": "2.1.0.0.ast20130823-1+deb8u1ubuntu0.1~esm1"
          },
          {
            "binary_name": "libpjnath2",
            "binary_version": "2.1.0.0.ast20130823-1+deb8u1ubuntu0.1~esm1"
          },
          {
            "binary_name": "libpjsip-simple2",
            "binary_version": "2.1.0.0.ast20130823-1+deb8u1ubuntu0.1~esm1"
          },
          {
            "binary_name": "libpjsip-ua2",
            "binary_version": "2.1.0.0.ast20130823-1+deb8u1ubuntu0.1~esm1"
          },
          {
            "binary_name": "libpjsip2",
            "binary_version": "2.1.0.0.ast20130823-1+deb8u1ubuntu0.1~esm1"
          },
          {
            "binary_name": "libpjsua2",
            "binary_version": "2.1.0.0.ast20130823-1+deb8u1ubuntu0.1~esm1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:16.04:LTS",
        "name": "pjproject",
        "purl": "pkg:deb/ubuntu/pjproject@2.1.0.0.ast20130823-1+deb8u1ubuntu0.1~esm1?arch=source\u0026distro=esm-apps/xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.1.0.0.ast20130823-1",
        "2.1.0.0.ast20130823-1+deb8u1build0.16.04.1",
        "2.1.0.0.ast20130823-1+deb8u1ubuntu0.1~esm1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "asterisk",
            "binary_version": "1:13.18.3~dfsg-1ubuntu4"
          },
          {
            "binary_name": "asterisk-config",
            "binary_version": "1:13.18.3~dfsg-1ubuntu4"
          },
          {
            "binary_name": "asterisk-dahdi",
            "binary_version": "1:13.18.3~dfsg-1ubuntu4"
          },
          {
            "binary_name": "asterisk-mobile",
            "binary_version": "1:13.18.3~dfsg-1ubuntu4"
          },
          {
            "binary_name": "asterisk-modules",
            "binary_version": "1:13.18.3~dfsg-1ubuntu4"
          },
          {
            "binary_name": "asterisk-mp3",
            "binary_version": "1:13.18.3~dfsg-1ubuntu4"
          },
          {
            "binary_name": "asterisk-mysql",
            "binary_version": "1:13.18.3~dfsg-1ubuntu4"
          },
          {
            "binary_name": "asterisk-ooh323",
            "binary_version": "1:13.18.3~dfsg-1ubuntu4"
          },
          {
            "binary_name": "asterisk-tests",
            "binary_version": "1:13.18.3~dfsg-1ubuntu4"
          },
          {
            "binary_name": "asterisk-voicemail",
            "binary_version": "1:13.18.3~dfsg-1ubuntu4"
          },
          {
            "binary_name": "asterisk-voicemail-imapstorage",
            "binary_version": "1:13.18.3~dfsg-1ubuntu4"
          },
          {
            "binary_name": "asterisk-voicemail-odbcstorage",
            "binary_version": "1:13.18.3~dfsg-1ubuntu4"
          },
          {
            "binary_name": "asterisk-vpb",
            "binary_version": "1:13.18.3~dfsg-1ubuntu4"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:18.04:LTS",
        "name": "asterisk",
        "purl": "pkg:deb/ubuntu/asterisk@1:13.18.3~dfsg-1ubuntu4?arch=source\u0026distro=bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1:13.17.2~dfsg-1ubuntu1",
        "1:13.17.2~dfsg-2ubuntu1",
        "1:13.18.1~dfsg-1ubuntu1",
        "1:13.18.3~dfsg-1ubuntu1",
        "1:13.18.3~dfsg-1ubuntu2",
        "1:13.18.3~dfsg-1ubuntu3",
        "1:13.18.3~dfsg-1ubuntu4"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "libpj2",
            "binary_version": "2.7.2~dfsg-1ubuntu0.1~esm1"
          },
          {
            "binary_name": "libpjlib-util2",
            "binary_version": "2.7.2~dfsg-1ubuntu0.1~esm1"
          },
          {
            "binary_name": "libpjmedia-audiodev2",
            "binary_version": "2.7.2~dfsg-1ubuntu0.1~esm1"
          },
          {
            "binary_name": "libpjmedia-codec2",
            "binary_version": "2.7.2~dfsg-1ubuntu0.1~esm1"
          },
          {
            "binary_name": "libpjmedia-videodev2",
            "binary_version": "2.7.2~dfsg-1ubuntu0.1~esm1"
          },
          {
            "binary_name": "libpjmedia2",
            "binary_version": "2.7.2~dfsg-1ubuntu0.1~esm1"
          },
          {
            "binary_name": "libpjnath2",
            "binary_version": "2.7.2~dfsg-1ubuntu0.1~esm1"
          },
          {
            "binary_name": "libpjsip-simple2",
            "binary_version": "2.7.2~dfsg-1ubuntu0.1~esm1"
          },
          {
            "binary_name": "libpjsip-ua2",
            "binary_version": "2.7.2~dfsg-1ubuntu0.1~esm1"
          },
          {
            "binary_name": "libpjsip2",
            "binary_version": "2.7.2~dfsg-1ubuntu0.1~esm1"
          },
          {
            "binary_name": "libpjsua2",
            "binary_version": "2.7.2~dfsg-1ubuntu0.1~esm1"
          },
          {
            "binary_name": "libpjsua2-2v5",
            "binary_version": "2.7.2~dfsg-1ubuntu0.1~esm1"
          },
          {
            "binary_name": "python-pjproject",
            "binary_version": "2.7.2~dfsg-1ubuntu0.1~esm1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:18.04:LTS",
        "name": "pjproject",
        "purl": "pkg:deb/ubuntu/pjproject@2.7.2~dfsg-1ubuntu0.1~esm1?arch=source\u0026distro=esm-apps/bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.6~dfsg-2",
        "2.7~dfsg-1",
        "2.7.1~dfsg-1",
        "2.7.1~dfsg-1build1",
        "2.7.2~dfsg-1",
        "2.7.2~dfsg-1ubuntu0.1~esm1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "asterisk",
            "binary_version": "1:16.2.1~dfsg-2ubuntu1"
          },
          {
            "binary_name": "asterisk-config",
            "binary_version": "1:16.2.1~dfsg-2ubuntu1"
          },
          {
            "binary_name": "asterisk-dahdi",
            "binary_version": "1:16.2.1~dfsg-2ubuntu1"
          },
          {
            "binary_name": "asterisk-mobile",
            "binary_version": "1:16.2.1~dfsg-2ubuntu1"
          },
          {
            "binary_name": "asterisk-modules",
            "binary_version": "1:16.2.1~dfsg-2ubuntu1"
          },
          {
            "binary_name": "asterisk-mp3",
            "binary_version": "1:16.2.1~dfsg-2ubuntu1"
          },
          {
            "binary_name": "asterisk-mysql",
            "binary_version": "1:16.2.1~dfsg-2ubuntu1"
          },
          {
            "binary_name": "asterisk-ooh323",
            "binary_version": "1:16.2.1~dfsg-2ubuntu1"
          },
          {
            "binary_name": "asterisk-tests",
            "binary_version": "1:16.2.1~dfsg-2ubuntu1"
          },
          {
            "binary_name": "asterisk-voicemail",
            "binary_version": "1:16.2.1~dfsg-2ubuntu1"
          },
          {
            "binary_name": "asterisk-voicemail-imapstorage",
            "binary_version": "1:16.2.1~dfsg-2ubuntu1"
          },
          {
            "binary_name": "asterisk-voicemail-odbcstorage",
            "binary_version": "1:16.2.1~dfsg-2ubuntu1"
          },
          {
            "binary_name": "asterisk-vpb",
            "binary_version": "1:16.2.1~dfsg-2ubuntu1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:20.04:LTS",
        "name": "asterisk",
        "purl": "pkg:deb/ubuntu/asterisk@1:16.2.1~dfsg-2ubuntu1?arch=source\u0026distro=focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1:16.2.1~dfsg-2build2",
        "1:16.2.1~dfsg-2build3",
        "1:16.2.1~dfsg-2ubuntu1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "asterisk",
            "binary_version": "1:18.10.0~dfsg+~cs6.10.40431411-2"
          },
          {
            "binary_name": "asterisk-config",
            "binary_version": "1:18.10.0~dfsg+~cs6.10.40431411-2"
          },
          {
            "binary_name": "asterisk-dahdi",
            "binary_version": "1:18.10.0~dfsg+~cs6.10.40431411-2"
          },
          {
            "binary_name": "asterisk-mobile",
            "binary_version": "1:18.10.0~dfsg+~cs6.10.40431411-2"
          },
          {
            "binary_name": "asterisk-modules",
            "binary_version": "1:18.10.0~dfsg+~cs6.10.40431411-2"
          },
          {
            "binary_name": "asterisk-mp3",
            "binary_version": "1:18.10.0~dfsg+~cs6.10.40431411-2"
          },
          {
            "binary_name": "asterisk-mysql",
            "binary_version": "1:18.10.0~dfsg+~cs6.10.40431411-2"
          },
          {
            "binary_name": "asterisk-ooh323",
            "binary_version": "1:18.10.0~dfsg+~cs6.10.40431411-2"
          },
          {
            "binary_name": "asterisk-tests",
            "binary_version": "1:18.10.0~dfsg+~cs6.10.40431411-2"
          },
          {
            "binary_name": "asterisk-vpb",
            "binary_version": "1:18.10.0~dfsg+~cs6.10.40431411-2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:22.04:LTS",
        "name": "asterisk",
        "purl": "pkg:deb/ubuntu/asterisk@1:18.10.0~dfsg+~cs6.10.40431411-2?arch=source\u0026distro=jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1:16.16.1~dfsg-2",
        "1:16.16.1~dfsg-4",
        "1:16.16.1~dfsg-4build1",
        "1:16.16.1~dfsg+~2.10-1",
        "1:18.10.0~dfsg+~cs6.10.40431411-2"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "asterisk",
            "binary_version": "1:20.6.0~dfsg+~cs6.13.40431414-2build5"
          },
          {
            "binary_name": "asterisk-config",
            "binary_version": "1:20.6.0~dfsg+~cs6.13.40431414-2build5"
          },
          {
            "binary_name": "asterisk-dahdi",
            "binary_version": "1:20.6.0~dfsg+~cs6.13.40431414-2build5"
          },
          {
            "binary_name": "asterisk-mobile",
            "binary_version": "1:20.6.0~dfsg+~cs6.13.40431414-2build5"
          },
          {
            "binary_name": "asterisk-modules",
            "binary_version": "1:20.6.0~dfsg+~cs6.13.40431414-2build5"
          },
          {
            "binary_name": "asterisk-mp3",
            "binary_version": "1:20.6.0~dfsg+~cs6.13.40431414-2build5"
          },
          {
            "binary_name": "asterisk-mysql",
            "binary_version": "1:20.6.0~dfsg+~cs6.13.40431414-2build5"
          },
          {
            "binary_name": "asterisk-ooh323",
            "binary_version": "1:20.6.0~dfsg+~cs6.13.40431414-2build5"
          },
          {
            "binary_name": "asterisk-tests",
            "binary_version": "1:20.6.0~dfsg+~cs6.13.40431414-2build5"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:24.04:LTS",
        "name": "asterisk",
        "purl": "pkg:deb/ubuntu/asterisk@1:20.6.0~dfsg+~cs6.13.40431414-2build5?arch=source\u0026distro=noble"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1:20.4.0~dfsg+~cs6.13.40431414-2",
        "1:20.5.0~dfsg+~cs6.13.40431414-1",
        "1:20.5.1~dfsg+~cs6.13.40431414-1",
        "1:20.5.2~dfsg+~cs6.13.40431414-1",
        "1:20.6.0~dfsg+~cs6.13.40431414-1",
        "1:20.6.0~dfsg+~cs6.13.40431414-2",
        "1:20.6.0~dfsg+~cs6.13.40431414-2build3",
        "1:20.6.0~dfsg+~cs6.13.40431414-2build4",
        "1:20.6.0~dfsg+~cs6.13.40431414-2build5"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "asterisk",
            "binary_version": "1:22.5.2~dfsg+~cs6.15.60671435-1"
          },
          {
            "binary_name": "asterisk-config",
            "binary_version": "1:22.5.2~dfsg+~cs6.15.60671435-1"
          },
          {
            "binary_name": "asterisk-dahdi",
            "binary_version": "1:22.5.2~dfsg+~cs6.15.60671435-1"
          },
          {
            "binary_name": "asterisk-mobile",
            "binary_version": "1:22.5.2~dfsg+~cs6.15.60671435-1"
          },
          {
            "binary_name": "asterisk-modules",
            "binary_version": "1:22.5.2~dfsg+~cs6.15.60671435-1"
          },
          {
            "binary_name": "asterisk-mp3",
            "binary_version": "1:22.5.2~dfsg+~cs6.15.60671435-1"
          },
          {
            "binary_name": "asterisk-mysql",
            "binary_version": "1:22.5.2~dfsg+~cs6.15.60671435-1"
          },
          {
            "binary_name": "asterisk-ooh323",
            "binary_version": "1:22.5.2~dfsg+~cs6.15.60671435-1"
          },
          {
            "binary_name": "asterisk-tests",
            "binary_version": "1:22.5.2~dfsg+~cs6.15.60671435-1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:26.04:LTS",
        "name": "asterisk",
        "purl": "pkg:deb/ubuntu/asterisk@1:22.5.2~dfsg+~cs6.15.60671435-1?arch=source\u0026distro=resolute"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1:22.5.2~dfsg+~cs6.15.60671435-1"
      ]
    }
  ],
  "aliases": [],
  "details": "PJSIP is a free and open source multimedia communication library written in C. Prior to commit c4a151a, a stack buffer overflow exists in the GnuTLS TLS backend when parsing the Subject Alternative Name extension of a peer certificate (tls_cert_get_info() in ssl_sock_gtls.c). Only GnuTLS builds are affected (--with-gnutls); OpenSSL and Apple SecureTransport/Network.framework builds are not affected. While extracting certificate information after a TLS handshake, an incorrect buffer-size value can cause an oversized SubjectAltName entry to be written past the end of a fixed-size stack buffer. A network-positioned attacker presenting a crafted certificate \u2014 a malicious server to a connecting client, or a malicious client to a server that requests certificates \u2014 can trigger this during the TLS handshake, before any SIP-level authentication. Impact may range from unexpected application termination to control flow hijack/memory corruption. This issue has been patched via commit c4a151a.",
  "id": "UBUNTU-CVE-2026-57163",
  "modified": "2026-09-16T11:36:41Z",
  "published": "2026-09-04T18:17:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2026-57163"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2026-57163"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/pjsip/pjproject/security/advisories/GHSA-jm2j-6rg6-qvwx"
    }
  ],
  "related": [],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    },
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H",
      "type": "CVSS_V3"
    },
    {
      "score": "medium",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2026-57163"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…