{"cve":"CVE-2024-52296","nvd":{"published":"2024-11-12T16:15:26.030","modified":"2026-06-17T08:06:57.680","status":"Deferred","description":"libosdp is an implementation of IEC 60839-11-5 OSDP (Open Supervised Device Protocol) and provides a C library with support for C++, Rust and Python3. At ospd_common.c, on the osdp_reply_name function, any reply id between REPLY_ACK and REPLY_XRD is valid, but names array do not declare all of the range. On a case of an undefined reply id within the range, name will be null (name = names[reply_id - REPLY_ACK];). Null name will casue a crash on next line: if (name[0] == '\\0') as null[0] is invalid. As this logic is not limited to a secure connection, attacker may trigger this vulnerability without any prior knowledge. This issue is fixed in 2.4.0.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":6.5},"cwes":["CWE-476"],"references":["https://github.com/goToMain/libosdp/commit/24409e98a260176765956ec766a04cb35984fab1","https://github.com/goToMain/libosdp/security/advisories/GHSA-7945-5mcv-f2pp"],"products":[],"source":"nvd","synced_at":"2026-10-19T21:57:07.693694550+00:00"},"epss":{"cve":"CVE-2024-52296","score":0.00347,"percentile":0.28372,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-7945-5mcv-f2pp","url":"https://osv.dev/vulnerability/GHSA-7945-5mcv-f2pp","summary":"LibOSDP vulnerable to a null pointer deref in osdp_reply_name","modified":"2026-07-07T17:56:41.141854292Z","packages":[{"ecosystem":"PyPI","name":"libosdp","purl":"pkg:pypi/libosdp","ranges":["<2.4.0"],"fixed":["2.4.0"]}]},{"id":"PYSEC-2026-1534","url":"https://osv.dev/vulnerability/PYSEC-2026-1534","summary":"LibOSDP vulnerable to a null pointer deref in osdp_reply_name","modified":"2026-07-07T17:46:51.294684250Z","packages":[{"ecosystem":"PyPI","name":"libosdp","purl":"pkg:pypi/libosdp","ranges":["<2.4.0"],"fixed":["2.4.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}