A cascading out-of-bounds heap read in pjsip_multipart_parse(). After boundary string matching, curptr is advanced past the delimiter without verifying it has not reached the buffer end. This allows 1-2 bytes of adjacent heap memory to be read.
Impact
All applications that process incoming SIP messages with multipart bodies or SDP content are potentially affected.
Patches
The patch is available as commit f0fa32a in the master branch.
Credits
Adam Bedard, Security Researcher.
A cascading out-of-bounds heap read in
pjsip_multipart_parse(). After boundary string matching, curptr is advanced past the delimiter without verifying it has not reached the buffer end. This allows 1-2 bytes of adjacent heap memory to be read.Impact
All applications that process incoming SIP messages with multipart bodies or SDP content are potentially affected.
Patches
The patch is available as commit f0fa32a in the master branch.
Credits
Adam Bedard, Security Researcher.