CVE-2016-5104

Source
https://cve.org/CVERecord?id=CVE-2016-5104
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-5104.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2016-5104
Downstream
Related
Published
2016-06-13T14:59:08.290Z
Modified
2026-07-08T12:41:35.927776Z
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.

Database specific
{
    "unresolved_ranges": [
        {
            "cpes": [
                "cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*",
                "cpe:2.3:o:canonical:ubuntu_linux:15.10:*:*:*:*:*:*:*",
                "cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*"
            ],
            "vendor_product": "canonical:ubuntu_linux",
            "extracted_events": [
                {
                    "introduced": "14.04"
                },
                {
                    "last_affected": "14.04"
                },
                {
                    "introduced": "15.10"
                },
                {
                    "last_affected": "15.10"
                },
                {
                    "introduced": "16.04"
                },
                {
                    "last_affected": "16.04"
                }
            ],
            "source": "CPE_STRING"
        },
        {
            "cpes": [
                "cpe:2.3:o:opensuse:leap:42.1:*:*:*:*:*:*:*"
            ],
            "vendor_product": "opensuse:leap",
            "extracted_events": [
                {
                    "introduced": "42.1"
                },
                {
                    "last_affected": "42.1"
                }
            ],
            "source": "CPE_STRING"
        },
        {
            "cpes": [
                "cpe:2.3:o:opensuse:opensuse:13.2:*:*:*:*:*:*:*"
            ],
            "vendor_product": "opensuse:opensuse",
            "extracted_events": [
                {
                    "introduced": "13.2"
                },
                {
                    "last_affected": "13.2"
                }
            ],
            "source": "CPE_STRING"
        }
    ]
}
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
Last affected
Fixed
Database specific
{
    "cpe": "cpe:2.3:a:libimobiledevice:libimobiledevice:*:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "last_affected": "1.2.0"
        }
    ],
    "source": [
        "CPE_RANGE",
        "REFERENCES"
    ]
}

Affected versions

0.*
0.9.0
0.9.1
0.9.4
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": {
            "function_hash": "223227762218740381546236436231339953424",
            "length": 381.0
        },
        "target": {
            "function": "socket_accept",
            "file": "common/socket.c"
        },
        "id": "CVE-2016-5104-0b34d219",
        "signature_version": "v1",
        "signature_type": "Function",
        "source": "https://github.com/libimobiledevice/libimobiledevice/commit/df1f5c4d70d0c19ad40072f5246ca457e7f9849e",
        "deprecated": false
    },
    {
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "275643151166302349810472022840261964543",
                "105265269734791624689809604482401513936",
                "173739618565877628694836254607531225877",
                "259035628592790214567187436227432747798",
                "317135530018679773566625740995765424989",
                "136895671501312672497746562487745663119",
                "138589304419312984673149195511634798580",
                "70553262767019701130621632544616767841"
            ]
        },
        "target": {
            "file": "common/socket.c"
        },
        "id": "CVE-2016-5104-5b6c18ac",
        "signature_version": "v1",
        "signature_type": "Line",
        "source": "https://github.com/libimobiledevice/libimobiledevice/commit/df1f5c4d70d0c19ad40072f5246ca457e7f9849e",
        "deprecated": false
    },
    {
        "digest": {
            "function_hash": "187151911723170418934941065368462817934",
            "length": 970.0
        },
        "target": {
            "function": "socket_create",
            "file": "common/socket.c"
        },
        "id": "CVE-2016-5104-f90f0101",
        "signature_version": "v1",
        "signature_type": "Function",
        "source": "https://github.com/libimobiledevice/libimobiledevice/commit/df1f5c4d70d0c19ad40072f5246ca457e7f9849e",
        "deprecated": false
    }
]
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-5104.json"
vanir_signatures_modified
"2026-07-08T12:41:35Z"

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
Last affected
Fixed
Database specific
{
    "cpe": "cpe:2.3:a:libimobiledevice:libusbmuxd:*:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "last_affected": "1.0.10"
        }
    ],
    "source": [
        "CPE_RANGE",
        "REFERENCES"
    ]
}

Affected versions

1.*
1.0.10
1.0.9

Database specific

vanir_signatures
[
    {
        "digest": {
            "function_hash": "140393950915423373818402424906255544444",
            "length": 1163.0
        },
        "target": {
            "function": "socket_create",
            "file": "common/socket.c"
        },
        "id": "CVE-2016-5104-1a758fee",
        "signature_version": "v1",
        "signature_type": "Function",
        "source": "https://github.com/libimobiledevice/libusbmuxd/commit/4397b3376dc4e4cb1c991d0aed61ce6482614196",
        "deprecated": false
    },
    {
        "digest": {
            "function_hash": "223227762218740381546236436231339953424",
            "length": 381.0
        },
        "target": {
            "function": "socket_accept",
            "file": "common/socket.c"
        },
        "id": "CVE-2016-5104-6ff2ddc7",
        "signature_version": "v1",
        "signature_type": "Function",
        "source": "https://github.com/libimobiledevice/libusbmuxd/commit/4397b3376dc4e4cb1c991d0aed61ce6482614196",
        "deprecated": false
    },
    {
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "90987712388113087796451535517335473532",
                "105265269734791624689809604482401513936",
                "173739618565877628694836254607531225877",
                "259035628592790214567187436227432747798",
                "317135530018679773566625740995765424989",
                "136895671501312672497746562487745663119",
                "138589304419312984673149195511634798580",
                "70553262767019701130621632544616767841"
            ]
        },
        "target": {
            "file": "common/socket.c"
        },
        "id": "CVE-2016-5104-afd83fa4",
        "signature_version": "v1",
        "signature_type": "Line",
        "source": "https://github.com/libimobiledevice/libusbmuxd/commit/4397b3376dc4e4cb1c991d0aed61ce6482614196",
        "deprecated": false
    }
]
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-5104.json"
vanir_signatures_modified
"2026-07-08T12:41:35Z"