{"id":"CVE-2017-16872","aliases":["DSA-4170-1","EUVD-2017-8046","GHSA-7v77-w3mx-vv3x","UBUNTU-CVE-2017-16872","USN-8122-1"],"status":"published","title":"An issue was discovered in Teluu pjproject (pjlib and pjlib-util) in PJSIP before 2.7.1. Parsing...","description":"An issue was discovered in Teluu pjproject (pjlib and pjlib-util) in PJSIP before 2.7.1. Parsing the numeric header fields in a SIP message (like cseq, ttl, port, etc.) all had the potential to overflow, either causing unintended values to be captured or, if the values were subsequently converted back to strings, a buffer overrun. This will lead to a potential exploit using carefully crafted invalid values.","severity":{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.03466,"percentile":0.8914,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-119"],"published":"2017-11-17T09:00:00Z","modified":"2026-10-24T10:31:01Z","fixes":[{"ecosystem":"Ubuntu:Pro:16.04:LTS","package":"pjproject","fixed_in":["2.1.0.0.ast20130823-1+deb8u1ubuntu0.1~esm1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:18.04:LTS","package":"pjproject","fixed_in":["2.7.2~dfsg-1ubuntu0.1~esm1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:9","package":"pjproject","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.5.5~dfsg-6+deb9u1"}]}],"versions":["2.5.5~dfsg-6"],"bundled":4},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"pjproject","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.0.0.ast20130823-1+deb8u1ubuntu0.1~esm1"}]}],"versions":["2.1.0.0.ast20130823-1","2.1.0.0.ast20130823-1+deb8u1build0.16.04.1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"pjproject","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.0.0.ast20130823-1+deb8u1ubuntu0.1~esm1"}]}],"versions":["2.1.0.0.ast20130823-1","2.1.0.0.ast20130823-1+deb8u1build0.16.04.1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"pjproject","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.2~dfsg-1ubuntu0.1~esm1"}]}],"versions":["2.6~dfsg-2","2.7~dfsg-1","2.7.1~dfsg-1","2.7.1~dfsg-1build1","2.7.2~dfsg-1"]}],"products":[{"vendor":"debian","product":"debian_linux"},{"vendor":"teluu","product":"pjsip"}],"references":[{"url":"https://trac.pjsip.org/repos/milestone/release-2.7.1","tags":["x_refsource_CONFIRM","x_transferred","Release Notes","Vendor Advisory","advisory","report"]},{"url":"https://www.debian.org/security/2018/dsa-4170","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","Third Party Advisory","advisory"]},{"url":"https://trac.pjsip.org/repos/ticket/2056","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","advisory","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-16872"},{"url":"https://github.com/advisories/GHSA-7v77-w3mx-vv3x"},{"url":"https://ubuntu.com/security/CVE-2017-16872","tags":["report"]},{"url":"https://trac.pjsip.org/repos/changeset/5682","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-16872","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-8122-1","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2017-16875","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2018-1000098","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2018-1000099","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2020-15260","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2021-21375","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2021-32686","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2021-37706","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2021-43299","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2021-43300","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2021-43301","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2021-43302","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2021-43303","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2026-25994","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2017-16872","description":"An issue was discovered in Teluu pjproject (pjlib and pjlib-util) in PJSIP before 2.7.1. Parsing the numeric header fields in a SIP message (like cseq, ttl, port, etc.) all had the potential to overflow, either causing unintended values to be captured or, if the values were subsequently converted back to strings, a buffer overrun. This will lead to a potential exploit using carefully crafted invalid values.","status":"published","published":"2017-11-17T09:00:00Z","modified":"2024-08-05T20:35:21.318Z","updated_at":"2026-11-02T14:33:21.453505Z"}],"euvd":[{"id":"EUVD-2017-8046","description":"An issue was discovered in Teluu pjproject (pjlib and pjlib-util) in PJSIP before 2.7.1. Parsing the numeric header fields in a SIP message (like cseq, ttl, port, etc.) all had the potential to overflow, either causing unintended values to be captured or, if the values were subsequently converted back to strings, a buffer overrun. This will lead to a potential exploit using carefully crafted invalid values.","status":"published","published":"2017-11-17T09:00:00Z","modified":"2024-08-05T20:35:21Z","updated_at":"2026-11-03T02:23:11.533108Z"}],"ghsa":[{"id":"GHSA-7v77-w3mx-vv3x","title":"An issue was discovered in Teluu pjproject (pjlib and pjlib-util) in PJSIP before 2.7.1. Parsing...","description":"An issue was discovered in Teluu pjproject (pjlib and pjlib-util) in PJSIP before 2.7.1. Parsing the numeric header fields in a SIP message (like cseq, ttl, port, etc.) all had the potential to overflow, either causing unintended values to be captured or, if the values were subsequently converted back to strings, a buffer overrun. This will lead to a potential exploit using carefully crafted invalid values.","status":"published","published":"2022-05-13T01:06:54Z","modified":"2023-02-01T05:03:10Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-119"],"updated_at":"2026-11-02T14:50:01.590535Z"}],"nvd":[{"id":"CVE-2017-16872","description":"An issue was discovered in Teluu pjproject (pjlib and pjlib-util) in PJSIP before 2.7.1. Parsing the numeric header fields in a SIP message (like cseq, ttl, port, etc.) all had the potential to overflow, either causing unintended values to be captured or, if the values were subsequently converted back to strings, a buffer overrun. This will lead to a potential exploit using carefully crafted invalid values.","status":"published","published":"2017-11-17T09:29:00.387Z","modified":"2026-06-17T01:10:04.013Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-119"],"updated_at":"2026-11-02T14:04:08.635428Z"}],"osv":[{"id":"CVE-2017-16872","description":"An issue was discovered in Teluu pjproject (pjlib and pjlib-util) in PJSIP before 2.7.1. Parsing the numeric header fields in a SIP message (like cseq, ttl, port, etc.) all had the potential to overflow, either causing unintended values to be captured or, if the values were subsequently converted back to strings, a buffer overrun. This will lead to a potential exploit using carefully crafted invalid values.","status":"published","published":"2017-11-17T09:29:00.387Z","modified":"2026-10-24T10:31:01.385082407Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:44:04.853379Z"},{"id":"UBUNTU-CVE-2017-16872","description":"An issue was discovered in Teluu pjproject (pjlib and pjlib-util) in PJSIP before 2.7.1. Parsing the numeric header fields in a SIP message (like cseq, ttl, port, etc.) all had the potential to overflow, either causing unintended values to be captured or, if the values were subsequently converted back to strings, a buffer overrun. This will lead to a potential exploit using carefully crafted invalid values.","status":"published","published":"2017-11-17T09:29:00Z","modified":"2026-04-22T11:19:49.026423Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:54:14.563448Z"},{"id":"DSA-4170-1","title":"pjproject - security update","status":"published","published":"2018-04-09T00:00:00Z","modified":"2026-03-09T01:18:57.902451Z","updated_at":"2026-11-02T15:46:16.862196Z"},{"id":"USN-8122-1","title":"pjproject vulnerabilities","description":"Youngsung Kim discovered that PJSIP did not properly parse numeric header\nfields in SIP messages. A remote attacker could use this issue to cause\nPJSIP to crash, resulting in a denial of service, or possibly execute\narbitrary code. This issue only affected Ubuntu 16.04 LTS. (CVE-2017-16872)\n\nPeter Koletzki discovered that PJSIP did not properly handle certain\nconnection requests. A remote attacker could possibly use this issue to\ncause PJSIP to enter an unrecoverable state and reject further connections,\nresulting in a denial of service. This issue only affected Ubuntu 16.04\nLTS. (CVE-2017-16875)\n\nAlfred Farrugia, Sandro Gauci, and Kevin Harwell discovered that PJSIP did\nnot properly parse certain SDP messages. A remote attacker could possibly\nuse this issue to cause PJSIP to crash, resulting in a denial of service.\nThis issue only affected Ubuntu 16.04 LTS. (CVE-2018-1000098,\nCVE-2018-1000099)\n\nLauri Vänskä discovered that PJSIP did not verify hostnames when reusing\nTLS connections. If a remote attacker were able to intercept communication,\nthis flaw could possibly be exploited to view sensitive information.\n(CVE-2020-15260)\n\nIt was discovered that PJSIP did not properly handle certain sequences of\nSDP messages. A remote attacker could possibly use this issue to cause\nPJSIP to crash, resulting in a denial of service. (CVE-2021-21375)\n\nIt was discovered that the SSL socket implementation in PJSIP contained a\nrace condition. A remote attacker could possibly use this issue to cause\nPJSIP to crash, resulting in a denial of service. This issue was only\naddressed in Ubuntu 18.04 LTS. (CVE-2021-32686)\n\nIt was discovered that PJSIP did not properly parse certain STUN messages.\nA remote attacker could use this issue to cause PJSIP to crash, resulting\nin a denial of service, or possibly execute arbitrary code.\n(CVE-2021-37706)\n\nUriya Yavnieli discovered that PJSIP did not properly manage memory under\ncertain conditions. A remote attacker could use this issue to cause PJSIP\nto crash, resulting in a denial of service, or possibly execute arbitrary\ncode. (CVE-2021-43299, CVE-2021-43300, CVE-2021-43301, CVE-2021-43302,\nCVE-2021-43303)\n\nIt was discovered that PJSIP did not properly manage memory when processing\nICE session credentials. A remote attacker could use this issue to cause\nPJSIP to crash, resulting in a denial of service, or possibly execute\narbitrary code. (CVE-2026-25994)","status":"published","published":"2026-03-24T20:34:47Z","modified":"2026-06-25T13:32:31.820714227Z","updated_at":"2026-11-02T16:58:22.951676Z"}]}}
