{"id":"JLSEC-2025-180","aliases":["JLSEC-2025-180"],"related":["CVE-2021-46822"],"kind":"vulnerability","state":"published","title":"The PPM reader in libjpeg-turbo through 2.0.90 mishandles use of tjLoadImage for loading a 16-bit...","summary":"The PPM reader in libjpeg-turbo through 2.0.90 mishandles use of tjLoadImage for loading a 16-bit binary PPM file into a grayscale buffer and loading a 16-bit binary PGM file into an RGB buffer. This is related to a heap-based buffer overflow in the `get_word_rgb_row` function in rdppm.c.","summaryFormat":"markdown","summarySource":"jlsec","descriptions":[{"lang":"en","text":"The PPM reader in libjpeg-turbo through 2.0.90 mishandles use of tjLoadImage for loading a 16-bit binary PPM file into a grayscale buffer and loading a 16-bit binary PGM file into an RGB buffer. This is related to a heap-based buffer overflow in the `get_word_rgb_row` function in rdppm.c.","format":"markdown","source":"jlsec"}],"published":"2025-10-21T17:39:06.495Z","modified":"2026-07-23T22:30:17.284Z","severity":{"scorer":"Julia Security Advisories","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"Julia Security Advisories","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:N/I:N/A:P"},{"scorer":"Julia Security Advisories","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.1.0+0"}],"ecosystem":"Julia","package":"JpegTurbo_jll","purl":"pkg:julia/JpegTurbo_jll?uuid=aacddb02-875f-59d6-b918-886e6ef4fbf8","source":"jlsec"}],"references":[{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/221567","tags":["web"],"sources":["jlsec"]},{"url":"https://github.com/libjpeg-turbo/libjpeg-turbo/commit/f35fd27ec641c42d6b115bfa595e483ec58188d2","tags":["web"],"sources":["jlsec"]}],"credits":[],"sources":[{"source":"jlsec","name":"Julia Security Advisories","id":"JLSEC-2025-180","url":"https://osv.dev/vulnerability/JLSEC-2025-180","licence":"CC-BY-4.0","modified":"2026-07-23T22:30:17.284Z"}],"updatedAt":"2026-11-25T22:56:25.761Z"}