# CVE-2021-31878: An issue was discovered in PJSIP in Asterisk before 16.19.1 and before 18.5.1.

- Severity: Medium 6.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.46%, higher than 84% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-07-27T05:17:05.000Z
- Modified: 2026-06-17T03:52:23.840Z
- Weaknesses: CWE-617
- Assigned by: mitre

## Description

An issue was discovered in PJSIP in Asterisk before 16.19.1 and before 18.5.1. To exploit, a re-INVITE without SDP must be received after Asterisk has sent a BYE request.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- digium asterisk: 16.17.0; 16.18.0; 16.19.0; 18.3.0; 18.4.0; 18.5.0

## Every score

- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 4.0 Medium `AV:N/AC:L/Au:S/C:N/I:N/A:P`

## References

- <https://issues.asterisk.org/jira/browse/ASTERISK-29381> (exploit, issue-tracking, vendor-advisory)
- <http://seclists.org/fulldisclosure/2021/Jul/48> (mailing-list, patch, third-party-advisory)
- <http://packetstormsecurity.com/files/163638/Asterisk-Project-Security-Advisory-AST-2021-007.html> (patch, third-party-advisory, vdb-entry)
- <http://downloads.asterisk.org/pub/security/AST-2021-007.html> (patch, vendor-advisory)
- <https://downloads.digium.com/pub/security/AST-2021-007.html> (patch, vendor-advisory)

## Sources

- CVE List: [CVE-2021-31878](https://www.cve.org/CVERecord?id=CVE-2021-31878), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-31878](https://nvd.nist.gov/vuln/detail/CVE-2021-31878), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-31878 · Whole record: https://cve.day/CVE-2021-31878.json · Rebuilt by cve.day 2026-11-25T22:58:02.892Z
