{"schemaVersion":3,"id":"CVE-2021-29390","aliases":["RHSA-2024:2295","UBUNTU-CVE-2021-29390"],"status":"published","duplicateOf":null,"title":null,"description":"libjpeg-turbo version 2.0.90 has a heap-based buffer over-read (2 bytes) in decompress_smooth_data in jdcoefct.c.","dates":{"published":"2023-08-22T00:00:00.000Z","modified":"2024-10-04T16:11:31.673Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.1,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"OSV · Red hat","score":7.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H","exploitability":7.2,"impact":7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":7.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H","exploitability":7.2,"impact":7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00822,"percentile":0.56593,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00822},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00822,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00822,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00822,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00822,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00822,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00822,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00822,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00822,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00822,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00822,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00822,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00822,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00822,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00822,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00822,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00822,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00822,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00822,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00822,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00822,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00822,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00822,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00822,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00822,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00822,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00822,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00822,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00822,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00822,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00822,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00822,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00822,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00822,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00822,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00822,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00822,"percentile":0.56593}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00822,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00822,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00822,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00822,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00822,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00822,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00822,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00822,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00822,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00822,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00822,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00822,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00822,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00822,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00822,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00822,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00822,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00822,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00822,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00822,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00822,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00822,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00822,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00822,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00822,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00822,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00822,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00822,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00822,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00822,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00822,"percentile":0.56593}]},"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":[{"id":"CWE-787","name":"Out-of-bounds Write","description":"The product writes data past the end, or before the beginning, of the intended buffer.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/787.html"}],"affected":[{"vendor":"ubuntu","product":"libjpeg-turbo","name":"libjpeg-turbo","label":"libjpeg-turbo","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/libjpeg-turbo","purlType":"deb","versions":[{"text":"< 2.1.2-0ubuntu1","noFixRecorded":false,"fixedIn":null},{"text":"< 2.1.5-2ubuntu1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.1.2-0ubuntu1 | < 2.1.5-2ubuntu1","eol":null,"hubHref":null},{"vendor":"fedoraproject","product":"fedora","name":"fedora","label":"fedora","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"37","noFixRecorded":false,"fixedIn":null},{"text":"38","noFixRecorded":false,"fixedIn":null},{"text":"39","noFixRecorded":false,"fixedIn":null}],"versionsText":"37 | 38 | 39","eol":{"isEol":true,"eolDate":"2023-12-05T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"37","label":"37","eolFrom":"2023-12-05T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":null},"product":{"name":"fedora","label":"Fedora Linux","category":"os"}},"hubHref":"/vendor/fedoraproject/fedora"},{"vendor":"libjpeg-turbo","product":"libjpeg-turbo","name":"libjpeg-turbo","label":"libjpeg-turbo","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"2.0.90","noFixRecorded":false,"fixedIn":null}],"versionsText":"2.0.90","eol":null,"hubHref":"/vendor/libjpeg-turbo/libjpeg-turbo"},{"vendor":"redhat","product":"libjpeg-turbo","name":"libjpeg-turbo","label":"libjpeg-turbo","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/libjpeg-turbo","purlType":"rpm","versions":[{"text":"< 0:2.0.90-7.el9","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:2.0.90-7.el9","eol":null,"hubHref":null},{"vendor":"redhat","product":"libjpeg-turbo-debuginfo","name":"libjpeg-turbo-debuginfo","label":"libjpeg-turbo-debuginfo","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/libjpeg-turbo-debuginfo","purlType":"rpm","versions":[{"text":"< 0:2.0.90-7.el9","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:2.0.90-7.el9","eol":null,"hubHref":null},{"vendor":"redhat","product":"libjpeg-turbo-debugsource","name":"libjpeg-turbo-debugsource","label":"libjpeg-turbo-debugsource","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/libjpeg-turbo-debugsource","purlType":"rpm","versions":[{"text":"< 0:2.0.90-7.el9","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:2.0.90-7.el9","eol":null,"hubHref":null},{"vendor":"redhat","product":"libjpeg-turbo-devel","name":"libjpeg-turbo-devel","label":"libjpeg-turbo-devel","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/libjpeg-turbo-devel","purlType":"rpm","versions":[{"text":"< 0:2.0.90-7.el9","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:2.0.90-7.el9","eol":null,"hubHref":null},{"vendor":"redhat","product":"libjpeg-turbo-utils","name":"libjpeg-turbo-utils","label":"libjpeg-turbo-utils","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/libjpeg-turbo-utils","purlType":"rpm","versions":[{"text":"< 0:2.0.90-7.el9","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:2.0.90-7.el9","eol":null,"hubHref":null},{"vendor":"redhat","product":"libjpeg-turbo-utils-debuginfo","name":"libjpeg-turbo-utils-debuginfo","label":"libjpeg-turbo-utils-debuginfo","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/libjpeg-turbo-utils-debuginfo","purlType":"rpm","versions":[{"text":"< 0:2.0.90-7.el9","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:2.0.90-7.el9","eol":null,"hubHref":null},{"vendor":"redhat","product":"turbojpeg","name":"turbojpeg","label":"turbojpeg","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/turbojpeg","purlType":"rpm","versions":[{"text":"< 0:2.0.90-7.el9","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:2.0.90-7.el9","eol":null,"hubHref":null},{"vendor":"redhat","product":"turbojpeg-debuginfo","name":"turbojpeg-debuginfo","label":"turbojpeg-debuginfo","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/turbojpeg-debuginfo","purlType":"rpm","versions":[{"text":"< 0:2.0.90-7.el9","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:2.0.90-7.el9","eol":null,"hubHref":null},{"vendor":"redhat","product":"turbojpeg-devel","name":"turbojpeg-devel","label":"turbojpeg-devel","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/turbojpeg-devel","purlType":"rpm","versions":[{"text":"< 0:2.0.90-7.el9","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:2.0.90-7.el9","eol":null,"hubHref":null}],"affectedCount":12,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1943797","label":"bugzilla.redhat.com/show_bug.cgi?id=1943797","hostname":"bugzilla.redhat.com","tags":["Issue Tracking","Permissions Required"]},{"url":"https://github.com/libjpeg-turbo/libjpeg-turbo/blob/4e52b66f342a803d3b8099b79607e3158d3a241c/jdcoefct.c#L595","label":"github.com/libjpeg-turbo/libjpeg-turbo/blob/4e52b66f342a803d3b8099b79607e3158d3a241c/jdcoefct.c","hostname":"github.com","tags":["Issue Tracking"]},{"url":"https://github.com/libjpeg-turbo/libjpeg-turbo/commits/main/jdcoefct.c","label":"github.com/libjpeg-turbo/libjpeg-turbo/commits/main/jdcoefct.c","hostname":"github.com","tags":["Patch"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/27NR3KG553CG6LGPMP6SHWEVHTYPL6RC/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6T655QF7CQ3DYAMPFV7IECQYGDEUIVVT/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KUQ7CTX3W372X3UY56VVNAHCH6H2F4X3/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2024:2295","label":"access.redhat.com/errata/RHSA-2024:2295","hostname":"access.redhat.com","tags":["Advisory"]},{"url":"https://access.redhat.com/security/updates/classification/#moderate","label":"access.redhat.com/security/updates/classification/","hostname":"access.redhat.com","tags":["ARTICLE"]},{"url":"https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9/html/9.4_release_notes/index","label":"access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9/html/9.4_release_notes/index","hostname":"access.redhat.com","tags":["ARTICLE"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2235521","label":"bugzilla.redhat.com/show_bug.cgi?id=2235521","hostname":"bugzilla.redhat.com","tags":["REPORT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2024/rhsa-2024_2295.json","label":"security.access.redhat.com/data/csaf/v2/advisories/2024/rhsa-2024_2295.json","hostname":"security.access.redhat.com","tags":["Advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2021-29390","label":"access.redhat.com/security/cve/CVE-2021-29390","hostname":"access.redhat.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-29390","label":"www.cve.org/CVERecord?id=CVE-2021-29390","hostname":"www.cve.org","tags":["Advisory","REPORT"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-29390","label":"nvd.nist.gov/vuln/detail/CVE-2021-29390","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/libjpeg-turbo/libjpeg-turbo/commit/ccaba5d7894ecfb5a8f11e48d3f86e1f14d5a469","label":"github.com/libjpeg-turbo/libjpeg-turbo/commit/ccaba5d7894ecfb5a8f11e48d3f86e1f14d5a469","hostname":"github.com","tags":["ARTICLE"]},{"url":"https://github.com/libjpeg-turbo/libjpeg-turbo/issues/459#issuecomment-733720010","label":"github.com/libjpeg-turbo/libjpeg-turbo/issues/459","hostname":"github.com","tags":["ARTICLE"]},{"url":"https://github.com/libjpeg-turbo/libjpeg-turbo/pull/476","label":"github.com/libjpeg-turbo/libjpeg-turbo/pull/476","hostname":"github.com","tags":["ARTICLE"]},{"url":"https://github.com/libjpeg-turbo/libjpeg-turbo/pull/724","label":"github.com/libjpeg-turbo/libjpeg-turbo/pull/724","hostname":"github.com","tags":["ARTICLE"]},{"url":"https://ubuntu.com/security/CVE-2021-29390","label":"ubuntu.com/security/CVE-2021-29390","hostname":"ubuntu.com","tags":["REPORT"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2023-08-22T00:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-10-04T16:11:31.673Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":29,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T01:54:18.424Z","stale":false,"partial":false}}