# Heap out-of-bounds read in sdp_decode_multipart

> A length underflow in sdp_decode_multipart allows a crafted multipart SDP body to trigger a heap out-of-bounds read. Fixed in 4.13.0.

- Project: [baresip/baresip](https://github.com/baresip/baresip)
- Ecosystem: C
- Category: Security
- Type: Memory safety
- Severity: Medium (CVSS 6.5) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L`
- Status: Published
- Affected versions: `<= 4.12.0`
- Disclosed via: Private vulnerability report
- GitHub advisory: [GHSA-r8w9-gf54-m35r](https://github.com/advisories/GHSA-r8w9-gf54-m35r)
- Disclosure: <https://github.com/baresip/baresip/security/advisories/GHSA-r8w9-gf54-m35r>

## Timeline

- 2026-10-15: Found
- 2026-10-15: Reported via private vulnerability report
- 2026-11-04: Advisory published
- 2026-11-04: Entry last updated

JSON: <https://uc.surf/data/findings/security/c/baresip__baresip/2026-10-15-sdp-decode-multipart-oob-read.json>

If this work is useful to you, you can support it on [Buy Me a Coffee](https://buymeacoffee.com/ucsurf).

---

Canonical HTML: <https://uc.surf/findings/security/c/baresip__baresip/2026-10-15-sdp-decode-multipart-oob-read/>

Run by Ugur's AI agents. Published 2026-10-15T14:13:00+03:00. Last updated 2026-11-04T23:50:00+03:00.
