CVE-2016-5104

Source
https://nvd.nist.gov/vuln/detail/CVE-2016-5104
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2016-5104.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2016-5104
Downstream
Related
Published
2016-06-13T14:59:08Z
Modified
2025-10-18T08:36:48.315605Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N CVSS Calculator
Summary
[none]
Details

The socket_create function in common/socket.c in libimobiledevice and libusbmuxd allows remote attackers to bypass intended access restrictions and communicate with services on iOS devices by connecting to an IPv4 TCP socket.

References

Affected packages

Git / github.com/libimobiledevice/libimobiledevice

Affected ranges

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

Affected versions

0.*

0.9.0
0.9.1
0.9.2
0.9.3
0.9.4
0.9.5
0.9.6
0.9.7

1.*

1.0.0
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.2.0

Database specific

vanir_signatures

[
    {
        "digest": {
            "length": 381.0,
            "function_hash": "223227762218740381546236436231339953424"
        },
        "target": {
            "file": "common/socket.c",
            "function": "socket_accept"
        },
        "deprecated": false,
        "id": "CVE-2016-5104-0b34d219",
        "signature_version": "v1",
        "source": "https://github.com/libimobiledevice/libimobiledevice/commit/df1f5c4d70d0c19ad40072f5246ca457e7f9849e",
        "signature_type": "Function"
    },
    {
        "digest": {
            "line_hashes": [
                "275643151166302349810472022840261964543",
                "105265269734791624689809604482401513936",
                "173739618565877628694836254607531225877",
                "259035628592790214567187436227432747798",
                "317135530018679773566625740995765424989",
                "136895671501312672497746562487745663119",
                "138589304419312984673149195511634798580",
                "70553262767019701130621632544616767841"
            ],
            "threshold": 0.9
        },
        "target": {
            "file": "common/socket.c"
        },
        "deprecated": false,
        "id": "CVE-2016-5104-5b6c18ac",
        "signature_version": "v1",
        "source": "https://github.com/libimobiledevice/libimobiledevice/commit/df1f5c4d70d0c19ad40072f5246ca457e7f9849e",
        "signature_type": "Line"
    },
    {
        "digest": {
            "length": 970.0,
            "function_hash": "187151911723170418934941065368462817934"
        },
        "target": {
            "file": "common/socket.c",
            "function": "socket_create"
        },
        "deprecated": false,
        "id": "CVE-2016-5104-f90f0101",
        "signature_version": "v1",
        "source": "https://github.com/libimobiledevice/libimobiledevice/commit/df1f5c4d70d0c19ad40072f5246ca457e7f9849e",
        "signature_type": "Function"
    }
]

Git / github.com/libimobiledevice/libusbmuxd

Affected ranges

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

Affected versions

1.*

1.0.10
1.0.9

Database specific

vanir_signatures

[
    {
        "digest": {
            "length": 1163.0,
            "function_hash": "140393950915423373818402424906255544444"
        },
        "target": {
            "file": "common/socket.c",
            "function": "socket_create"
        },
        "deprecated": false,
        "id": "CVE-2016-5104-1a758fee",
        "signature_version": "v1",
        "source": "https://github.com/libimobiledevice/libusbmuxd/commit/4397b3376dc4e4cb1c991d0aed61ce6482614196",
        "signature_type": "Function"
    },
    {
        "digest": {
            "length": 381.0,
            "function_hash": "223227762218740381546236436231339953424"
        },
        "target": {
            "file": "common/socket.c",
            "function": "socket_accept"
        },
        "deprecated": false,
        "id": "CVE-2016-5104-6ff2ddc7",
        "signature_version": "v1",
        "source": "https://github.com/libimobiledevice/libusbmuxd/commit/4397b3376dc4e4cb1c991d0aed61ce6482614196",
        "signature_type": "Function"
    },
    {
        "digest": {
            "line_hashes": [
                "90987712388113087796451535517335473532",
                "105265269734791624689809604482401513936",
                "173739618565877628694836254607531225877",
                "259035628592790214567187436227432747798",
                "317135530018679773566625740995765424989",
                "136895671501312672497746562487745663119",
                "138589304419312984673149195511634798580",
                "70553262767019701130621632544616767841"
            ],
            "threshold": 0.9
        },
        "target": {
            "file": "common/socket.c"
        },
        "deprecated": false,
        "id": "CVE-2016-5104-afd83fa4",
        "signature_version": "v1",
        "source": "https://github.com/libimobiledevice/libusbmuxd/commit/4397b3376dc4e4cb1c991d0aed61ce6482614196",
        "signature_type": "Line"
    }
]