{"id":"JLSEC-2025-180","summary":"The PPM reader in libjpeg-turbo through 2.0.90 mishandles use of tjLoadImage for loading a 16-bit bi...","details":"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.","modified":"2025-11-06T23:02:57.810698Z","published":"2025-10-21T17:39:06.495Z","upstream":["CVE-2021-46822"],"database_specific":{"sources":[{"modified":"2024-11-21T06:34:45.830Z","url":"https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2021-46822","html_url":"https://nvd.nist.gov/vuln/detail/CVE-2021-46822","imported":"2025-10-21T15:03:32.808Z","published":"2022-06-18T16:15:08.110Z","id":"CVE-2021-46822"}],"license":"CC-BY-4.0"},"references":[{"type":"WEB","url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/221567"},{"type":"WEB","url":"https://github.com/libjpeg-turbo/libjpeg-turbo/commit/f35fd27ec641c42d6b115bfa595e483ec58188d2"}],"affected":[{"package":{"name":"JpegTurbo_jll","ecosystem":"Julia","purl":"pkg:julia/JpegTurbo_jll?uuid=aacddb02-875f-59d6-b918-886e6ef4fbf8"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.1.0+0"}]}],"database_specific":{"source":"https://github.com/JuliaLang/SecurityAdvisories.jl/tree/generated/osv/2025/JLSEC-2025-180.json"}}],"schema_version":"1.7.3"}