CVE-2022-31003

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

Published May 31, 2022 CVSS 3.1 · 9.1 Critical EPSS 4.1% KEV · Not listed
Description
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-3091-1 sofia-sip security update
Debian DSA Debian DSA DSA-5410-1 sofia-sip
EUVD EUVD EUVD-2022-52710 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.
Ubuntu USN Ubuntu USN USN-5932-1 Sofia-SIP vulnerabilities
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Apr 22, 2025, 5:55 PM
Reserved
May 18, 2022, 12:00 AM
Status
Modified
Published
May 31, 2022, 8:15 PM
Modified
Jun 17, 2026, 4:44 AM