SIPGO library has response DoS vulnerability via nil pointer dereference
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2025-68274
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 13:38 UTC · Revision 1
Source evidence
SIPGO library has response DoS vulnerability via nil pointer dereference
core-osv · Original sourcePublished 16 Dec 2025, 22:02 UTC
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.
osv:CVE-2025-68274
Complete source record
{
"id": "159e80fdeb1f403655a0e8c1f9913557bf1a6f5f8f4526d2c41b91f1df2da0e4",
"url": "https://osv.dev/vulnerability/CVE-2025-68274",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "SIPGO library has response DoS vulnerability via nil pointer dereference",
"summary": "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.",
"evidence": "osv:CVE-2025-68274",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2025-68274",
"aliases": [
"CVE-2025-68274",
"GHSA-c623-f998-8hhv",
"GO-2025-4244"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "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"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/emiago/sipgo",
"type": "GIT",
"events": [
{
"introduced": "6ffeb52b05766d9a39dfe23b08bfd07029d79dfe"
},
{
"fixed": "ae239324512644ea045cb19b3bc1deb3871476cd"
},
{
"fixed": "dc9669364a154ec6d134e542f6a63c31b5afe6e8"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:emiago:sipgo:*:*:*:*:*:go:*:*",
"range": [
{
"introduced": "0.30.0"
},
{
"fixed": "1.0.0"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "dc9669364a154ec6d134e542f6a63c31b5afe6e8"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"v1.0.0-alpha",
"v0.33.0",
"v0.32.1",
"v0.32.0",
"v0.31.0",
"v0.30.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-68274.json"
}
}
],
"modified": "2026-10-28T02:30:35.942113812Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/68xxx/CVE-2025-68274.json",
"https://github.com/emiago/sipgo/security/advisories/GHSA-c623-f998-8hhv",
"https://nvd.nist.gov/vuln/detail/CVE-2025-68274",
"https://github.com/emiago/sipgo/commit/dc9669364a154ec6d134e542f6a63c31b5afe6e8"
],
"provider_metadata": {
"cwe_ids": [
"CWE-476",
"CWE-755"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/68xxx/CVE-2025-68274.json"
}
},
"related_cves": [
{
"value": "CVE-2025-68274",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 503206,
"published_at": "2025-12-16T22:02:55.36+00:00"
}