{"id":"CVE-2011-0495","aliases":["DEBIAN-CVE-2011-0495","DSA-2171-1","EUVD-2011-0515","GHSA-27ph-x57w-v4gm"],"status":"published","title":"Stack-based buffer overflow in the ast_uri_encode function in main/utils.c in Asterisk Open...","description":"Stack-based buffer overflow in the ast_uri_encode function in main/utils.c in Asterisk Open Source before 1.4.38.1, 1.4.39.1, 1.6.1.21, 1.6.2.15.1, 1.6.2.16.1, 1.8.1.2, 1.8.2.; and Business Edition before C.3.6.2; when running in pedantic mode allows remote authenticated users to execute arbitrary code via crafted caller ID data in vectors involving the (1) SIP channel driver, (2) URIENCODE dialplan function, or (3) AGI dialplan function.","severity":{"version":"2.0","score":6,"vector":"AV:N/AC:M/Au:S/C:P/I:P/A:P","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.04206,"percentile":0.91031,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-787"],"published":"2011-01-20T18:00:00Z","modified":"2026-10-23T17:47:25Z","fixes":[{"ecosystem":"Debian:14","package":"asterisk","fixed_in":["1:1.6.2.9-2+squeeze1"],"sources":["osv"]},{"ecosystem":"Debian:6.0","package":"asterisk","fixed_in":["1:1.6.2.9-2+squeeze1"],"sources":["osv"]},{"ecosystem":"Debian:5.0","package":"asterisk","fixed_in":["1:1.4.21.2~dfsg-3+lenny2"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:14","package":"asterisk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:1.6.2.9-2+squeeze1"}]}],"versions":["0.1.11-3","0.1.11-3woody1","1:1.0.5-2","1:1.0.5-4","1:1.0.6-1","1:1.0.6-2","1:1.0.7-1","1:1.0.7.dfsg.1-1","1:1.0.7.dfsg.1-2","1:1.0.7.dfsg.1-2sarge1","1:1.0.7.dfsg.1-2sarge2","1:1.0.7.dfsg.1-2sarge3","1:1.0.7.dfsg.1-2sarge4","1:1.0.7.dfsg.1-2sarge5","1:1.0.7.dfsg.1-2sarge6","1:1.0.9.dfsg-1","1:1.0.9.dfsg-3","1:1.0.9.dfsg-4","1:1.0.9.dfsg-5","1:1.0.9.dfsg-6","1:1.2.0-beta1.dfsg-1","1:1.2.0-beta2.dfsg-1","1:1.2.0-beta2.dfsg-2","1:1.2.0-beta2.dfsg-3","1:1.2.0-rc1.dfsg-1","1:1.2.0-rc2.dfsg-1","1:1.2.0.dfsg-1","1:1.2.0.dfsg-2","1:1.2.0.dfsg-3","1:1.2.0.dfsg-4","1:1.2.0.dfsg-5","1:1.2.0.dfsg-6","1:1.2.1.dfsg-1","1:1.2.1.dfsg-2","1:1.2.1.dfsg-3","1:1.2.10.dfsg-1","1:1.2.10.dfsg-1bpo1","1:1.2.10.dfsg-2","1:1.2.10.dfsg-3","1:1.2.11.dfsg-1","1:1.2.12.1.dfsg-1","1:1.2.13~dfsg-1","1:1.2.13~dfsg-2","1:1.2.13~dfsg-2etch1","1:1.2.13~dfsg-2etch2","1:1.2.13~dfsg-2etch3","1:1.2.13~dfsg-2etch4","1:1.2.14~dfsg-1","1:1.2.14~dfsg-2","1:1.2.14~dfsg-3","1:1.2.14~dfsg-4","1:1.2.15~dfsg-1","1:1.2.16~dfsg-1","1:1.2.17~dfsg-1","1:1.2.4.dfsg-1","1:1.2.4.dfsg-2","1:1.2.4.dfsg-3","1:1.2.4.dfsg-4","1:1.2.4.dfsg-5","1:1.2.4.dfsg-6","1:1.2.4.dfsg-6+b1","1:1.2.4.dfsg-7","1:1.2.7.1.dfsg-1","1:1.2.7.1.dfsg-2","1:1.2.7.1.dfsg-3","1:1.2.9.1.dfsg-1","1:1.4.10~dfsg-1","1:1.4.11~dfsg-1","1:1.4.11~dfsg-2","1:1.4.11~dfsg-3","1:1.4.11~dfsg-4","1:1.4.13~dfsg-1","1:1.4.15~dfsg-1","1:1.4.16.2~dfsg-1","1:1.4.16.2~dfsg-2","1:1.4.17~dfsg-1","1:1.4.17~dfsg-2","1:1.4.18.1~dfsg-1","1:1.4.18~dfsg-1","1:1.4.19.1~dfsg-1","1:1.4.20~dfsg-1","1:1.4.21.1~dfsg-1","1:1.4.21.2~dfsg-1","1:1.4.21.2~dfsg-2","1:1.4.21.2~dfsg-3","1:1.4.21.2~dfsg-3+lenny1","1:1.4.21.2~dfsg-3+lenny2","1:1.4.21.2~dfsg-3+lenny2.1","1:1.4.21.2~dfsg-3+lenny3","1:1.4.21.2~dfsg-3+lenny5","1:1.4.21.2~dfsg-3+lenny6","1:1.4.21.2~dfsg-3.1","1:1.4.2~dfsg-1","1:1.4.2~dfsg-2","1:1.4.2~dfsg-3","1:1.4.2~dfsg-4","1:1.4.2~dfsg-5","1:1.4.3~dfsg-1","1:1.4.4~dfsg-1","1:1.4.4~dfsg-2","1:1.4.4~dfsg-3","1:1.4.5~dfsg-1","1:1.4.6~dfsg-1","1:1.4.8~dfsg-1","1:1.4.8~dfsg-2","1:1.4.9~dfsg-1","1:1.6.1.0~dfsg-1","1:1.6.1.0~dfsg~rc3-1","1:1.6.2.0-1","1:1.6.2.0~dfsg~beta3-1","1:1.6.2.0~dfsg~rc1-1","1:1.6.2.0~rc3-1","1:1.6.2.0~rc3-2","1:1.6.2.0~rc6-1","1:1.6.2.0~rc7-1","1:1.6.2.2-1","1:1.6.2.6-1","1:1.6.2.7-1","1:1.6.2.9-1","1:1.6.2.9-1~bpo50+1","1:1.6.2.9-1~bpo50+2","1:1.6.2.9-1~bpo50+3","1:1.6.2.9-2"]},{"source":"osv","ecosystem":"Debian:6.0","package":"asterisk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:1.6.2.9-2+squeeze1"}]}],"versions":["1:1.6.2.9-2"]},{"source":"osv","ecosystem":"Debian:5.0","package":"asterisk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:1.4.21.2~dfsg-3+lenny2"}]}],"versions":["1:1.4.21.2~dfsg-3","1:1.4.21.2~dfsg-3+lenny1"]}],"products":[{"vendor":"debian","product":"debian_linux"},{"vendor":"digium","product":"asterisk"},{"vendor":"digium","product":"asterisknow"},{"vendor":"digium","product":"s800i_firmware"},{"vendor":"fedoraproject","product":"fedora"}],"references":[{"url":"http://www.vupen.com/english/advisories/2011/0159","tags":["vdb-entry","x_refsource_VUPEN","x_transferred","Permissions Required","report"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2011-February/053713.html","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","Third Party Advisory","advisory"]},{"url":"http://downloads.asterisk.org/pub/security/AST-2011-001.html","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","advisory"]},{"url":"http://secunia.com/advisories/43373","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Third Party Advisory","advisory"]},{"url":"http://www.vupen.com/english/advisories/2011/0449","tags":["vdb-entry","x_refsource_VUPEN","x_transferred","Permissions Required","report"]},{"url":"http://osvdb.org/70518","tags":["vdb-entry","x_refsource_OSVDB","x_transferred","Broken Link","web"]},{"url":"http://www.securityfocus.com/bid/45839","tags":["vdb-entry","x_refsource_BID","x_transferred","Third Party Advisory","VDB Entry","advisory"]},{"url":"http://www.vupen.com/english/advisories/2011/0281","tags":["vdb-entry","x_refsource_VUPEN","x_transferred","Permissions Required","report"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2011-February/053689.html","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","Third Party Advisory","advisory"]},{"url":"http://www.debian.org/security/2011/dsa-2171","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","Third Party Advisory","advisory"]},{"url":"http://secunia.com/advisories/43119","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Third Party Advisory","advisory"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/64831","tags":["vdb-entry","x_refsource_XF","x_transferred","Third Party Advisory","VDB Entry","advisory"]},{"url":"http://downloads.asterisk.org/pub/security/AST-2011-001-1.6.2.diff","tags":["x_refsource_MISC","x_transferred","Patch","Vendor Advisory","advisory","fix"]},{"url":"http://www.securityfocus.com/archive/1/515781/100/0/threaded","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred","Third Party Advisory","VDB Entry","advisory"]},{"url":"http://secunia.com/advisories/42935","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Third Party Advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2011-0495"},{"url":"https://github.com/advisories/GHSA-27ph-x57w-v4gm"},{"url":"https://security-tracker.debian.org/tracker/CVE-2011-0495","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2011-0495","description":"Stack-based buffer overflow in the ast_uri_encode function in main/utils.c in Asterisk Open Source before 1.4.38.1, 1.4.39.1, 1.6.1.21, 1.6.2.15.1, 1.6.2.16.1, 1.8.1.2, 1.8.2.; and Business Edition before C.3.6.2; when running in pedantic mode allows remote authenticated users to execute arbitrary code via crafted caller ID data in vectors involving the (1) SIP channel driver, (2) URIENCODE dialplan function, or (3) AGI dialplan function.","status":"published","published":"2011-01-20T18:00:00Z","modified":"2024-08-06T21:58:24.451Z","updated_at":"2026-11-02T14:35:39.447402Z"}],"euvd":[{"id":"EUVD-2011-0515","description":"Stack-based buffer overflow in the ast_uri_encode function in main/utils.c in Asterisk Open Source before 1.4.38.1, 1.4.39.1, 1.6.1.21, 1.6.2.15.1, 1.6.2.16.1, 1.8.1.2, 1.8.2.; and Business Edition before C.3.6.2; when running in pedantic mode allows remote authenticated users to execute arbitrary code via crafted caller ID data in vectors involving the (1) SIP channel driver, (2) URIENCODE dialplan function, or (3) AGI dialplan function.","status":"published","published":"2011-01-20T18:00:00Z","modified":"2024-08-06T21:58:24Z","updated_at":"2026-11-03T01:56:00.140679Z"}],"ghsa":[{"id":"GHSA-27ph-x57w-v4gm","title":"Stack-based buffer overflow in the ast_uri_encode function in main/utils.c in Asterisk Open...","description":"Stack-based buffer overflow in the ast_uri_encode function in main/utils.c in Asterisk Open Source before 1.4.38.1, 1.4.39.1, 1.6.1.21, 1.6.2.15.1, 1.6.2.16.1, 1.8.1.2, 1.8.2.; and Business Edition before C.3.6.2; when running in pedantic mode allows remote authenticated users to execute arbitrary code via crafted caller ID data in vectors involving the (1) SIP channel driver, (2) URIENCODE dialplan function, or (3) AGI dialplan function.","status":"published","published":"2022-05-13T01:25:18Z","modified":"2023-02-01T05:07:15Z","cwes":["CWE-787"],"updated_at":"2026-11-02T14:50:30.568005Z"}],"nvd":[{"id":"CVE-2011-0495","description":"Stack-based buffer overflow in the ast_uri_encode function in main/utils.c in Asterisk Open Source before 1.4.38.1, 1.4.39.1, 1.6.1.21, 1.6.2.15.1, 1.6.2.16.1, 1.8.1.2, 1.8.2.; and Business Edition before C.3.6.2; when running in pedantic mode allows remote authenticated users to execute arbitrary code via crafted caller ID data in vectors involving the (1) SIP channel driver, (2) URIENCODE dialplan function, or (3) AGI dialplan function.","status":"published","published":"2011-01-20T19:00:08.6Z","modified":"2026-06-16T23:27:30.307Z","cvss":[{"version":"2.0","score":6,"vector":"AV:N/AC:M/Au:S/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-787"],"updated_at":"2026-11-02T14:02:06.042049Z"}],"osv":[{"id":"CVE-2011-0495","description":"Stack-based buffer overflow in the ast_uri_encode function in main/utils.c in Asterisk Open Source before 1.4.38.1, 1.4.39.1, 1.6.1.21, 1.6.2.15.1, 1.6.2.16.1, 1.8.1.2, 1.8.2.; and Business Edition before C.3.6.2; when running in pedantic mode allows remote authenticated users to execute arbitrary code via crafted caller ID data in vectors involving the (1) SIP channel driver, (2) URIENCODE dialplan function, or (3) AGI dialplan function.","status":"published","published":"2011-01-20T19:00:08Z","modified":"2026-04-10T03:41:37.166761Z","updated_at":"2026-11-02T15:43:57.991581Z"},{"id":"DEBIAN-CVE-2011-0495","description":"Stack-based buffer overflow in the ast_uri_encode function in main/utils.c in Asterisk Open Source before 1.4.38.1, 1.4.39.1, 1.6.1.21, 1.6.2.15.1, 1.6.2.16.1, 1.8.1.2, 1.8.2.; and Business Edition before C.3.6.2; when running in pedantic mode allows remote authenticated users to execute arbitrary code via crafted caller ID data in vectors involving the (1) SIP channel driver, (2) URIENCODE dialplan function, or (3) AGI dialplan function.","status":"published","published":"2011-01-20T19:00:08.6Z","modified":"2026-10-23T17:47:25.203663824Z","updated_at":"2026-11-02T15:45:24.316685Z"},{"id":"DSA-2171-1","title":"asterisk - buffer overflow","status":"published","published":"2011-02-21T00:00:00Z","modified":"2026-03-09T01:20:26.88604Z","updated_at":"2026-11-02T15:46:15.108335Z"}]}}
