MGASA-2016-0396

    Dashboard / Vulnerabilities / MGASA-2016-0396

    MGASA-2016-0396

    Published: 23 Nov 2016Last Modified: 16 Apr 2026
    Upstream:

    Summary: Updated flex packages fix security vulnerability

    Details: It was found that flex incorrectly resized the num_to_read variable in yy_get_next_buffer. The buffer is resized if this value is less or equal to zero. With special crafted input it is possible, that the buffer is not resized if the input is larger than the default buffer size of 16k. This allows a heap buffer overflow. It may be possible to exploit this remotely, depending on the application that is built using flex (CVE-2016-6354). Note that any affected applications would need to be rebuilt with the updated flex to fully fix this issue.

    Affected packages

    Package

    Name: flex

    Purl: pkg:rpm/mageia/flex?arch=source&distro=mageia-5

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -2.5.39-3.1.mga5

    Affected versions

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    MGASA-2016-0396 | CVE-DB