{"id":"CVE-2024-53256","summary":"Rizin has a command injection via RzBinInfo bclass due legacy code","details":"Rizin is a UNIX-like reverse engineering framework and command-line toolset. `rizin.c` still had an old snippet of code which suffered a command injection due the usage of `rz_core_cmdf` to invoke the command `m` which was removed in v0.1.x. A malicious binary defining `bclass` (part of RzBinInfo) is executed if `rclass` (part of RzBinInfo) is set to `fs`; the vulnerability can be exploited by any bin format where `bclass` and `rclass` are user defined. This vulnerability is fixed in 0.7.4.","aliases":["GHSA-5jhc-frm4-p8v9"],"modified":"2026-08-12T15:15:43.061835Z","published":"2024-12-23T15:17:50.587Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-78"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/53xxx/CVE-2024-53256.json"},"references":[{"type":"WEB","url":"https://github.com/rizinorg/rizin/blob/be24ca8879ed9c58f288bdf21c271b6294720da4/librz/main/rizin.c#L1275-L1278"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/53xxx/CVE-2024-53256.json"},{"type":"ADVISORY","url":"https://github.com/rizinorg/rizin/security/advisories/GHSA-5jhc-frm4-p8v9"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-53256"},{"type":"FIX","url":"https://github.com/rizinorg/rizin/commit/db6c5b39c065ce719f587c9815c47fbb834b10fa"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/rizinorg/rizin","events":[{"introduced":"0"},{"fixed":"db6c5b39c065ce719f587c9815c47fbb834b10fa"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"0.7.4"}],"source":["AFFECTED_FIELD","REFERENCES"]}}],"versions":["v0.7.1","v0.7.0"],"database_specific":{"vanir_signatures":[{"source":"https://github.com/rizinorg/rizin/commit/db6c5b39c065ce719f587c9815c47fbb834b10fa","target":{"file":"librz/main/rizin.c"},"deprecated":false,"digest":{"line_hashes":["176666271852239306400846681101879132418","250681000660679485998367055926979244251","134927983197663603695150419731225844746","251063704295113106393899693552418825907","164786856398000612859508854850331196438","307328731553542586228795441788106304174","238116822458271588704292294958200398129"],"threshold":0.9},"id":"CVE-2024-53256-57653183","signature_type":"Line","signature_version":"v1"},{"source":"https://github.com/rizinorg/rizin/commit/db6c5b39c065ce719f587c9815c47fbb834b10fa","target":{"file":"librz/main/rizin.c","function":"rz_main_rizin"},"deprecated":false,"digest":{"function_hash":"283979120332574894122836435802239515964","length":25170},"id":"CVE-2024-53256-9c8dcf97","signature_type":"Function","signature_version":"v1"}],"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-53256.json","vanir_signatures_modified":"2026-08-12T15:15:43Z"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}