Assertion failure vulnerability in the PCO (Protocol Configuration Options) parser in the SMF (Session Management Function) component of Open5GS before v2.7.5 allows remote attackers to cause denial of service via specially crafted NGAP messages containing malformed length fields in protocol configuration data.
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/56xxx/CVE-2025-56568.json",
"cna_assigner": "mitre"
}"2026-07-15T15:20:05Z"
[
{
"signature_type": "Function",
"target": {
"file": "src/smf/gn-build.c",
"function": "smf_gn_build_update_pdp_context_response"
},
"deprecated": false,
"source": "https://github.com/open5gs/open5gs/commit/d7707879c943d2c952235382154d835b5849d54e",
"id": "CVE-2025-56568-029db43e",
"signature_version": "v1",
"digest": {
"function_hash": "201376818506725996628995496669661440284",
"length": 5010.0
}
},
{
"signature_type": "Function",
"target": {
"file": "src/smf/gn-build.c",
"function": "smf_gn_build_delete_pdp_context_response"
},
"deprecated": false,
"source": "https://github.com/open5gs/open5gs/commit/d7707879c943d2c952235382154d835b5849d54e",
"id": "CVE-2025-56568-446bffc1",
"signature_version": "v1",
"digest": {
"function_hash": "18762893210066557441039359392188758928",
"length": 782.0
}
},
{
"signature_type": "Function",
"target": {
"file": "src/smf/gsm-build.c",
"function": "gsm_build_pdu_session_establishment_accept"
},
"deprecated": false,
"source": "https://github.com/open5gs/open5gs/commit/d7707879c943d2c952235382154d835b5849d54e",
"id": "CVE-2025-56568-6035c153",
"signature_version": "v1",
"digest": {
"function_hash": "200550200010657645279078314602316151936",
"length": 5520.0
}
},
{
"signature_type": "Function",
"target": {
"file": "src/smf/gn-build.c",
"function": "smf_gn_build_create_pdp_context_response"
},
"deprecated": false,
"source": "https://github.com/open5gs/open5gs/commit/d7707879c943d2c952235382154d835b5849d54e",
"id": "CVE-2025-56568-7189d441",
"signature_version": "v1",
"digest": {
"function_hash": "300029591059125079987295489686533232461",
"length": 5854.0
}
},
{
"signature_type": "Line",
"target": {
"file": "src/smf/s5c-build.c"
},
"deprecated": false,
"source": "https://github.com/open5gs/open5gs/commit/d7707879c943d2c952235382154d835b5849d54e",
"id": "CVE-2025-56568-7233a89c",
"signature_version": "v1",
"digest": {
"line_hashes": [
"101011293953955135524288880395480505865",
"327703808544379261526843720036418051056",
"289232479342995618827752438392660007672",
"36039561829869703546424169759054551995",
"96582357885000743822169611581083487851",
"88105317133802199396513890048722600542",
"128438770051580279059655926288858672381",
"55659345462585623172768827108579185571",
"163336925340110350381757996483114612664",
"161068772916133478164190717020501664955",
"153330965960650071894410345330146998677",
"93027418992890212286288982570622134320",
"101011293953955135524288880395480505865",
"327703808544379261526843720036418051056",
"289232479342995618827752438392660007672",
"36039561829869703546424169759054551995",
"163336925340110350381757996483114612664",
"161068772916133478164190717020501664955",
"153330965960650071894410345330146998677",
"93027418992890212286288982570622134320",
"203403233985969960833201513031017084775",
"24517954744985235688526821321692903707",
"18570619448525577022095911213058184210"
],
"threshold": 0.9
}
},
{
"signature_type": "Function",
"target": {
"file": "src/smf/s5c-build.c",
"function": "smf_s5c_build_create_session_response"
},
"deprecated": false,
"source": "https://github.com/open5gs/open5gs/commit/d7707879c943d2c952235382154d835b5849d54e",
"id": "CVE-2025-56568-7be32b26",
"signature_version": "v1",
"digest": {
"function_hash": "62582208895951730163890606790351530560",
"length": 7159.0
}
},
{
"signature_type": "Function",
"target": {
"file": "src/smf/context.c",
"function": "smf_pco_build"
},
"deprecated": false,
"source": "https://github.com/open5gs/open5gs/commit/d7707879c943d2c952235382154d835b5849d54e",
"id": "CVE-2025-56568-7e614a72",
"signature_version": "v1",
"digest": {
"function_hash": "87380732655856101830754453735518059473",
"length": 6395.0
}
},
{
"signature_type": "Line",
"target": {
"file": "src/smf/gsm-build.c"
},
"deprecated": false,
"source": "https://github.com/open5gs/open5gs/commit/d7707879c943d2c952235382154d835b5849d54e",
"id": "CVE-2025-56568-919b51a6",
"signature_version": "v1",
"digest": {
"line_hashes": [
"223530318864154323708817706102344305373",
"6663916547192321179623307240797211391",
"265662260305063153079231716266733259540",
"105866844354916543792506963110035332133"
],
"threshold": 0.9
}
},
{
"signature_type": "Function",
"target": {
"file": "src/smf/s5c-build.c",
"function": "smf_s5c_build_delete_session_response"
},
"deprecated": false,
"source": "https://github.com/open5gs/open5gs/commit/d7707879c943d2c952235382154d835b5849d54e",
"id": "CVE-2025-56568-9d85089a",
"signature_version": "v1",
"digest": {
"function_hash": "299548856178361070357830138773356062690",
"length": 1417.0
}
},
{
"signature_type": "Line",
"target": {
"file": "src/smf/gn-build.c"
},
"deprecated": false,
"source": "https://github.com/open5gs/open5gs/commit/d7707879c943d2c952235382154d835b5849d54e",
"id": "CVE-2025-56568-b3684e75",
"signature_version": "v1",
"digest": {
"line_hashes": [
"101011293953955135524288880395480505865",
"327703808544379261526843720036418051056",
"289232479342995618827752438392660007672",
"36039561829869703546424169759054551995",
"101011293953955135524288880395480505865",
"327703808544379261526843720036418051056",
"289232479342995618827752438392660007672",
"36039561829869703546424169759054551995",
"101011293953955135524288880395480505865",
"327703808544379261526843720036418051056",
"289232479342995618827752438392660007672",
"36039561829869703546424169759054551995"
],
"threshold": 0.9
}
},
{
"signature_type": "Line",
"target": {
"file": "lib/proto/types.c"
},
"deprecated": false,
"source": "https://github.com/open5gs/open5gs/commit/d7707879c943d2c952235382154d835b5849d54e",
"id": "CVE-2025-56568-b4ad464a",
"signature_version": "v1",
"digest": {
"line_hashes": [
"189317724699250608444327117227152993759",
"182505773729030979288844678680637972693",
"325508491855004853249287559982859128280",
"261528807653386942386740027317487005122"
],
"threshold": 0.9
}
},
{
"signature_type": "Line",
"target": {
"file": "src/smf/context.c"
},
"deprecated": false,
"source": "https://github.com/open5gs/open5gs/commit/d7707879c943d2c952235382154d835b5849d54e",
"id": "CVE-2025-56568-f3abea52",
"signature_version": "v1",
"digest": {
"line_hashes": [
"200626023759948285137229278443705420698",
"287770126388937018259367574118268665851",
"321313526699510578665974358611418413560",
"156955013002716506581843480987255873274",
"170126015462430149737807411213002959",
"76587177393718745884737927945931721197",
"47748601197808826336440659901219813000",
"336021059925554829183731627778955108241"
],
"threshold": 0.9
}
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-56568.json"