Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/emiago/sipgo
  4. ›
  5. CVE-2025-68274

CVE-2025-68274: SIPGO is Vulnerable to Response DoS via Nil Pointer Dereference

December 16, 2025 (updated December 20, 2025)

A nil pointer dereference vulnerability was discovered in the SIPGO library’s NewResponseFromRequest function that affects all normal SIP operations. The vulnerability allows remote attackers to crash any SIP application by sending a single malformed SIP request without a To header.

The vulnerability occurs when SIP message parsing succeeds for a request missing the To header, but the response creation code assumes the To header exists without proper nil checks. This affects routine operations like call setup, authentication, and message handling - not just error cases.

Note: This vulnerability affects all SIP applications using the sipgo library, not just specific configurations or edge cases, as long as they make use of the NewResponseFromRequest function.

References

  • github.com/advisories/GHSA-c623-f998-8hhv
  • github.com/emiago/sipgo
  • github.com/emiago/sipgo/commit/dc9669364a154ec6d134e542f6a63c31b5afe6e8
  • github.com/emiago/sipgo/security/advisories/GHSA-c623-f998-8hhv
  • nvd.nist.gov/vuln/detail/CVE-2025-68274

Code Behaviors & Features

Detect and mitigate CVE-2025-68274 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 0.3.0 before 1.0.0-alpha-1

Fixed versions

  • 1.0.0-alpha-1

Solution

Upgrade to version 1.0.0-alpha-1 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-476: NULL Pointer Dereference

Source file

go/github.com/emiago/sipgo/CVE-2025-68274.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 04 Feb 2026 00:35:47 +0000.