libosdp has a null pointer deref in osdp_reply_name
Key facts
- Attack vector
- Adjacent network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-476.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| goToMain | libosdp | before 2.4.0 | 2.4.0 | Patch available | CNA |
| — | libosdp (PyPI) | before 2.4.0 | 2.4.0 | Patch available | GHSA-7945-5mcv-f2pp |
- libosdp VendorgoToMain Affected before 2.4.0 Fixed in 2.4.0 Patch available CNA
- libosdp (PyPI) Vendor— Affected before 2.4.0 Fixed in 2.4.0 Patch available GHSA-7945-5mcv-f2pp
Remediation
- Fix · CNA libosdp (goToMain) Fixed in 2.4.0
- Fix · GHSA-7945-5mcv-f2pp libosdp (PyPI) Fixed in 2.4.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2024-52296
- 2026-10-03 Alias added: GHSA-7945-5mcv-f2pp
References
More goToMain vulnerabilities
- TI-2024-34963 RMAC revert to the beginning of the session in libosdp CVSS 3.1MEDIUM 5.1
Sources
- CVE-2024-52296 · CVE Program
- CVE-2024-52296 · NVD
- FIRST EPSS
- GHSA-7945-5mcv-f2pp · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences