{"id":"CVE-2018-5766","aliases":["DLA-1907-1","EUVD-2018-17535","GHSA-mhfv-c2x6-4jxx","UBUNTU-CVE-2018-5766"],"status":"published","title":"In Libav through 12.2, there is an invalid memcpy in the av_packet_ref function of libavcodec...","description":"In Libav through 12.2, there is an invalid memcpy in the av_packet_ref function of libavcodec/avpacket.c. Remote attackers could leverage this vulnerability to cause a denial of service (segmentation fault) via a crafted avi file.","severity":{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.02474,"percentile":0.84657,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-119"],"published":"2018-01-18T07:00:00Z","modified":"2026-06-17T02:00:44Z","affected":[{"source":"osv","ecosystem":"Debian:8","package":"libav","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6:11.12-1~deb8u8"}]}],"versions":["6:11.11-1~deb8u1","6:11.12-1~deb8u1","6:11.12-1~deb8u2","6:11.12-1~deb8u3","6:11.12-1~deb8u4","6:11.12-1~deb8u5","6:11.12-1~deb8u6","6:11.12-1~deb8u7","6:11.3-1","6:11.3-1+deb8u1","6:11.3-2","6:11.3-3","6:11.4-1","6:11.4-1~deb8u1","6:11.4-2","6:11.4-2+x32.1","6:11.6-1~deb8u1","6:11.7-1~deb8u1","6:11.8-1~deb8u1","6:11.9-1~deb8u1"],"bundled":6},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"libav","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6:0.8.7-1ubuntu2","6:9.10-1ubuntu1","6:9.10-1ubuntu2","6:9.10-1ubuntu5","6:9.10-1ubuntu6","6:9.10-1ubuntu7","6:9.11-2ubuntu1","6:9.11-2ubuntu2","6:9.13-0ubuntu0.14.04.1","6:9.14-0ubuntu0.14.04.1","6:9.16-0ubuntu0.14.04.1","6:9.18-0ubuntu0.14.04.1","6:9.20-0ubuntu0.14.04.1","6:9.20-0ubuntu0.14.04.1+esm1"]}],"products":[{"vendor":"libav","product":"libav"}],"references":[{"url":"https://bugzilla.libav.org/show_bug.cgi?id=1112","tags":["x_refsource_MISC","x_transferred","Exploit","Issue Tracking","Third Party Advisory","report"]},{"url":"http://www.securityfocus.com/bid/102793","tags":["vdb-entry","x_refsource_BID","x_transferred","Third Party Advisory","VDB Entry"]},{"url":"https://lists.debian.org/debian-lts-announce/2019/09/msg00000.html","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-5766"},{"url":"https://github.com/advisories/GHSA-mhfv-c2x6-4jxx"},{"url":"https://ubuntu.com/security/CVE-2018-5766","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-5766","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2018-5766","description":"In Libav through 12.2, there is an invalid memcpy in the av_packet_ref function of libavcodec/avpacket.c. Remote attackers could leverage this vulnerability to cause a denial of service (segmentation fault) via a crafted avi file.","status":"published","published":"2018-01-18T07:00:00Z","modified":"2024-08-05T05:40:51.284Z","updated_at":"2026-11-02T14:35:01.28843Z"}],"euvd":[{"id":"EUVD-2018-17535","description":"In Libav through 12.2, there is an invalid memcpy in the av_packet_ref function of libavcodec/avpacket.c. Remote attackers could leverage this vulnerability to cause a denial of service (segmentation fault) via a crafted avi file.","status":"published","published":"2018-01-18T07:00:00Z","modified":"2024-08-05T05:40:51Z","updated_at":"2026-11-03T02:40:10.116776Z"}],"ghsa":[{"id":"GHSA-mhfv-c2x6-4jxx","title":"In Libav through 12.2, there is an invalid memcpy in the av_packet_ref function of libavcodec...","description":"In Libav through 12.2, there is an invalid memcpy in the av_packet_ref function of libavcodec/avpacket.c. Remote attackers could leverage this vulnerability to cause a denial of service (segmentation fault) via a crafted avi file.","status":"published","published":"2022-05-14T00:52:09Z","modified":"2023-02-02T05:02:30Z","cvss":[{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-119"],"updated_at":"2026-11-02T14:51:27.190242Z"}],"nvd":[{"id":"CVE-2018-5766","description":"In Libav through 12.2, there is an invalid memcpy in the av_packet_ref function of libavcodec/avpacket.c. Remote attackers could leverage this vulnerability to cause a denial of service (segmentation fault) via a crafted avi file.","status":"published","published":"2018-01-18T07:29:00.233Z","modified":"2026-06-17T02:00:44.86Z","cvss":[{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-119"],"updated_at":"2026-11-02T14:04:22.309028Z"}],"osv":[{"id":"UBUNTU-CVE-2018-5766","description":"In Libav through 12.2, there is an invalid memcpy in the av_packet_ref function of libavcodec/avpacket.c. Remote attackers could leverage this vulnerability to cause a denial of service (segmentation fault) via a crafted avi file.","status":"published","published":"2018-01-18T07:29:00Z","modified":"2026-04-22T11:59:50.745073Z","cvss":[{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:54:18.33562Z"},{"id":"DLA-1907-1","title":"libav - security update","status":"published","published":"2019-08-31T00:00:00Z","modified":"2026-03-09T01:19:39.933015Z","updated_at":"2026-11-02T15:46:10.227108Z"}]}}
