{"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-04-16T01:40:26.909563645Z","published":"2017-04-14T04:59:00.617Z","related":["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":"ADVISORY","url":"https://github.com/FFmpeg/FFmpeg/commit/e371f031b942d73e02c090170975561fabd5c264"},{"type":"FIX","url":"https://github.com/FFmpeg/FFmpeg/commit/e371f031b942d73e02c090170975561fabd5c264"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/ffmpeg/ffmpeg","events":[{"introduced":"0"},{"fixed":"e371f031b942d73e02c090170975561fabd5c264"}]}],"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-dev","n2.9-dev","n3.1-dev","n3.2-dev","n3.3-dev"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2017-7866.json","vanir_signatures":[{"id":"CVE-2017-7866-ec38d51b","digest":{"function_hash":"87848245540106794533880653684604751285","length":923},"target":{"function":"decode_zbuf","file":"libavcodec/pngdec.c"},"source":"https://github.com/ffmpeg/ffmpeg/commit/e371f031b942d73e02c090170975561fabd5c264","deprecated":false,"signature_version":"v1","signature_type":"Function"},{"deprecated":false,"target":{"file":"libavcodec/pngdec.c"},"source":"https://github.com/ffmpeg/ffmpeg/commit/e371f031b942d73e02c090170975561fabd5c264","digest":{"threshold":0.9,"line_hashes":["26969624828945994574510710227430743973","152110117048612621381608563860232678929","78619713611657215130901403769945274675","226450398239878141006525736976696391881","269873381620780376864095488219784657838","104794154060694300416873093341203918977","86336547730151847623710273798792938735","11352064019527706633746525888505553801","195565508762400866235641672554865859381","63131409930916887312085608251988781036"]},"id":"CVE-2017-7866-f643add8","signature_version":"v1","signature_type":"Line"}]}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}