{"id":"CVE-2009-5030","aliases":["DSA-2629-1","EUVD-2009-4988","GHSA-5f2v-78x3-pvgj","RHSA-2012:1068","openSUSE-SU-2024:10227-1"],"status":"published","title":"The tcd_free_encode function in tcd.c in OpenJPEG 1.3 through 1.5 allows remote attackers to...","description":"The tcd_free_encode function in tcd.c in OpenJPEG 1.3 through 1.5 allows remote attackers to cause a denial of service (memory corruption) and possibly execute arbitrary code via crafted tile information in a Gray16 TIFF image, which causes insufficient memory to be allocated and leads to an \"invalid free.\"","severity":{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.04063,"percentile":0.90739,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-119"],"published":"2012-07-18T22:00:00Z","modified":"2026-06-26T12:21:42Z","affected":[{"source":"osv","ecosystem":"Debian:6.0","package":"openjpeg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3+dfsg-4+squeeze1"}]}],"versions":["1.3+dfsg-4"],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::client","package":"openjpeg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.3-8.el6_3"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::client","package":"openjpeg-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.3-8.el6_3"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::client","package":"openjpeg-libs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.3-8.el6_3"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::client","package":"openjpeg-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.3-8.el6_3"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::computenode","package":"openjpeg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.3-8.el6_3"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::computenode","package":"openjpeg-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.3-8.el6_3"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::computenode","package":"openjpeg-libs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.3-8.el6_3"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::computenode","package":"openjpeg-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.3-8.el6_3"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::server","package":"openjpeg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.3-8.el6_3"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::server","package":"openjpeg-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.3-8.el6_3"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::server","package":"openjpeg-libs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.3-8.el6_3"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::server","package":"openjpeg-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.3-8.el6_3"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::workstation","package":"openjpeg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.3-8.el6_3"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::workstation","package":"openjpeg-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.3-8.el6_3"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::workstation","package":"openjpeg-libs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.3-8.el6_3"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::workstation","package":"openjpeg-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.3-8.el6_3"}]}],"bundled":2}],"products":[{"vendor":"uclouvain","product":"openjpeg"}],"references":[{"url":"http://secunia.com/advisories/48781","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory"]},{"url":"http://rhn.redhat.com/errata/RHSA-2012-1068.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"https://groups.google.com/forum/#%21topic/openjpeg/DLVrRKbTeI0/discussion","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://code.google.com/p/openjpeg/source/detail?r=1703","tags":["x_refsource_CONFIRM","x_transferred","Patch"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-June/083105.html","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"]},{"url":"http://secunia.com/advisories/49913","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/74851","tags":["vdb-entry","x_refsource_XF","x_transferred"]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2012:104","tags":["vendor-advisory","x_refsource_MANDRIVA","x_transferred"]},{"url":"http://www.openwall.com/lists/oss-security/2012/04/13/5","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"http://www.securityfocus.com/bid/53012","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-June/082923.html","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"]},{"url":"http://code.google.com/p/openjpeg/issues/detail?id=5","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2009-5030","tags":["advisory"]},{"url":"https://groups.google.com/forum/#!topic/openjpeg/DLVrRKbTeI0/discussion"},{"url":"https://github.com/advisories/GHSA-5f2v-78x3-pvgj"},{"url":"https://access.redhat.com/errata/RHSA-2012:1068","tags":["advisory"]},{"url":"https://access.redhat.com/security/updates/classification/#important","tags":["article"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=812317","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=835767","tags":["report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2012/rhsa-2012_1068.json","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2009-5030","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2009-5030","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2012-3358","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2012-3358","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2012-3358","tags":["advisory"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2009-5030","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2012-3358","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2012-3535","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2013-1447","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2013-4289","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2013-4290","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2013-6045","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2013-6052","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2013-6053","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2013-6054","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2013-6887","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2009-5030","description":"The tcd_free_encode function in tcd.c in OpenJPEG 1.3 through 1.5 allows remote attackers to cause a denial of service (memory corruption) and possibly execute arbitrary code via crafted tile information in a Gray16 TIFF image, which causes insufficient memory to be allocated and leads to an \"invalid free.\"","status":"published","published":"2012-07-18T22:00:00Z","modified":"2024-08-07T07:24:54.055Z","updated_at":"2026-11-02T14:33:22.699876Z"}],"euvd":[{"id":"EUVD-2009-4988","description":"The tcd_free_encode function in tcd.c in OpenJPEG 1.3 through 1.5 allows remote attackers to cause a denial of service (memory corruption) and possibly execute arbitrary code via crafted tile information in a Gray16 TIFF image, which causes insufficient memory to be allocated and leads to an \"invalid free.\"","status":"published","published":"2012-07-18T22:00:00Z","modified":"2024-08-07T07:24:54Z","updated_at":"2026-11-03T01:39:08.21747Z"}],"ghsa":[{"id":"GHSA-5f2v-78x3-pvgj","title":"The tcd_free_encode function in tcd.c in OpenJPEG 1.3 through 1.5 allows remote attackers to...","description":"The tcd_free_encode function in tcd.c in OpenJPEG 1.3 through 1.5 allows remote attackers to cause a denial of service (memory corruption) and possibly execute arbitrary code via crafted tile information in a Gray16 TIFF image, which causes insufficient memory to be allocated and leads to an \"invalid free.\"","status":"published","published":"2022-05-02T04:00:44Z","modified":"2023-02-13T03:30:29Z","cwes":["CWE-119"],"updated_at":"2026-11-02T14:54:05.992759Z"}],"nvd":[{"id":"CVE-2009-5030","description":"The tcd_free_encode function in tcd.c in OpenJPEG 1.3 through 1.5 allows remote attackers to cause a denial of service (memory corruption) and possibly execute arbitrary code via crafted tile information in a Gray16 TIFF image, which causes insufficient memory to be allocated and leads to an \"invalid free.\"","status":"published","published":"2012-07-18T22:55:03.68Z","modified":"2026-06-16T23:14:51.677Z","cvss":[{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-119"],"updated_at":"2026-11-02T14:01:38.684719Z"}],"osv":[{"id":"DSA-2629-1","title":"openjpeg - several issues","status":"published","published":"2013-02-18T00:00:00Z","modified":"2026-03-09T01:19:16.06Z","updated_at":"2026-11-02T15:46:15.489951Z"},{"id":"openSUSE-SU-2024:10227-1","title":"libopenjpeg1-1.5.2-4.7 on GA media","description":"These are all security issues fixed in the libopenjpeg1-1.5.2-4.7 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T03:26:32.056336Z","updated_at":"2026-11-02T16:58:33.135986Z"},{"id":"RHSA-2012:1068","title":"Red Hat Security Advisory: openjpeg security update","status":"published","published":"2024-09-15T20:00:58Z","modified":"2026-06-26T12:21:42.229201683Z","updated_at":"2026-11-02T15:53:01.495018Z"}]}}
