{"schemaVersion":3,"id":"MGASA-2022-0074","aliases":[],"status":"published","duplicateOf":null,"title":null,"description":"Updated zxing-cpp packages fix security vulnerability\n\nBuffer 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)","dates":{"published":"2022-02-18T00:14:24.000Z","modified":"2026-04-16T04:43:38.911Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":null,"severity":"unknown","version":null,"versionLabel":null,"source":null,"vector":null,"computed":false,"selection":"none"},"metrics":[]},"epss":{"probability":null,"percentile":null,"severity":"unknown","asOf":null,"change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[],"last30":[]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[],"affected":[{"vendor":"mageia","product":"zxing-cpp","name":"zxing-cpp","label":"zxing-cpp","ecosystem":"Mageia","cpePart":null,"purl":"pkg:rpm/mageia/zxing-cpp","purlType":"rpm","versions":[{"text":"< 1.1.1-2.1.mga8","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.1.1-2.1.mga8","eol":null,"hubHref":null}],"affectedCount":1,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://advisories.mageia.org/MGASA-2022-0074.html","label":"advisories.mageia.org/MGASA-2022-0074.html","hostname":"advisories.mageia.org","tags":["Advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=29937","label":"bugs.mageia.org/show_bug.cgi?id=29937","hostname":"bugs.mageia.org","tags":["REPORT"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/TPIWID3WJ3SMCA23W52QU3RW6AU7JCA7/","label":"lists.opensuse.org/archives/…","hostname":"lists.opensuse.org","tags":["WEB"]}],"lineage":{"upstream":["CVE-2021-28021","CVE-2021-42715","CVE-2021-42716"],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2022-02-18T00:14:24.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-04-16T04:43:38.911Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":0,"level":"minimal","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T01:10:39.806Z","stale":false,"partial":false}}