{"id":"CVE-2020-25887","aliases":["DEBIAN-CVE-2020-25887","EUVD-2020-18519","GHSA-mj7x-c9vq-67qh"],"status":"published","title":"Buffer overflow in mg_resolve_from_hosts_file in Mongoose 6.18, when reading from a crafted hosts...","description":"Buffer overflow in mg_resolve_from_hosts_file in Mongoose 6.18, when reading from a crafted hosts file.","severity":{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-11","score":0.00703,"percentile":0.53707,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-120"],"published":"2023-08-22T00:00:00Z","modified":"2026-10-26T12:00:52Z","fixes":[{"ecosystem":"Debian:12","package":"swupdate","fixed_in":["2022.12+dfsg-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"swupdate","fixed_in":["2022.12+dfsg-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"swupdate","fixed_in":["2022.12+dfsg-1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"swupdate","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2022.12+dfsg-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"swupdate","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2022.12+dfsg-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"swupdate","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2022.12+dfsg-1"}]}]}],"products":[{"vendor":"cesanta","product":"mongoose"}],"references":[{"url":"https://github.com/cesanta/mongoose/issues/1140","tags":["x_transferred","Exploit","Issue Tracking","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-25887"},{"url":"https://github.com/advisories/GHSA-mj7x-c9vq-67qh"},{"url":"https://security-tracker.debian.org/tracker/CVE-2020-25887","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2020-25887","description":"Buffer overflow in mg_resolve_from_hosts_file in Mongoose 6.18, when reading from a crafted hosts file.","status":"published","published":"2023-08-22T00:00:00Z","modified":"2024-10-03T19:29:25.195Z","updated_at":"2026-11-02T14:35:48.52216Z"}],"euvd":[{"id":"EUVD-2020-18519","description":"Buffer overflow in mg_resolve_from_hosts_file in Mongoose 6.18, when reading from a crafted hosts file.","status":"published","published":"2023-08-22T00:00:00Z","modified":"2024-10-03T19:29:25Z","updated_at":"2026-11-03T00:27:53.790276Z"}],"ghsa":[{"id":"GHSA-mj7x-c9vq-67qh","title":"Buffer overflow in mg_resolve_from_hosts_file in Mongoose 6.18, when reading from a crafted hosts...","description":"Buffer overflow in mg_resolve_from_hosts_file in Mongoose 6.18, when reading from a crafted hosts file.","status":"published","published":"2023-08-22T21:30:26Z","modified":"2024-04-04T07:06:20Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-120"],"updated_at":"2026-11-02T14:56:48.229282Z"}],"nvd":[{"id":"CVE-2020-25887","description":"Buffer overflow in mg_resolve_from_hosts_file in Mongoose 6.18, when reading from a crafted hosts file.","status":"published","published":"2023-08-22T19:16:19.887Z","modified":"2026-06-17T03:07:26.167Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"}],"cwes":["CWE-120"],"updated_at":"2026-11-02T14:06:47.910346Z"}],"osv":[{"id":"CVE-2020-25887","description":"Buffer overflow in mg_resolve_from_hosts_file in Mongoose 6.18, when reading from a crafted hosts file.","status":"published","published":"2023-08-22T19:16:19.887Z","modified":"2026-10-20T10:52:55.162117661Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:15.879068Z"},{"id":"DEBIAN-CVE-2020-25887","description":"Buffer overflow in mg_resolve_from_hosts_file in Mongoose 6.18, when reading from a crafted hosts file.","status":"published","published":"2023-08-22T19:16:19.887Z","modified":"2026-10-26T12:00:52.591895496Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:33.729655Z"}]}}
