{"id":"CVE-2020-25725","aliases":["ALPINE-CVE-2020-25725","EUVD-2020-18378","GHSA-r454-8j2h-fwqp","MGASA-2021-0112","UBUNTU-CVE-2020-25725"],"status":"published","title":"In Xpdf 4.02, SplashOutputDev::endType3Char(GfxState *state) SplashOutputDev.cc:3079 is trying to...","description":"In Xpdf 4.02, SplashOutputDev::endType3Char(GfxState *state) SplashOutputDev.cc:3079 is trying to use the freed `t3GlyphStack-\u003ecache`, which causes an `heap-use-after-free` problem. The codes of a previous fix for nested Type 3 characters wasn't correctly handling the case where a Type 3 char referred to another char in the same Type 3 font.","severity":{"version":"3.1","score":5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-11","score":0.01005,"percentile":0.63392,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-416"],"published":"2020-11-21T05:29:54Z","modified":"2026-11-03T06:32:24Z","fixes":[{"ecosystem":"Alpine:v3.13","package":"xpdf","fixed_in":["4.03-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.14","package":"xpdf","fixed_in":["4.03-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.15","package":"xpdf","fixed_in":["4.03-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.16","package":"xpdf","fixed_in":["4.03-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.17","package":"xpdf","fixed_in":["4.03-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.18","package":"xpdf","fixed_in":["4.03-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.19","package":"xpdf","fixed_in":["4.03-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.20","package":"xpdf","fixed_in":["4.03-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.21","package":"xpdf","fixed_in":["4.03-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.22","package":"xpdf","fixed_in":["4.03-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.23","package":"xpdf","fixed_in":["4.03-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.24","package":"xpdf","fixed_in":["4.03-r0"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Alpine:v3.13","package":"xpdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.03-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.14","package":"xpdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.03-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.15","package":"xpdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.03-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.16","package":"xpdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.03-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.17","package":"xpdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.03-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.18","package":"xpdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.03-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.19","package":"xpdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.03-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.20","package":"xpdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.03-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.21","package":"xpdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.03-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.22","package":"xpdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.03-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.23","package":"xpdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.03-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.24","package":"xpdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.03-r0"}]}]},{"source":"osv","ecosystem":"Mageia:7","package":"xpdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.03-1.mga7"}]}],"bundled":2},{"source":"osv","ecosystem":"Mageia:8","package":"xpdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.03-1.mga8"}]}],"bundled":2},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"ipe","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["7.1.4-2.1","7.1.8-1","7.1.10-1","7.1.10-1.1"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"ipe","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["7.2.7-2","7.2.7-3"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"ipe","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["7.2.9-1","7.2.13-2","7.2.13-2build1"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"ipe","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["7.2.23+dfsg1-2","7.2.24+dfsg1-1","7.2.24+dfsg1-1build1"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"ipe","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["7.2.27+dfsg1-2","7.2.28-2","7.2.28-2.1build2","7.2.28-2.1build3","7.2.28-2.1build4"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"ipe","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["7.2.30-1build1"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"ipe","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["7.2.30-1build2","7.2.30-2"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"ipe","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["7.2.30-1build1","7.2.30-1build2"]}],"products":[{"vendor":"fedoraproject","product":"fedora"},{"vendor":"glyph \u0026 cog","product":"xpdf"},{"vendor":"xpdf","product":"xpdf"},{"vendor":"xpdfreader","product":"xpdf"}],"references":[{"url":"https://forum.xpdfreader.com/viewtopic.php?f=3\u0026t=41915","tags":["x_refsource_MISC","x_transferred","Exploit","Vendor Advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-25725","tags":["x_refsource_CONFIRM","x_transferred","Exploit","Issue Tracking","Third Party Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4ZUU5QG6SSVRTKZTR3A72LDRVZETEI63/","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","Mailing List","Third Party Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VLOYVJSM54IL6I5RY4QTJGRS7PIEG44X/","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","Mailing List","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-25725"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4ZUU5QG6SSVRTKZTR3A72LDRVZETEI63/"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VLOYVJSM54IL6I5RY4QTJGRS7PIEG44X/"},{"url":"https://github.com/advisories/GHSA-r454-8j2h-fwqp"},{"url":"https://security.alpinelinux.org/vuln/CVE-2020-25725","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2021-0112.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=28474","tags":["report"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/VLOYVJSM54IL6I5RY4QTJGRS7PIEG44X/","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2020-25725","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-25725","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2020-25725","description":"In Xpdf 4.02, SplashOutputDev::endType3Char(GfxState *state) SplashOutputDev.cc:3079 is trying to use the freed `t3GlyphStack-\u003ecache`, which causes an `heap-use-after-free` problem. The codes of a previous fix for nested Type 3 characters wasn't correctly handling the case where a Type 3 char referred to another char in the same Type 3 font.","status":"published","published":"2020-11-21T05:29:54Z","modified":"2024-08-04T15:40:36.653Z","cvss":[{"version":"3.1","score":5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H","level":"medium","assessor":"cna"}],"cwes":["CWE-416"],"updated_at":"2026-11-02T14:35:48.854892Z"}],"euvd":[{"id":"EUVD-2020-18378","description":"In Xpdf 4.02, SplashOutputDev::endType3Char(GfxState *state) SplashOutputDev.cc:3079 is trying to use the freed `t3GlyphStack-\u003ecache`, which causes an `heap-use-after-free` problem. The codes of a previous fix for nested Type 3 characters wasn't correctly handling the case where a Type 3 char referred to another char in the same Type 3 font.","status":"published","published":"2020-11-21T05:29:54Z","modified":"2024-08-04T15:40:36Z","cvss":[{"version":"3.1","score":5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-03T03:07:16.74035Z"}],"ghsa":[{"id":"GHSA-r454-8j2h-fwqp","title":"In Xpdf 4.02, SplashOutputDev::endType3Char(GfxState *state) SplashOutputDev.cc:3079 is trying to...","description":"In Xpdf 4.02, SplashOutputDev::endType3Char(GfxState *state) SplashOutputDev.cc:3079 is trying to use the freed `t3GlyphStack-\u003ecache`, which causes an `heap-use-after-free` problem. The codes of a previous fix for nested Type 3 characters wasn't correctly handling the case where a Type 3 char referred to another char in the same Type 3 font.","status":"published","published":"2022-05-24T17:34:38Z","modified":"2023-02-13T00:31:19Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"cwes":["CWE-416"],"updated_at":"2026-11-02T14:54:05.462623Z"}],"nvd":[{"id":"CVE-2020-25725","description":"In Xpdf 4.02, SplashOutputDev::endType3Char(GfxState *state) SplashOutputDev.cc:3079 is trying to use the freed `t3GlyphStack-\u003ecache`, which causes an `heap-use-after-free` problem. The codes of a previous fix for nested Type 3 characters wasn't correctly handling the case where a Type 3 char referred to another char in the same Type 3 font.","status":"published","published":"2020-11-21T06:15:12.24Z","modified":"2026-06-17T03:07:11.993Z","cvss":[{"version":"3.1","score":5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H","level":"medium","assessor":"secondary"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-416"],"updated_at":"2026-11-02T14:06:25.394006Z"}],"osv":[{"id":"ALPINE-CVE-2020-25725","description":"In Xpdf 4.02, SplashOutputDev::endType3Char(GfxState *state) SplashOutputDev.cc:3079 is trying to use the freed `t3GlyphStack-\u003ecache`, which causes an `heap-use-after-free` problem. The codes of a previous fix for nested Type 3 characters wasn't correctly handling the case where a Type 3 char referred to another char in the same Type 3 font.","status":"published","published":"2020-11-21T06:15:12.24Z","modified":"2026-11-03T06:32:24.731044473Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-03T07:17:57.723967Z"},{"id":"UBUNTU-CVE-2020-25725","description":"In Xpdf 4.02, SplashOutputDev::endType3Char(GfxState *state) SplashOutputDev.cc:3079 is trying to use the freed `t3GlyphStack-\u003ecache`, which causes an `heap-use-after-free` problem. The codes of a previous fix for nested Type 3 characters wasn't correctly handling the case where a Type 3 char referred to another char in the same Type 3 font.","status":"published","published":"2020-11-21T06:15:00Z","modified":"2026-10-17T12:55:45.053394811Z","cvss":[{"version":"3.1","score":5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H","level":"medium"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:54:23.905183Z"},{"id":"MGASA-2021-0112","title":"Updated xpdf packages fix security vulnerabilities","description":"In Xpdf 4.02, SplashOutputDev::endType3Char(GfxState *state)\nSplashOutputDev.cc:3079 is trying to use the freed `t3GlyphStack-\u003ecache`, which\ncauses an `heap-use-after-free` problem. The codes of a previous fix for nested\nType 3 characters wasn't correctly handling the case where a Type 3 char\nreferred to another char in the same Type 3 font (CVE-2020-25725).\n\nXpdf 4.02 allows stack consumption because of an incorrect subroutine reference\nin a Type 1C font charstring, related to the FoFiType1C::getOp() function\n(CVE-2020-35376).\n","status":"published","published":"2021-03-04T16:53:32Z","modified":"2026-04-16T04:44:42.253739476Z","updated_at":"2026-11-02T15:49:41.509337Z"}]}}
