{"id":"CVE-2021-40648","aliases":["DEBIAN-CVE-2021-40648","EUVD-2021-27822","GHSA-x62g-3vp2-7m3v","UBUNTU-CVE-2021-40648"],"status":"published","title":"In man2html 1.6g, a filename can be created to overwrite the previous size parameter of the next...","description":"In man2html 1.6g, a filename can be created to overwrite the previous size parameter of the next chunk and the fd, bk, fd_nextsize, bk_nextsize of the current chunk. The next chunk is then freed later on, causing a freeing of an arbitrary amount of memory.","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-10","score":0.00342,"percentile":0.27944,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-20"],"published":"2022-09-09T17:57:38Z","modified":"2026-10-23T18:03:33Z","affected":[{"source":"osv","ecosystem":"Debian:12","package":"man2html","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.6g-14","1.6g-15","1.6g-16"]},{"source":"osv","ecosystem":"Debian:13","package":"man2html","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.6g-16"]},{"source":"osv","ecosystem":"Debian:14","package":"man2html","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.6g-16"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"man2html","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.6g-7","1.6g-8"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"man2html","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.6g-9","1.6g-9ubuntu1","1.6g-11"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"man2html","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.6g-12"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"man2html","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.6g-14"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"man2html","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.6g-14","1.6g-15","1.6g-16"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"man2html","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.6g-16"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"man2html","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.6g-16build1"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"man2html","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.6g-16","1.6g-16build1"]}],"products":[{"vendor":"man2html_project","product":"man2html"}],"references":[{"url":"https://gist.github.com/untaman/cb58123fe89fc65e3984165db5d40933","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-40648"},{"url":"http://man2html.com"},{"url":"http://na.com"},{"url":"https://github.com/advisories/GHSA-x62g-3vp2-7m3v"},{"url":"https://security-tracker.debian.org/tracker/CVE-2021-40648","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2021-40648","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-40648","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2021-40648","description":"In man2html 1.6g, a filename can be created to overwrite the previous size parameter of the next chunk and the fd, bk, fd_nextsize, bk_nextsize of the current chunk. The next chunk is then freed later on, causing a freeing of an arbitrary amount of memory.","status":"published","published":"2022-09-09T17:57:38Z","modified":"2024-08-04T02:51:06.318Z","updated_at":"2026-11-02T14:33:01.495293Z"}],"euvd":[{"id":"EUVD-2021-27822","description":"In man2html 1.6g, a filename can be created to overwrite the previous size parameter of the next chunk and the fd, bk, fd_nextsize, bk_nextsize of the current chunk. The next chunk is then freed later on, causing a freeing of an arbitrary amount of memory.","status":"published","published":"2022-09-09T17:57:38Z","modified":"2024-08-04T02:51:06Z","updated_at":"2026-11-03T03:24:19.692229Z"}],"ghsa":[{"id":"GHSA-x62g-3vp2-7m3v","title":"In man2html 1.6g, a filename can be created to overwrite the previous size parameter of the next...","description":"In man2html 1.6g, a filename can be created to overwrite the previous size parameter of the next chunk and the fd, bk, fd_nextsize, bk_nextsize of the current chunk. The next chunk is then freed later on, causing a freeing of an arbitrary amount of memory.","status":"published","published":"2022-09-10T00:00:25Z","modified":"2023-02-01T05:08:37Z","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-20"],"updated_at":"2026-11-02T14:50:48.855041Z"}],"nvd":[{"id":"CVE-2021-40648","description":"In man2html 1.6g, a filename can be created to overwrite the previous size parameter of the next chunk and the fd, bk, fd_nextsize, bk_nextsize of the current chunk. The next chunk is then freed later on, causing a freeing of an arbitrary amount of memory.","status":"published","published":"2022-09-09T18:15:09.247Z","modified":"2026-06-17T04:07:12.957Z","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"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:07:06.906968Z"}],"osv":[{"id":"CVE-2021-40648","description":"In man2html 1.6g, a filename can be created to overwrite the previous size parameter of the next chunk and the fd, bk, fd_nextsize, bk_nextsize of the current chunk. The next chunk is then freed later on, causing a freeing of an arbitrary amount of memory.","status":"published","published":"2022-09-09T18:15:09.247Z","modified":"2026-03-14T11:08:54.646498Z","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:21.249056Z"},{"id":"DEBIAN-CVE-2021-40648","description":"In man2html 1.6g, a filename can be created to overwrite the previous size parameter of the next chunk and the fd, bk, fd_nextsize, bk_nextsize of the current chunk. The next chunk is then freed later on, causing a freeing of an arbitrary amount of memory.","status":"published","published":"2022-09-09T18:15:09.247Z","modified":"2026-10-23T18:03:33.151303276Z","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:35.521549Z"},{"id":"UBUNTU-CVE-2021-40648","description":"In man2html 1.6g, a filename can be created to overwrite the previous size parameter of the next chunk and the fd, bk, fd_nextsize, bk_nextsize of the current chunk. The next chunk is then freed later on, causing a freeing of an arbitrary amount of memory.","status":"published","published":"2022-09-09T18:15:00Z","modified":"2026-10-17T12:56:20.745931341Z","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:29.220315Z"}]}}
