CVE-2022-31003

    Dashboard / Vulnerabilities / CVE-2022-31003

    CVE-2022-31003

    Published: 31 May 2022Last Modified: 12 Aug 2026

    Summary: Heap-based Buffer Overflow and Out-of-bounds Write in Sofia-SIP

    Details: Sofia-SIP is an open-source Session Initiation Protocol (SIP) User-Agent library. Prior to version 1.13.8, when parsing each line of a sdp message, `rest = record + 2` will access the memory behind `\0` and cause an out-of-bounds write. An attacker can send a message with evil sdp to FreeSWITCH, causing a crash or more serious consequence, such as remote code execution. Version 1.13.8 contains a patch for this issue.

    Affected packages

    Package

    Name:

    Purl:

    Affected ranges

    Type: GIT

    Events:

    Affected versions

    v1.13.7
    v1.13.6
    v1.13.5
    v1.13.3
    v1.13.2

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    CVE-2022-31003 | CVE-DB