{"id":"CVE-2020-21675","aliases":["DEBIAN-CVE-2020-21675","DLA-2778-1","EUVD-2020-14443","GHSA-4m2v-48rc-7rp4","UBUNTU-CVE-2020-21675","USN-5864-1"],"status":"published","title":"A stack-based buffer overflow in the genptk_text component in genptk.c of fig2dev 3.2.7b allows...","description":"A stack-based buffer overflow in the genptk_text component in genptk.c of fig2dev 3.2.7b allows attackers to cause a denial of service (DOS) via converting a xfig file into ptk format.","severity":{"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","from":"nvd"},"epss":{"day":"2026-11-09","score":0.01059,"percentile":0.64763,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-787"],"published":"2021-08-10T20:19:45Z","modified":"2026-10-26T12:02:38Z","fixes":[{"ecosystem":"Debian:12","package":"fig2dev","fixed_in":["1:3.2.7b-3"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"fig2dev","fixed_in":["1:3.2.7b-3"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"fig2dev","fixed_in":["1:3.2.7b-3"],"sources":["osv"]},{"ecosystem":"Ubuntu:18.04:LTS","package":"fig2dev","fixed_in":["1:3.2.6a-6ubuntu1.1"],"sources":["osv"]},{"ecosystem":"Ubuntu:20.04:LTS","package":"fig2dev","fixed_in":["1:3.2.7a-7ubuntu0.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"fig2dev","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:3.2.7b-3"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"fig2dev","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:3.2.7b-3"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"fig2dev","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:3.2.7b-3"}]}]},{"source":"osv","ecosystem":"Debian:9","package":"fig2dev","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:3.2.6a-2+deb9u4"}]}],"versions":["1:3.2.6a-2","1:3.2.6a-2+deb9u1","1:3.2.6a-2+deb9u2","1:3.2.6a-2+deb9u3"],"bundled":12},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"fig2dev","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:3.2.6a-6ubuntu1.1"}]}],"versions":["1:3.2.6a-3","1:3.2.6a-4","1:3.2.6a-4ubuntu1","1:3.2.6a-6ubuntu1"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"fig2dev","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:3.2.7a-7ubuntu0.1"}]}],"versions":["1:3.2.7a-7"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"fig2dev","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:3.2.6a-6ubuntu1.1"}]}],"versions":["1:3.2.6a-3","1:3.2.6a-4","1:3.2.6a-4ubuntu1","1:3.2.6a-6ubuntu1"],"bundled":14},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"fig2dev","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:3.2.7a-7ubuntu0.1"}]}],"versions":["1:3.2.7a-7"],"bundled":14}],"products":[{"vendor":"debian","product":"debian_linux"},{"vendor":"fig2dev_project","product":"fig2dev"}],"references":[{"url":"https://cwe.mitre.org/data/definitions/121.html","tags":["x_refsource_MISC","x_transferred","Technical Description","article"]},{"url":"https://sourceforge.net/p/mcj/tickets/78/","tags":["x_refsource_MISC","x_transferred","Exploit","Issue Tracking","Patch","Third Party Advisory","fix","report"]},{"url":"https://lists.debian.org/debian-lts-announce/2021/10/msg00002.html","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","Third Party Advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-21675"},{"url":"https://github.com/advisories/GHSA-4m2v-48rc-7rp4"},{"url":"https://security-tracker.debian.org/tracker/CVE-2020-21675","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2020-21675","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-5864-1","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-21675","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2019-14275","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2019-19555","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2019-19797","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2020-21529","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2020-21530","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2020-21531","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2020-21532","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2020-21533","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2020-21534","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2020-21535","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2020-21676","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2021-3561","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2021-32280","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2020-21675","description":"A stack-based buffer overflow in the genptk_text component in genptk.c of fig2dev 3.2.7b allows attackers to cause a denial of service (DOS) via converting a xfig file into ptk format.","status":"published","published":"2021-08-10T20:19:45Z","modified":"2024-08-04T14:30:33.604Z","updated_at":"2026-11-02T14:35:48.854892Z"}],"euvd":[{"id":"EUVD-2020-14443","description":"A stack-based buffer overflow in the genptk_text component in genptk.c of fig2dev 3.2.7b allows attackers to cause a denial of service (DOS) via converting a xfig file into ptk format.","status":"published","published":"2021-08-10T20:19:45Z","modified":"2024-08-04T14:30:33Z","updated_at":"2026-11-03T03:07:23.288973Z"}],"ghsa":[{"id":"GHSA-4m2v-48rc-7rp4","title":"A stack-based buffer overflow in the genptk_text component in genptk.c of fig2dev 3.2.7b allows...","description":"A stack-based buffer overflow in the genptk_text component in genptk.c of fig2dev 3.2.7b allows attackers to cause a denial of service (DOS) via converting a xfig file into ptk format.","status":"published","published":"2022-05-24T19:10:30Z","modified":"2023-01-27T05:03:20Z","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-787"],"updated_at":"2026-11-02T14:42:13.302487Z"}],"nvd":[{"id":"CVE-2020-21675","description":"A stack-based buffer overflow in the genptk_text component in genptk.c of fig2dev 3.2.7b allows attackers to cause a denial of service (DOS) via converting a xfig file into ptk format.","status":"published","published":"2021-08-10T21:15:07.363Z","modified":"2026-06-17T03:03:51.24Z","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","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-787"],"updated_at":"2026-11-02T14:06:44.292752Z"}],"osv":[{"id":"CVE-2020-21675","description":"A stack-based buffer overflow in the genptk_text component in genptk.c of fig2dev 3.2.7b allows attackers to cause a denial of service (DOS) via converting a xfig file into ptk format.","status":"published","published":"2021-08-10T21:15:07.363Z","modified":"2026-03-14T10:18:10.728521Z","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-02T15:44:15.534837Z"},{"id":"DEBIAN-CVE-2020-21675","description":"A stack-based buffer overflow in the genptk_text component in genptk.c of fig2dev 3.2.7b allows attackers to cause a denial of service (DOS) via converting a xfig file into ptk format.","status":"published","published":"2021-08-10T21:15:07.363Z","modified":"2026-10-26T12:02:38.445238916Z","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-02T15:45:33.384087Z"},{"id":"UBUNTU-CVE-2020-21675","description":"A stack-based buffer overflow in the genptk_text component in genptk.c of fig2dev 3.2.7b allows attackers to cause a denial of service (DOS) via converting a xfig file into ptk format.","status":"published","published":"2021-08-10T21:15:00Z","modified":"2026-02-04T04:30:26.004384Z","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-02T15:54:23.905183Z"},{"id":"DLA-2778-1","title":"fig2dev - security update","status":"published","published":"2021-10-04T00:00:00Z","modified":"2026-03-09T01:19:08.698469Z","updated_at":"2026-11-02T15:46:11.189256Z"},{"id":"USN-5864-1","title":"fig2dev vulnerabilities","description":"Frederic Cambus discovered that Fig2dev incorrectly handled certain image\nfiles. If a user or an automated system were tricked into opening a certain \nspecially crafted input file, a remote attacker could possibly use this issue\nto cause a denial of service. This issue only affected Ubuntu 18.04 LTS.\n(CVE-2019-14275)\n\nIt was discovered that Fig2dev incorrectly handled certain image files. If \na user or an automated system were tricked into opening a certain specially\ncrafted input file, a remote attacker could possibly use this issue to cause\na denial of service. (CVE-2019-19555, CVE-2019-19797, CVE-2020-21529, \nCVE-2020-21530, CVE-2020-21531, CVE-2020-21532, CVE-2020-21533, \nCVE-2020-21534, CVE-2020-21535, CVE-2020-21675, CVE-2020-21676, \nCVE-2021-3561)\n\nIt was discovered that Fig2dev incorrectly handled certain image files. If \na user or an automated system were tricked into opening a certain specially\ncrafted input file, a remote attacker could possibly use this issue to cause\na denial of service. (CVE-2021-32280)\n","status":"published","published":"2023-02-13T13:59:56Z","modified":"2026-04-27T16:47:19.416481759Z","updated_at":"2026-11-02T16:58:16.738762Z"}]}}
