# CVE-2023-37457: Asterisk's PJSIP_HEADER dialplan function can overwrite memory/cause crash when using 'update'

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/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): 1.12%, higher than 66% of CVEs (2026-12-01)
- Published: 2023-12-14T19:43:30.945Z
- Modified: 2026-06-17T06:08:15.497Z
- Weaknesses: CWE-120
- Assigned by: GitHub_M

## Description

Asterisk is an open source private branch exchange and telephony toolkit. In Asterisk versions 18.20.0 and prior, 20.5.0 and prior, and 21.0.0; as well as ceritifed-asterisk 18.9-cert5 and prior, the 'update' functionality of the PJSIP_HEADER dialplan function can exceed the available buffer space for storing the new value of a header. By doing so this can overwrite memory or cause a crash. This is not externally exploitable, unless dialplan is explicitly written to update a header based on data from an outside source. If the 'update' functionality is not used the vulnerability does not occur. A patch is available at commit a1ca0268254374b515fa5992f01340f7717113fa.

(As written by CVE List.)

## Affected

- asterisk asterisk: <= 18.20.0; >= 19.0.0, <= 20.5.0; = 21.0.0; <= 18.9-cert5
- digium asterisk: up to 18.20.0; from 19.0.0 up to 20.5.0; 21.0.0
- sangoma certified_asterisk: 13.13.0; 16.8.0; 18.9

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 8.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H`

## References

- <https://github.com/asterisk/asterisk/security/advisories/GHSA-98rc-4j27-74hh> (vendor-advisory)
- <https://github.com/asterisk/asterisk/commit/a1ca0268254374b515fa5992f01340f7717113fa> (patch)
- <https://lists.debian.org/debian-lts-announce/2023/12/msg00019.html>

## Sources

- CVE List: [CVE-2023-37457](https://www.cve.org/CVERecord?id=CVE-2023-37457), CVE Terms of Use, modified 2025-02-13
- NVD: [CVE-2023-37457](https://nvd.nist.gov/vuln/detail/CVE-2023-37457), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-37457 · Whole record: https://cve.day/CVE-2023-37457.json · Rebuilt by cve.day 2026-11-25T22:58:31.363Z
