{"id":"CVE-2021-33454","aliases":["AZL-10324","AZL-35364","DEBIAN-CVE-2021-33454","EUVD-2021-20158","GHSA-xc6r-vpp5-48cq","JLSEC-2026-584","OESA-2025-1526","ROOT-OS-ALPINE-318-CVE-2021-33454","UBUNTU-CVE-2021-33454"],"status":"published","title":"An issue was discovered in yasm version 1.3.0. There is a NULL pointer dereference in...","description":"An issue was discovered in yasm version 1.3.0. There is a NULL pointer dereference in yasm_expr_get_intnum() in libyasm/expr.c.","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-11","score":0.00338,"percentile":0.27508,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-476"],"published":"2022-07-26T12:36:29Z","modified":"2026-11-05T05:40:51Z","fixes":[{"ecosystem":"Azure Linux:2","package":"yasm","fixed_in":["1.3.0-15"],"sources":["osv"]},{"ecosystem":"Azure Linux:3","package":"yasm","fixed_in":["1.3.0-15"],"sources":["osv"]},{"ecosystem":"Root:Alpine:3.18","package":"yasm","fixed_in":["1.3.0-r40071","1.3.0-r40073","1.3.0-r40072","1.3.0-r40074","1.3.0-r40075"],"sources":["osv"]},{"ecosystem":"Root:Alpine:3.18","package":"rootio-yasm","fixed_in":["1.3.0-r40071","1.3.0-r40073","1.3.0-r40072","1.3.0-r40074","1.3.0-r40075"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Azure Linux:2","package":"yasm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.0-15"}]}]},{"source":"osv","ecosystem":"Azure Linux:3","package":"yasm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.0-15"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"yasm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3.0-4","1.3.0-5","1.3.0-6","1.3.0-7","1.3.0-8"]},{"source":"osv","ecosystem":"Debian:13","package":"yasm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3.0-7","1.3.0-8"]},{"source":"osv","ecosystem":"Debian:14","package":"yasm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3.0-7","1.3.0-8"]},{"source":"osv","ecosystem":"Julia","package":"YASM_jll","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}]},{"source":"osv","ecosystem":"openEuler:24.03-LTS-SP1","package":"yasm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.0-13.oe2403sp1"}]}],"bundled":3},{"source":"osv","ecosystem":"openEuler:20.03-LTS-SP4","package":"yasm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.0-13.oe2003sp4"}]}],"bundled":3},{"source":"osv","ecosystem":"openEuler:22.03-LTS-SP3","package":"yasm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.0-13.oe2203sp3"}]}],"bundled":3},{"source":"osv","ecosystem":"openEuler:22.03-LTS-SP4","package":"yasm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.0-13.oe2203sp4"}]}],"bundled":3},{"source":"osv","ecosystem":"openEuler:24.03-LTS","package":"yasm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.0-13.oe2403"}]}],"bundled":3},{"source":"osv","ecosystem":"Root:Alpine:3.18","package":"yasm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.0-r40071"},{"fixed":"1.3.0-r40073"},{"fixed":"1.3.0-r40072"},{"fixed":"1.3.0-r40074"},{"fixed":"1.3.0-r40075"}]}]},{"source":"osv","ecosystem":"Root:Alpine:3.18","package":"rootio-yasm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.0-r40071"},{"fixed":"1.3.0-r40073"},{"fixed":"1.3.0-r40072"},{"fixed":"1.3.0-r40074"},{"fixed":"1.3.0-r40075"}]}]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"yasm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3.0-2"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"yasm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3.0-2","1.3.0-2build1"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"yasm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3.0-2build1","1.3.0-2ubuntu1"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"yasm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3.0-2.1"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"yasm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3.0-4"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"yasm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3.0-5","1.3.0-7"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"yasm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3.0-8"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"yasm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3.0-7","1.3.0-8"]}],"products":[{"vendor":"tortall","product":"yasm"}],"references":[{"url":"https://github.com/yasm/yasm/issues/166","tags":["x_refsource_MISC","x_transferred","Exploit","Issue Tracking","Patch","Third Party Advisory","fix","web","report"]},{"url":"https://gist.github.com/Clingto/bb632c0c463f4b2c97e4f65f751c5e6d","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","web","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-33454","tags":["web","advisory"]},{"url":"https://github.com/advisories/GHSA-xc6r-vpp5-48cq"},{"url":"https://security-tracker.debian.org/tracker/CVE-2021-33454","tags":["advisory"]},{"url":"https://www.openeuler.org/zh/security/security-bulletins/detail/?id=openEuler-SA-2025-1526","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-33464","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-29579","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2021-33454","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-33454","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2021-33454","description":"An issue was discovered in yasm version 1.3.0. There is a NULL pointer dereference in yasm_expr_get_intnum() in libyasm/expr.c.","status":"published","published":"2022-07-26T12:36:29Z","modified":"2024-08-03T23:50:42.061Z","updated_at":"2026-11-02T14:33:10.555814Z"}],"euvd":[{"id":"EUVD-2021-20158","description":"An issue was discovered in yasm version 1.3.0. There is a NULL pointer dereference in yasm_expr_get_intnum() in libyasm/expr.c.","status":"published","published":"2022-07-26T12:36:29Z","modified":"2024-08-03T23:50:42Z","updated_at":"2026-11-03T03:24:34.304953Z"}],"ghsa":[{"id":"GHSA-xc6r-vpp5-48cq","title":"An issue was discovered in yasm version 1.3.0. There is a NULL pointer dereference in...","description":"An issue was discovered in yasm version 1.3.0. There is a NULL pointer dereference in yasm_expr_get_intnum() in libyasm/expr.c.","status":"published","published":"2022-07-27T00:00:46Z","modified":"2023-01-27T05:07:07Z","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-476"],"updated_at":"2026-11-02T14:43:03.385033Z"}],"nvd":[{"id":"CVE-2021-33454","description":"An issue was discovered in yasm version 1.3.0. There is a NULL pointer dereference in yasm_expr_get_intnum() in libyasm/expr.c.","status":"published","published":"2022-07-26T13:15:09.297Z","modified":"2026-06-17T03:54:34.85Z","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-476"],"updated_at":"2026-11-02T14:07:06.501652Z"}],"osv":[{"id":"AZL-10324","title":"CVE-2021-33454 affecting package yasm for versions less than 1.3.0-15","description":"An issue was discovered in yasm version 1.3.0. There is a NULL pointer dereference in yasm_expr_get_intnum() in libyasm/expr.c.","status":"published","published":"2022-07-26T13:15:09Z","modified":"2026-04-21T04:18:45.155103Z","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:28:00.794214Z"},{"id":"AZL-35364","title":"CVE-2021-33454 affecting package yasm for versions less than 1.3.0-15","description":"An issue was discovered in yasm version 1.3.0. There is a NULL pointer dereference in yasm_expr_get_intnum() in libyasm/expr.c.","status":"published","published":"2022-07-26T13:15:09Z","modified":"2026-11-05T05:40:51Z","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-05T16:41:19.554273Z"},{"id":"CVE-2021-33454","description":"An issue was discovered in yasm version 1.3.0. There is a NULL pointer dereference in yasm_expr_get_intnum() in libyasm/expr.c.","status":"published","published":"2022-07-26T13:15:09.297Z","modified":"2026-10-20T10:54:43.907873059Z","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:19.793849Z"},{"id":"DEBIAN-CVE-2021-33454","description":"An issue was discovered in yasm version 1.3.0. There is a NULL pointer dereference in yasm_expr_get_intnum() in libyasm/expr.c.","status":"published","published":"2022-07-26T13:15:09.297Z","modified":"2026-10-23T18:03:14.734943874Z","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.233346Z"},{"id":"JLSEC-2026-584","description":"An issue was discovered in yasm version 1.3.0. There is a NULL pointer dereference in `yasm_expr_get_intnum()` in `libyasm/expr.c`.","status":"published","published":"2026-06-08T13:43:52.905Z","modified":"2026-07-25T18:24:39.737499473Z","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:47:18.573531Z"},{"id":"OESA-2025-1526","title":"yasm security update","description":"Yasm is a complete rewrite of the NASM assembler under the “new” BSD License.\r\n\r\nSecurity Fix(es):\n\nAn issue was discovered in yasm version 1.3.0. There is a NULL pointer dereference in yasm_expr_get_intnum() in libyasm/expr.c.(CVE-2021-33454)\n\nAn issue was discovered in yasm version 1.3.0. There is a heap-buffer-overflow in inc_fopen() in modules/preprocs/nasm/nasm-pp.c.(CVE-2021-33464)\n\nyasm 1.3.0.55.g101bc was discovered to contain a stack overflow via the component yasm/yasm+0x43b466 in vsprintf. Note: This has been disputed by third parties who argue this is a bug and not a security issue because yasm is a standalone program not designed to run untrusted code.(CVE-2023-29579)","status":"published","published":"2025-05-16T11:08:37Z","modified":"2026-08-18T01:17:57.812371565Z","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:52:42.714349Z"},{"id":"UBUNTU-CVE-2021-33454","description":"An issue was discovered in yasm version 1.3.0. There is a NULL pointer dereference in yasm_expr_get_intnum() in libyasm/expr.c.","status":"published","published":"2022-07-26T13:15:00Z","modified":"2026-10-17T12:56:19.945925787Z","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:27.870979Z"},{"id":"ROOT-OS-ALPINE-318-CVE-2021-33454","title":"CVE-2021-33454 in yasm - Patched by Root","description":"Root has patched CVE-2021-33454 in the yasm package for Root:Alpine:3.18. Multiple fixed versions available.","status":"published","published":"2026-09-29T10:56:33Z","modified":"2026-09-29T11:15:08.302844368Z","updated_at":"2026-11-02T15:53:28.259095Z"}]}}
