{"id":"CVE-2018-7285","published":"2018-02-22T00:00:00Z","modified":"2024-08-05T06:24:11Z","title":"A NULL pointer access issue was discovered in Asterisk 15.x through 15.2.1","vendor":null,"product":null,"tier":"tail","description":{"text":"A NULL pointer access issue was discovered in Asterisk 15.x through 15.2.1. The RTP support in Asterisk maintains its own registry of dynamic codecs and desired payload numbers. While an SDP negotiation may result in a codec using a different payload number, these desired ones are still stored internally. When an RTP packet was received, this registry would be consulted if the payload number was not found in the negotiated SDP. This registry was incorrectly consulted for all packets, even those which are dynamic. If the payload number resulted in a codec of a different type than the RTP stream (for example, the payload number resulted in a video codec but the stream carried audio), a crash could occur if no stream of that type had been negotiated. This was due to the code incorrectly assuming that a stream of that type would always exist.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.05037,"percentile":0.92471,"provenance":"source"},"cwes":[],"references":[{"url":"http://www.securitytracker.com/id/1040415","tags":["vdb-entry","x_refsource_SECTRACK"]},{"url":"http://www.securityfocus.com/bid/103149","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://downloads.asterisk.org/pub/security/AST-2018-001.html","tags":["x_refsource_CONFIRM"]}],"priority":{"score":18.5,"factors":[{"name":"EPSS percentile","points":18.49}]},"summary":{"text":"A NULL pointer dereference in the RTP support of Asterisk versions 15.x through 15.2.1 occurs because the RTP stack consults its internal dynamic codec registry for every incoming packet, not just those with unrecognised payload numbers, and assumes a stream of the matching media type always exists. An attacker able to send RTP packets to the affected service can crash Asterisk by sending a packet whose payload number maps to a codec of a different media type than the negotiated stream, provided no stream of that type was negotiated.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:13:13Z"},"euvd":{"id":"EUVD-2018-19019","exploited":false,"provenance":"source"}}