{"id":"CVE-2022-23850","aliases":["ALPINE-CVE-2022-23850","EUVD-2022-28776","GHSA-x32q-wrp4-v9x9"],"status":"published","title":"xhtml_translate_entity in xhtml.c in epub2txt (aka epub2txt2) through 2.02 allows a stack-based...","description":"xhtml_translate_entity in xhtml.c in epub2txt (aka epub2txt2) through 2.02 allows a stack-based buffer overflow via a crafted EPUB document.","severity":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.00867,"percentile":0.5898,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-787"],"published":"2022-01-23T06:47:45Z","modified":"2026-11-03T07:31:14Z","fixes":[{"ecosystem":"Alpine:v3.20","package":"epub2txt","fixed_in":["2.06-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.21","package":"epub2txt","fixed_in":["2.06-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.22","package":"epub2txt","fixed_in":["2.06-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.23","package":"epub2txt","fixed_in":["2.06-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.24","package":"epub2txt","fixed_in":["2.06-r0"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Alpine:v3.20","package":"epub2txt","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.06-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.21","package":"epub2txt","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.06-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.22","package":"epub2txt","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.06-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.23","package":"epub2txt","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.06-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.24","package":"epub2txt","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.06-r0"}]}]}],"products":[{"vendor":"epub2txt_project","product":"epub2txt"}],"references":[{"url":"https://cwe.mitre.org/data/definitions/121.html","tags":["x_refsource_MISC","x_transferred","Third Party Advisory"]},{"url":"https://github.com/kevinboone/epub2txt2/issues/17","tags":["x_refsource_MISC","x_transferred","Exploit","Issue Tracking","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-23850"},{"url":"https://github.com/advisories/GHSA-x32q-wrp4-v9x9"},{"url":"https://security.alpinelinux.org/vuln/CVE-2022-23850","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2022-23850","description":"xhtml_translate_entity in xhtml.c in epub2txt (aka epub2txt2) through 2.02 allows a stack-based buffer overflow via a crafted EPUB document.","status":"published","published":"2022-01-23T06:47:45Z","modified":"2024-08-03T03:51:46.059Z","updated_at":"2026-11-02T14:34:29.842547Z"}],"euvd":[{"id":"EUVD-2022-28776","description":"xhtml_translate_entity in xhtml.c in epub2txt (aka epub2txt2) through 2.02 allows a stack-based buffer overflow via a crafted EPUB document.","status":"published","published":"2022-01-23T06:47:45Z","modified":"2024-08-03T03:51:46Z","updated_at":"2026-11-03T03:25:50.734887Z"}],"ghsa":[{"id":"GHSA-x32q-wrp4-v9x9","title":"xhtml_translate_entity in xhtml.c in epub2txt (aka epub2txt2) through 2.02 allows a stack-based...","description":"xhtml_translate_entity in xhtml.c in epub2txt (aka epub2txt2) through 2.02 allows a stack-based buffer overflow via a crafted EPUB document.","status":"published","published":"2022-01-24T00:01:15Z","modified":"2023-01-27T05:00:34Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-787"],"updated_at":"2026-11-02T14:41:42.686985Z"}],"nvd":[{"id":"CVE-2022-23850","description":"xhtml_translate_entity in xhtml.c in epub2txt (aka epub2txt2) through 2.02 allows a stack-based buffer overflow via a crafted EPUB document.","status":"published","published":"2022-01-23T07:15:10.117Z","modified":"2026-06-17T04:30:52.807Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"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-787"],"updated_at":"2026-11-02T14:07:11.52734Z"}],"osv":[{"id":"ALPINE-CVE-2022-23850","description":"xhtml_translate_entity in xhtml.c in epub2txt (aka epub2txt2) through 2.02 allows a stack-based buffer overflow via a crafted EPUB document.","status":"published","published":"2022-01-23T07:15:10.117Z","modified":"2026-11-03T07:31:14.736852167Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-03T07:50:01.054176Z"}]}}
