CVE-2017-16357

Source
https://nvd.nist.gov/vuln/detail/CVE-2017-16357
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2017-16357.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2017-16357
Downstream
Published
2017-11-01T17:29:00Z
Modified
2025-11-10T15:53:06.096847Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

In radare 2.0.1, a memory corruption vulnerability exists in storeversioninfognuverdef() and storeversioninfognuverneed() in libr/bin/format/elf/elf.c, as demonstrated by an invalid free. This error is due to improper sh_size validation when allocating memory.

References

Affected packages

Git / github.com/radare/radare2

Affected ranges

Type
GIT
Repo
https://github.com/radare/radare2
Events
Introduced
0 Unknown introduced commit / All previous commits are affected

Git / github.com/radareorg/radare2

Affected ranges

Type
GIT
Repo
https://github.com/radareorg/radare2
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

0.*

0.10.0
0.10.1
0.10.2
0.10.3
0.10.4
0.10.4-termux4
0.10.5
0.10.6
0.8.6
0.8.8
0.9
0.9.2
0.9.4
0.9.6
0.9.7
0.9.8
0.9.8-rc1
0.9.8-rc2
0.9.8-rc3
0.9.8-rc4
0.9.9

1.*

1.0
1.0.0
1.0.1
1.0.2
1.1.0
1.2.0
1.2.0-git
1.3.0
1.3.0-git
1.4.0
1.5.0
1.6.0

2.*

2.0.0
2.0.1

Other

radare2-windows-nightly
termux

Database specific

vanir_signatures

[
    {
        "source": "https://github.com/radareorg/radare2/commit/0b973e28166636e0ff1fad80baa0385c9c09c53a",
        "deprecated": false,
        "signature_version": "v1",
        "signature_type": "Line",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "26692998479759459870013215622727912358",
                "288652979355535031639549882948537603259",
                "3782544093117652794349772430380255745",
                "152730329599735831943780152985601448499",
                "294087882619369997535037685605725007832",
                "54527084073341404061289036060863223399",
                "320262521149102359878396703710251788389",
                "123488804540370872185264921454526591900"
            ]
        },
        "target": {
            "file": "libr/bin/format/elf/elf.c"
        },
        "id": "CVE-2017-16357-06d4d10c"
    }
]