{"id":"MGASA-2022-0074","summary":"Updated zxing-cpp packages fix security vulnerability","details":"Buffer overflow vulnerability in function stbi__extend_receive in stb_image.h\nin stb 2.26 via a crafted JPEG file. (CVE-2021-28021)\n\nAn issue was discovered in stb stb_image.h 1.33 through 2.27. The HDR loader\nparsed truncated end-of-file RLE scanlines as an infinite sequence of\nzero-length runs. An attacker could potentially have caused denial of service\nin applications using stb_image by submitting crafted HDR files.\n(CVE-2021-42715)\n\nAn issue was discovered in stb stb_image.h 2.27. The PNM loader incorrectly\ninterpreted 16-bit PGM files as 8-bit when converting to RGBA, leading to a\nbuffer overflow when later reinterpreting the result as a 16-bit buffer. An\nattacker could potentially have crashed a service using stb_image, or read up\nto 1024 bytes of non-consecutive heap data without control over the read\nlocation. (CVE-2021-42716)\n","modified":"2026-02-04T03:19:32.158689Z","published":"2022-02-18T00:14:24Z","related":["CVE-2021-28021","CVE-2021-42715","CVE-2021-42716"],"references":[{"type":"ADVISORY","url":"https://advisories.mageia.org/MGASA-2022-0074.html"},{"type":"REPORT","url":"https://bugs.mageia.org/show_bug.cgi?id=29937"},{"type":"REPORT","url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/TPIWID3WJ3SMCA23W52QU3RW6AU7JCA7/"}],"affected":[{"package":{"name":"zxing-cpp","ecosystem":"Mageia:8","purl":"pkg:rpm/mageia/zxing-cpp?arch=source&distro=mageia-8"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.1-2.1.mga8"}]}],"ecosystem_specific":{"section":"core"},"database_specific":{"source":"https://advisories.mageia.org/MGASA-2022-0074.json"}}],"schema_version":"1.7.3","credits":[{"name":"Mageia","contact":["https://wiki.mageia.org/en/Packages_Security_Team"],"type":"COORDINATOR"}]}