{"id":"CVE-2021-45423","aliases":["ALPINE-CVE-2021-45423","DEBIAN-CVE-2021-45423","EUVD-2021-32194","GHSA-4r8p-6r2m-cjwv","UBUNTU-CVE-2021-45423"],"status":"published","title":"A Buffer Overflow vulnerabilityexists in Pev 0.81 via the pe_exports function from exports.c.....","description":"A Buffer Overflow vulnerabilityexists in Pev 0.81 via the pe_exports function from exports.c.. The array offsets_to_Names is dynamically allocated on the stack using exp-\u003eNumberOfFunctions as its size. However, the loop uses exp-\u003eNumberOfNames to iterate over it and set its components value. Therefore, the loop code assumes that exp-\u003eNumberOfFunctions is greater than ordinal at each iteration. This can lead to arbitrary code execution.","severity":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-11","score":0.01127,"percentile":0.66753,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-120"],"published":"2023-03-13T00:00:00Z","modified":"2026-11-03T06:32:47Z","fixes":[{"ecosystem":"Alpine:v3.18","package":"pev","fixed_in":["0.82-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.19","package":"pev","fixed_in":["0.82-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.20","package":"pev","fixed_in":["0.82-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.21","package":"pev","fixed_in":["0.82-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.22","package":"pev","fixed_in":["0.82-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.23","package":"pev","fixed_in":["0.82-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.24","package":"pev","fixed_in":["0.82-r0"],"sources":["osv"]},{"ecosystem":"Debian:12","package":"pev","fixed_in":["0.81-9"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Alpine:v3.18","package":"pev","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.82-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.19","package":"pev","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.82-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.20","package":"pev","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.82-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.21","package":"pev","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.82-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.22","package":"pev","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.82-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.23","package":"pev","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.82-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.24","package":"pev","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.82-r0"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"pev","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.81-9"}]}]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"pev","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.40-1"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"pev","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.80-3","0.80-4","0.80-4build1"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"pev","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.80-4build1"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"pev","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.81-3","0.81-6","0.81-6build1","0.81-7"]}],"products":[{"vendor":"pev_project","product":"pev"}],"references":[{"url":"https://github.com/merces/libpe/issues/35","tags":["x_transferred","Exploit","Vendor Advisory","evidence","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-45423"},{"url":"https://github.com/advisories/GHSA-4r8p-6r2m-cjwv"},{"url":"https://security.alpinelinux.org/vuln/CVE-2021-45423","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2021-45423","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2021-45423","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-45423","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2021-45423","description":"A Buffer Overflow vulnerabilityexists in Pev 0.81 via the pe_exports function from exports.c.. The array offsets_to_Names is dynamically allocated on the stack using exp-\u003eNumberOfFunctions as its size. However, the loop uses exp-\u003eNumberOfNames to iterate over it and set its components value. Therefore, the loop code assumes that exp-\u003eNumberOfFunctions is greater than ordinal at each iteration. This can lead to arbitrary code execution.","status":"published","published":"2023-03-13T00:00:00Z","modified":"2025-03-03T20:37:30.139Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"adp"}],"cwes":["CWE-120"],"updated_at":"2026-11-02T14:33:02.580561Z"}],"euvd":[{"id":"EUVD-2021-32194","description":"A Buffer Overflow vulnerabilityexists in Pev 0.81 via the pe_exports function from exports.c.. The array offsets_to_Names is dynamically allocated on the stack using exp-\u003eNumberOfFunctions as its size. However, the loop uses exp-\u003eNumberOfNames to iterate over it and set its components value. Therefore, the loop code assumes that exp-\u003eNumberOfFunctions is greater than ordinal at each iteration. This can lead to arbitrary code execution.","status":"published","published":"2023-03-13T00:00:00Z","modified":"2025-03-03T20:37:30Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T20:53:17.551015Z"}],"ghsa":[{"id":"GHSA-4r8p-6r2m-cjwv","title":"A Buffer Overflow vulnerabilityexists in Pev 0.81 via the pe_exports function from exports.c.....","description":"A Buffer Overflow vulnerabilityexists in Pev 0.81 via the pe_exports function from exports.c.. The array offsets_to_Names is dynamically allocated on the stack using exp-\u003eNumberOfFunctions as its size. However, the loop uses exp-\u003eNumberOfNames to iterate over it and set its components value. Therefore, the loop code assumes that exp-\u003eNumberOfFunctions is greater than ordinal at each iteration. This can lead to arbitrary code execution.","status":"published","published":"2023-03-13T18:30:39Z","modified":"2023-04-01T05:07:06Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-120"],"updated_at":"2026-11-02T14:54:26.249885Z"}],"nvd":[{"id":"CVE-2021-45423","description":"A Buffer Overflow vulnerabilityexists in Pev 0.81 via the pe_exports function from exports.c.. The array offsets_to_Names is dynamically allocated on the stack using exp-\u003eNumberOfFunctions as its size. However, the loop uses exp-\u003eNumberOfNames to iterate over it and set its components value. Therefore, the loop code assumes that exp-\u003eNumberOfFunctions is greater than ordinal at each iteration. This can lead to arbitrary code execution.","status":"published","published":"2023-03-13T18:15:12.553Z","modified":"2026-06-17T04:13:21.75Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"secondary"}],"cwes":["CWE-120"],"updated_at":"2026-11-02T14:07:07.764332Z"}],"osv":[{"id":"ALPINE-CVE-2021-45423","description":"A Buffer Overflow vulnerabilityexists in Pev 0.81 via the pe_exports function from exports.c.. The array offsets_to_Names is dynamically allocated on the stack using exp-\u003eNumberOfFunctions as its size. However, the loop uses exp-\u003eNumberOfNames to iterate over it and set its components value. Therefore, the loop code assumes that exp-\u003eNumberOfFunctions is greater than ordinal at each iteration. This can lead to arbitrary code execution.","status":"published","published":"2023-03-13T18:15:12.553Z","modified":"2026-11-03T06:32:47.983696821Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-03T07:16:46.202932Z"},{"id":"CVE-2021-45423","description":"A Buffer Overflow vulnerabilityexists in Pev 0.81 via the pe_exports function from exports.c.. The array offsets_to_Names is dynamically allocated on the stack using exp-\u003eNumberOfFunctions as its size. However, the loop uses exp-\u003eNumberOfNames to iterate over it and set its components value. Therefore, the loop code assumes that exp-\u003eNumberOfFunctions is greater than ordinal at each iteration. This can lead to arbitrary code execution.","status":"published","published":"2023-03-13T18:15:12.553Z","modified":"2026-03-14T11:17:10.774418Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:44:22.18434Z"},{"id":"DEBIAN-CVE-2021-45423","description":"A Buffer Overflow vulnerabilityexists in Pev 0.81 via the pe_exports function from exports.c.. The array offsets_to_Names is dynamically allocated on the stack using exp-\u003eNumberOfFunctions as its size. However, the loop uses exp-\u003eNumberOfNames to iterate over it and set its components value. Therefore, the loop code assumes that exp-\u003eNumberOfFunctions is greater than ordinal at each iteration. This can lead to arbitrary code execution.","status":"published","published":"2023-03-13T18:15:12.553Z","modified":"2026-10-23T18:04:56.842404271Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:45:35.799676Z"},{"id":"UBUNTU-CVE-2021-45423","description":"A Buffer Overflow vulnerabilityexists in Pev 0.81 via the pe_exports function from exports.c.. The array offsets_to_Names is dynamically allocated on the stack using exp-\u003eNumberOfFunctions as its size. However, the loop uses exp-\u003eNumberOfNames to iterate over it and set its components value. Therefore, the loop code assumes that exp-\u003eNumberOfFunctions is greater than ordinal at each iteration. This can lead to arbitrary code execution.","status":"published","published":"2023-03-13T18:15:00Z","modified":"2025-10-24T04:50:38Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:54:30.277322Z"}]}}
