{"id":"CVE-2024-22640","aliases":["DEBIAN-CVE-2024-22640","DLA-4199-1","DSA-5933-1","EUVD-2024-1258","GHSA-mx3p-fhpw-x6rv","MGASA-2024-0169","UBUNTU-CVE-2024-22640"],"status":"published","title":"TCPDF vulnerable to Regular Expression Denial of Service","description":"TCPDF version \u003c=6.6.5 is vulnerable to ReDoS (Regular Expression Denial of Service) if parsing an untrusted HTML page with a crafted color.","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"adp","from":"cve"},"epss":{"day":"2026-11-12","score":0.01325,"percentile":0.71372,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"cwes":["CWE-1333"],"published":"2024-04-19T00:00:00Z","modified":"2026-11-02T12:00:45Z","exploits":[{"source":"pocgithub","id":"zunak/CVE-2024-22640","title":"zunak/CVE-2024-22640","date":"2024-04-01","url":"https://github.com/zunak/CVE-2024-22640"}],"fixes":[{"ecosystem":"Packagist","package":"tecnickcom/tcpdf","fixed_in":["6.7.5"],"sources":["ghsa","osv"]},{"ecosystem":"Debian:12","package":"tcpdf","fixed_in":["6.6.2+dfsg1-1+deb12u1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"tcpdf","fixed_in":["6.7.5+dfsg-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"tcpdf","fixed_in":["6.7.5+dfsg-1"],"sources":["osv"]},{"ecosystem":"Mageia:9","package":"php-tcpdf","fixed_in":["6.5.0-1.1.mga9"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"Packagist","package":"tecnickcom/tcpdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"6.7.4"},{"fixed":"6.7.5"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"tcpdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.6.2+dfsg1-1+deb12u1"}]}],"versions":["6.6.2+dfsg1-1"]},{"source":"osv","ecosystem":"Debian:13","package":"tcpdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.7.5+dfsg-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"tcpdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.7.5+dfsg-1"}]}]},{"source":"osv","ecosystem":"Debian:11","package":"tcpdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.3.5+dfsg1-1+deb11u1"}]}],"versions":["6.3.5+dfsg1-1"],"bundled":8},{"source":"osv","ecosystem":"Debian:12","package":"tcpdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.6.2+dfsg1-1+deb12u1"}]}],"versions":["6.6.2+dfsg1-1"],"bundled":8},{"source":"osv","ecosystem":"Packagist","package":"tecnickcom/tcpdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.7.5"}]}],"versions":["6.0.013","6.0.014","6.0.015","6.0.016","6.0.017","6.0.018","6.0.019","6.0.020","6.0.021","6.0.022","6.0.023","6.0.024","6.0.025","6.0.026","6.0.027","6.0.028","6.0.029","6.0.030","6.0.031","6.0.032","6.0.033","6.0.034","6.0.035","6.0.036","6.0.037","6.0.038","6.0.039","6.0.040","6.0.041","6.0.042","6.0.043","6.0.044","6.0.045","6.0.046","6.0.047","6.0.048","6.0.049","6.0.050","6.0.051","6.0.052","6.0.053","6.0.054","6.0.055","6.0.056","6.0.057","6.0.058","6.0.059","6.0.060","6.0.061","6.0.062","6.0.063","6.0.064","6.0.065","6.0.066","6.0.067","6.0.068","6.0.069","6.0.070","6.0.071","6.0.072","6.0.073","6.0.074","6.0.075","6.0.076","6.0.077","6.0.078","6.0.079","6.0.080","6.0.081","6.0.082","6.0.083","6.0.084","6.0.085","6.0.086","6.0.087","6.0.088","6.0.089","6.0.090","6.0.091","6.0.092","6.0.093","6.0.094","6.0.095","6.0.096","6.0.097","6.0.098","6.0.099","6.1.0","6.1.1","6.2.0","6.2.1","6.2.10","6.2.11","6.2.12","6.2.13","6.2.16","6.2.17","6.2.19","6.2.2","6.2.20","6.2.21","6.2.22","6.2.23","6.2.25","6.2.26","6.2.3","6.2.4","6.2.5","6.2.6","6.2.7","6.2.8","6.2.9","6.3.0","6.3.1","6.3.2","6.3.3","6.3.4","6.3.5","6.4.1","6.4.2","6.4.3","6.4.4","6.5.0","6.6.0","6.6.1","6.6.2","6.7.4"]},{"source":"osv","ecosystem":"Mageia:9","package":"php-tcpdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.5.0-1.1.mga9"}]}]},{"source":"osv","ecosystem":"Ubuntu:14.04:LTS","package":"tcpdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.0.010+dfsg-1","6.0.021+dfsg-1","6.0.048+dfsg-1","6.0.048+dfsg-2"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"tcpdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.0.093+dfsg-1","6.0.093+dfsg-1ubuntu1"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"tcpdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.2.12+dfsg2-1ubuntu1","6.2.13+dfsg-1","6.2.13+dfsg-1ubuntu1"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"tcpdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.2.13+dfsg-1ubuntu1","6.3.2+dfsg1-1","6.3.4+dfsg1-1","6.3.5+dfsg1-1"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"tcpdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.3.5+dfsg1-1","6.4.2+dfsg1-1","6.4.4+dfsg1-1"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"tcpdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.6.2+dfsg1-1","6.6.5+dfsg-1","6.7.4+dfsg-1","6.7.5+dfsg-1"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"tcpdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.8.2+dfsg-1","6.9.1+dfsg-1"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"tcpdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.11.2+dfsg-2"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"tcpdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.9.1+dfsg-1","6.10.1+dfsg-1","6.10.1+dfsg-2","6.10.1+dfsg-2ubuntu1","6.10.1+dfsg-2ubuntu2","6.11.2+dfsg-2"]}],"products":[{"vendor":"fedoraproject","product":"fedora"},{"vendor":"tcpdf_project","product":"tcpdf"}],"references":[{"url":"https://github.com/tecnickcom/TCPDF","tags":["x_transferred","Product","package","report"]},{"url":"https://github.com/zunak/CVE-2024-22640","tags":["x_transferred","Exploit","Third Party Advisory","package","web","report"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LIB3R2WB7XPW2I4PGVMZ3VLFLRHOK4RB/","tags":["vendor-advisory","x_transferred","Third Party Advisory","advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/06/msg00004.html","tags":["web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LIB3R2WB7XPW2I4PGVMZ3VLFLRHOK4RB/","tags":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-22640","tags":["advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LIB3R2WB7XPW2I4PGVMZ3VLFLRHOK4RB","tags":["web"]},{"url":"https://github.com/tecnickcom/TCPDF/commit/05f3a28f4a7905019469e040cf77e53d6aa7f679","tags":["web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LIB3R2WB7XPW2I4PGVMZ3VLFLRHOK4RB","tags":["web"]},{"url":"https://github.com/advisories/GHSA-mx3p-fhpw-x6rv"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/22xxx/CVE-2024-22640.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2024-22640","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2024-0169.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=33173","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2024-22640","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2024-22640","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2276090","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2024-22640","description":"TCPDF version \u003c=6.6.5 is vulnerable to ReDoS (Regular Expression Denial of Service) if parsing an untrusted HTML page with a crafted color.","status":"published","published":"2024-04-19T00:00:00Z","modified":"2025-11-04T17:14:19.948Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"adp"}],"cwes":["CWE-1333"],"updated_at":"2026-11-02T14:34:00.254134Z"}],"euvd":[{"id":"EUVD-2024-1258","description":"TCPDF version \u003c=6.6.5 is vulnerable to ReDoS (Regular Expression Denial of Service) if parsing an untrusted HTML page with a crafted color.","status":"published","published":"2024-04-19T00:00:00Z","modified":"2025-11-04T17:14:19Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T19:49:28.381167Z"}],"ghsa":[{"id":"GHSA-mx3p-fhpw-x6rv","title":"TCPDF vulnerable to Regular Expression Denial of Service","description":"TCPDF version \u003c= 6.7.4 is vulnerable to ReDoS (Regular Expression Denial of Service) if parsing an untrusted HTML page with a crafted color.","status":"published","published":"2024-04-19T18:31:11Z","modified":"2025-11-04T19:45:35Z","cvss":[{"version":"4.0","score":5.1,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","level":"medium"}],"cwes":["CWE-1333"],"updated_at":"2026-11-02T14:39:06.376137Z"}],"nvd":[{"id":"CVE-2024-22640","description":"TCPDF version \u003c=6.6.5 is vulnerable to ReDoS (Regular Expression Denial of Service) if parsing an untrusted HTML page with a crafted color.","status":"published","published":"2024-04-19T16:15:09.63Z","modified":"2026-06-17T07:11:38.227Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"secondary"}],"cwes":["CWE-1333"],"updated_at":"2026-11-02T14:09:53.50104Z"}],"osv":[{"id":"CVE-2024-22640","description":"TCPDF version \u003c=6.6.5 is vulnerable to ReDoS (Regular Expression Denial of Service) if parsing an untrusted HTML page with a crafted color.","status":"published","published":"2024-04-19T00:00:00Z","modified":"2026-10-28T02:30:47.202195081Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:38.577405Z"},{"id":"DEBIAN-CVE-2024-22640","description":"TCPDF version \u003c=6.6.5 is vulnerable to ReDoS (Regular Expression Denial of Service) if parsing an untrusted HTML page with a crafted color.","status":"published","published":"2024-04-19T16:15:09.63Z","modified":"2026-11-02T12:00:45.920045175Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:41.849198Z"},{"id":"GHSA-mx3p-fhpw-x6rv","title":"TCPDF vulnerable to Regular Expression Denial of Service","description":"TCPDF version \u003c= 6.7.4 is vulnerable to ReDoS (Regular Expression Denial of Service) if parsing an untrusted HTML page with a crafted color.","status":"published","published":"2024-04-19T18:31:11Z","modified":"2025-11-04T20:44:01.330473Z","cvss":[{"version":"4.0","score":5.1,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","level":"medium"}],"cwes":["CWE-1333"],"updated_at":"2026-11-02T15:46:52.534897Z"},{"id":"UBUNTU-CVE-2024-22640","description":"TCPDF version \u003c=6.6.5 is vulnerable to ReDoS (Regular Expression Denial of Service) if parsing an untrusted HTML page with a crafted color.","status":"published","published":"2024-04-19T16:15:00Z","modified":"2026-10-17T12:56:29.692800785Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T16:54:42.68848Z"},{"id":"DLA-4199-1","title":"tcpdf - security update","status":"published","published":"2025-05-31T00:00:00Z","modified":"2026-03-09T01:18:22.137285Z","updated_at":"2026-11-02T15:46:12.7027Z"},{"id":"DSA-5933-1","title":"tcpdf - security update","status":"published","published":"2025-06-01T00:00:00Z","modified":"2026-03-09T02:09:21.116623Z","updated_at":"2026-11-02T15:46:18.296714Z"},{"id":"MGASA-2024-0169","title":"Updated php-tcpdf packages fix security vulnerability","description":"TCPDF version \u003c=6.6.5 is vulnerable to ReDoS (Regular Expression Denial\nof Service) if parsing an untrusted HTML page with a crafted color.\n(CVE-2024-22640)\n","status":"published","published":"2024-05-09T02:40:29Z","modified":"2026-04-16T04:42:36.21613397Z","updated_at":"2026-11-02T15:49:42.684501Z"}]}}
