{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-52296","id":"CVE-2024-52296","title":"libosdp has a null pointer deref in osdp_reply_name","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 ","descriptionLong":"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.","published":"2024-11-12T15:58:28.434Z","updated":"2026-10-28T10:51:39.932124632Z","reserved":"2024-11-06T19:00:26.395Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"github.com"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"OSV"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"GitHub"}],"rating":"medium","products":["goToMain libosdp"],"affectedProducts":[{"vendor":"goToMain","product":"libosdp","defaultStatus":null,"versions":[{"version":"< 2.4.0","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"libosdp","purl":"pkg:pypi/libosdp","ranges":["<2.4.0"],"fixed":["2.4.0"],"advisory":"GHSA-7945-5mcv-f2pp"}],"cwes":["CWE-476"],"aliases":["GHSA-7945-5mcv-f2pp","PYSEC-2026-1534"],"references":[{"url":"https://github.com/goToMain/libosdp/security/advisories/GHSA-7945-5mcv-f2pp","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/goToMain/libosdp/commit/24409e98a260176765956ec766a04cb35984fab1","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/52xxx/CVE-2024-52296.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-52296","tags":["advisory"]},{"url":"https://github.com/goToMain/libosdp","tags":["package"]},{"url":"https://pypi.org/project/libosdp","tags":["package"]},{"url":"https://github.com/advisories/GHSA-7945-5mcv-f2pp","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00347,"epssPercentile":0.28955,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-52296","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-52296","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-52296","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-7945-5mcv-f2pp","ok":true,"note":"GHSA-7945-5mcv-f2pp"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-52296","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}