Skip to content
OpenAdvisories
Unscored SUSE-SU-2020:1864-1 12 CVEs

Security update for nasm

Published Jul 7, 2020 · Updated Feb 4, 2026

Summary

nasm was updated to version 2.14.02:

* Fix crash due to multiple errors or warnings during the code generation pass if a list file is specified.
* Create all system-defined macros defore processing command-line given preprocessing directives (-p, -d, -u, --pragma, --before).
* If debugging is enabled, define a __DEBUG_FORMAT__ predefined macro. See section 4.11.7.
* Fix an assert for the case in the obj format when a SEG operator refers to an EXTERN symbol declared further down in the code.
* Fix a corner case in the floating-point code where a binary, octal or hexadecimal floating-point having at least 32, 11, or 8 mantissa digits could produce slightly incorrect results under very specific conditions.
* Support -MD without a filename, for gcc compatibility. -MF can be used to set the dependencies output filename. See section 2.1.7.
* Fix -E in combination with -MD. See section 2.1.21.
* Fix missing errors on redefined labels; would cause convergence failure instead which is very slow and not easy to debug.
* Duplicate definitions of the same label with the same value is now explicitly permitted (2.14 would allow it in some circumstances.)
* Add the option --no-line to ignore %line directives in the source. See section 2.1.33 and section 4.10.1.
* Changed -I option semantics by adding a trailing path separator unconditionally.
* Fixed null dereference in corrupted invalid single line macros.
* Fixed division by zero which may happen if source code is malformed.
* Fixed out of bound access in processing of malformed segment override.
* Fixed out of bound access in certain EQU parsing.
* Fixed buffer underflow in float parsing.
* Added SGX (Intel Software Guard Extensions) instructions.
* Added +n syntax for multiple contiguous registers.
* Fixed subsections_via_symbols for macho object format.
* Added the --gprefix, --gpostfix, --lprefix, and --lpostfix command line options, to allow command line base symbol renaming. See section 2.1.28.
* Allow label renaming to be specified by %pragma in addition to from the command line. See section 6.9.
* Supported generic %pragma namespaces, output and debug. See section 6.10.
* Added the --pragma command line option to inject a %pragma directive. See section 2.1.29.
* Added the --before command line option to accept preprocess statement before input. See section 2.1.30.
* Added AVX512 VBMI2 (Additional Bit Manipulation), VNNI (Vector Neural Network), BITALG (Bit Algorithm), and GFNI (Galois Field New Instruction) instructions.
* Added the STATIC directive for local symbols that should be renamed using global-symbol rules. See section 6.8.
* Allow a symbol to be defined as EXTERN and then later overridden as GLOBAL or COMMON. Furthermore, a symbol declared EXTERN and then defined will be treated as GLOBAL. See section 6.5.
* The GLOBAL directive no longer is required to precede the definition of the symbol.
* Support private_extern as macho specific extension to the GLOBAL directive. See section 7.8.5.
* Updated UD0 encoding to match with the specification
* Added the --limit-X command line option to set execution limits. See section 2.1.31.
* Updated the Codeview version number to be aligned with MASM.
* Added the --keep-all command line option to preserve output files. See section 2.1.32.
* Added the --include command line option, an alias to -P (section 2.1.18).
* Added the --help command line option as an alias to -h (section 3.1).
* Added -W, -D, and -Q suffix aliases for RET instructions so the operand sizes of these instructions can be encoded without using o16, o32 or o64.

New upstream version 2.13.03:

* Add flags: AES, VAES, VPCLMULQDQ
* Add VPCLMULQDQ instruction
* elf: Add missing dwarf loc section
* documentation updates

nasm was updated to new upstream version 2.13.02:

* Fix generation of PEXTRW instruction.
* Fix smartalign package which could trigger an error during
optimization if the alignment code expanded too much due to
optimization of the previous code.
* Fix a case where negative value in TIMES directive causes
panic instead of an error.
* Fix the incorrect generation of VEX-encoded instruction
when static mode decorators are specified on scalar instructions,
losing the decorators as they require EVEX encoding.
* Fix generation of dependency lists.
* Fixes macro calls that have the wrong number of arguments
(bsc#1073796, CVE-2017-17810)
* Fixes Heap-based buffer overflow allows related to a strcpy
in paste_tokens (bsc#1073798, CVE-2017-17811)
* Fixes Heap-based buffer over-read in the function detoken()
(bsc#1073799, CVE-2017-17812)
* Fixes Use-after-free in the pp_list_one_macro function
(bsc#1073803, CVE-2017-17813)
* Fixes Use-after-free in do_directive
(bsc#1073808, CVE-2017-17814)
* Fixes Illegal address access in is_mmacro()
(bsc#1073818, CVE-2017-17815)
* Fixes Use-after-free in pp_getline
(bsc#1073823, CVE-2017-17816)
* Fixes Use-after-free in pp_verror
(bsc#1073829, CVE-2017-17817)
* Fixes Heap-based buffer over-read related to a while loop in
paste_tokens (bsc#1073830, CVE-2017-17818)
* Fixes Illegal address access in the function find_cc
(bsc#1073832, CVE-2017-17819)
* Fixes Use-after-free in pp_list_one_macro
(bsc#1073846, CVE-2017-17820)
* Fixes illegal address access in thefunction paste_tokens()
(bsc#1058013, CVE-2017-14228)

nasm was updated to version 2.13.01:

* Fix incorrect output for some types of FAR or SEG references in
the obj output format, and possibly other 16-bit output formats.
* Fix the address in the list file for an instruction containing
a TIMES directive.
* Fix error with TIMES used together with an instruction which
can vary in size, e.g. JMP.
* Fix breakage on some uses of the DZ pseudo-op.

nasm was updated to version 2.13.00:

* Support the official forms of the UD0 and UD1 instructions.
* Allow self-segment-relative expressions in immediates and
displacements
* Handle a 64-bit origin in NDISASM.
* NASM can now generate sparse output files for

Fixed packages 1

ReleasePackageFixed in
SUSE · SLES 12 SP5 Linux Enterprise Software Development Kit 12 SP5 nasm 2.14.02-4.8.1

Vulnerabilities 12

  • Unscored —

    In Netwide Assembler (NASM) 2.14rc0, there is an illegal address access in the function paste_tokens() in preproc.c, ak…

  • Unscored —

    In Netwide Assembler (NASM) 2.14rc0, there is a "SEGV on unknown address" that will cause a remote denial of service at…

  • Unscored —

    In Netwide Assembler (NASM) 2.14rc0, there is a heap-based buffer overflow that will cause a remote denial of service a…

  • Unscored —

    In Netwide Assembler (NASM) 2.14rc0, there is a heap-based buffer over-read in the function detoken() in asm/preproc.c …

  • Unscored —

    In Netwide Assembler (NASM) 2.14rc0, there is a use-after-free in the pp_list_one_macro function in asm/preproc.c that …

  • Unscored —

    In Netwide Assembler (NASM) 2.14rc0, there is a use-after-free in do_directive in asm/preproc.c that will cause a remot…

  • Unscored —

    In Netwide Assembler (NASM) 2.14rc0, there is an illegal address access in is_mmacro() in asm/preproc.c that will cause…

  • Unscored —

    In Netwide Assembler (NASM) 2.14rc0, there is a use-after-free in pp_getline in asm/preproc.c that will cause a remote …

  • Unscored —

    In Netwide Assembler (NASM) 2.14rc0, there is a use-after-free in pp_verror in asm/preproc.c that will cause a remote d…

  • Unscored —

    In Netwide Assembler (NASM) 2.14rc0, there is a heap-based buffer over-read that will cause a remote denial of service …

  • Unscored —

    In Netwide Assembler (NASM) 2.14rc0, there is an illegal address access in the function find_cc() in asm/preproc.c that…

  • Unscored —

    In Netwide Assembler (NASM) 2.14rc0, there is a use-after-free in pp_list_one_macro in asm/preproc.c that will lead to …

References

  • report
    https://bugzilla.suse.com/1058013
  • report
    https://bugzilla.suse.com/1073796
  • report
    https://bugzilla.suse.com/1073798
  • report
    https://bugzilla.suse.com/1073799
  • report
    https://bugzilla.suse.com/1073803
  • report
    https://bugzilla.suse.com/1073808
  • report
    https://bugzilla.suse.com/1073818
  • report
    https://bugzilla.suse.com/1073823
  • report
    https://bugzilla.suse.com/1073829
  • report
    https://bugzilla.suse.com/1073830
  • report
    https://bugzilla.suse.com/1073832
  • report
    https://bugzilla.suse.com/1073846
  • report
    https://bugzilla.suse.com/1084631
  • web
    https://www.suse.com/security/cve/CVE-2017-14228
  • web
    https://www.suse.com/security/cve/CVE-2017-17810
  • web
    https://www.suse.com/security/cve/CVE-2017-17811
  • web
    https://www.suse.com/security/cve/CVE-2017-17812
  • web
    https://www.suse.com/security/cve/CVE-2017-17813
  • web
    https://www.suse.com/security/cve/CVE-2017-17814
  • web
    https://www.suse.com/security/cve/CVE-2017-17815
  • web
    https://www.suse.com/security/cve/CVE-2017-17816
  • web
    https://www.suse.com/security/cve/CVE-2017-17817
  • web
    https://www.suse.com/security/cve/CVE-2017-17818
  • web
    https://www.suse.com/security/cve/CVE-2017-17819
  • web
    https://www.suse.com/security/cve/CVE-2017-17820