{"id":"CVE-2017-7866","details":"FFmpeg before 2017-01-23 has an out-of-bounds write caused by a stack-based buffer overflow related to the decode_zbuf function in libavcodec/pngdec.c.","modified":"2026-03-14T09:24:20.444671Z","published":"2017-04-14T04:59:00.617Z","related":["MGASA-2018-0008","openSUSE-SU-2017:1532-1","openSUSE-SU-2024:10754-1"],"references":[{"type":"ADVISORY","url":"http://www.securityfocus.com/bid/97664"},{"type":"ADVISORY","url":"https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=444"},{"type":"FIX","url":"https://github.com/FFmpeg/FFmpeg/commit/e371f031b942d73e02c090170975561fabd5c264"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/ffmpeg/ffmpeg","events":[{"introduced":"0"},{"last_affected":"fb93771072cfcbdd523d9f4bcd7682ee8b7f5578"},{"fixed":"e371f031b942d73e02c090170975561fabd5c264"}],"database_specific":{"versions":[{"introduced":"0"},{"last_affected":"2.8.9"}]}}],"versions":["N","n0.11-dev","n0.12-dev","n0.8","n1.1-dev","n1.2-dev","n1.3-dev","n2.0","n2.1-dev","n2.2-dev","n2.3-dev","n2.4-dev","n2.5-dev","n2.6-dev","n2.7-dev","n2.8","n2.8-dev","n2.8.1","n2.8.2","n2.8.3","n2.8.4","n2.8.5","n2.8.6","n2.8.7","n2.8.8","n2.8.9"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-7866.json","vanir_signatures":[{"signature_version":"v1","id":"CVE-2017-7866-ec38d51b","source":"https://github.com/ffmpeg/ffmpeg/commit/e371f031b942d73e02c090170975561fabd5c264","digest":{"function_hash":"87848245540106794533880653684604751285","length":923},"deprecated":false,"target":{"file":"libavcodec/pngdec.c","function":"decode_zbuf"},"signature_type":"Function"},{"signature_version":"v1","id":"CVE-2017-7866-f643add8","source":"https://github.com/ffmpeg/ffmpeg/commit/e371f031b942d73e02c090170975561fabd5c264","digest":{"threshold":0.9,"line_hashes":["26969624828945994574510710227430743973","152110117048612621381608563860232678929","78619713611657215130901403769945274675","226450398239878141006525736976696391881","269873381620780376864095488219784657838","104794154060694300416873093341203918977","86336547730151847623710273798792938735","11352064019527706633746525888505553801","195565508762400866235641672554865859381","63131409930916887312085608251988781036"]},"deprecated":false,"target":{"file":"libavcodec/pngdec.c"},"signature_type":"Line"}]}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}