jpegoptim — security advisory
jpegoptim.c in jpegoptim 1.4.5 (fixed in 1.4.6) has an invalid use of realloc() and free(), which allows remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact.
- Products
- jpegoptim
- Affected versions
- 1.3.0-1, 1.3.0-1ubuntu1, 1.4.3-1, 1.4.4-1, 1.4.6-1, 1.4.7-1, 1.4.7-1build1
- Fixed versions
- Not specified
- CVEs
- CVE-2018-11416
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 00:25 UTC · Revision 1
Source evidence
jpegoptim.c in jpegoptim 1.4.5 (fixed in 1.4.6) has an invalid use of realloc() and free(), which allows remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact.
osv:UBUNTU-CVE-2018-11416
jpegoptim
Fixed versions: Not specified
jpegoptim
Fixed versions: Not specified
jpegoptim
Fixed versions: Not specified
jpegoptim
Fixed versions: Not specified
jpegoptim
Fixed versions: Not specified
jpegoptim
Fixed versions: Not specified
jpegoptim
Fixed versions: Not specified
jpegoptim
Fixed versions: Not specified
jpegoptim
Fixed versions: Not specified
Complete source record
{
"id": "4504e52ecf91f09f05692f80ae2cb328db7d2bbd74d5f6c9c9e682483e3799b5",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2018-11416",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2018-11416",
"summary": "jpegoptim.c in jpegoptim 1.4.5 (fixed in 1.4.6) has an invalid use of realloc() and free(), which allows remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact.",
"evidence": "osv:UBUNTU-CVE-2018-11416",
"products": [
{
"name": {
"value": "jpegoptim",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.3.0-1",
"evidence": "/affected/0/versions"
},
{
"value": "1.3.0-1ubuntu1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "jpegoptim",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.4.3-1",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "jpegoptim",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.4.4-1",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "jpegoptim",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.4.6-1",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "jpegoptim",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.4.6-1",
"evidence": "/affected/4/versions"
}
]
},
{
"name": {
"value": "jpegoptim",
"evidence": "/affected/5/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.4.7-1",
"evidence": "/affected/5/versions"
}
]
},
{
"name": {
"value": "jpegoptim",
"evidence": "/affected/6/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.4.7-1",
"evidence": "/affected/6/versions"
}
]
},
{
"name": {
"value": "jpegoptim",
"evidence": "/affected/7/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.4.7-1build1",
"evidence": "/affected/7/versions"
}
]
},
{
"name": {
"value": "jpegoptim",
"evidence": "/affected/8/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.4.7-1",
"evidence": "/affected/8/versions"
},
{
"value": "1.4.7-1build1",
"evidence": "/affected/8/versions"
}
]
}
],
"severity": "high",
"structured": {
"id": "UBUNTU-CVE-2018-11416",
"aliases": [
"UBUNTU-CVE-2018-11416"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
},
{
"type": "Ubuntu",
"score": "low"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "jpegoptim",
"purl": "pkg:deb/ubuntu/jpegoptim?arch=source&distro=trusty",
"ecosystem": "Ubuntu:14.04:LTS"
},
"versions": [
"1.3.0-1",
"1.3.0-1ubuntu1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-11416.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "jpegoptim",
"binary_version": "1.3.0-1ubuntu1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "jpegoptim",
"purl": "pkg:deb/ubuntu/jpegoptim?arch=source&distro=xenial",
"ecosystem": "Ubuntu:16.04:LTS"
},
"versions": [
"1.4.3-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-11416.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "jpegoptim",
"binary_version": "1.4.3-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "jpegoptim",
"purl": "pkg:deb/ubuntu/jpegoptim?arch=source&distro=bionic",
"ecosystem": "Ubuntu:18.04:LTS"
},
"versions": [
"1.4.4-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-11416.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "jpegoptim",
"binary_version": "1.4.4-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "jpegoptim",
"purl": "pkg:deb/ubuntu/jpegoptim?arch=source&distro=focal",
"ecosystem": "Ubuntu:20.04:LTS"
},
"versions": [
"1.4.6-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-11416.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "jpegoptim",
"binary_version": "1.4.6-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "jpegoptim",
"purl": "pkg:deb/ubuntu/jpegoptim?arch=source&distro=jammy",
"ecosystem": "Ubuntu:22.04:LTS"
},
"versions": [
"1.4.6-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-11416.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "jpegoptim",
"binary_version": "1.4.6-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "jpegoptim",
"purl": "pkg:deb/ubuntu/jpegoptim?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"1.4.7-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-11416.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "jpegoptim",
"binary_version": "1.4.7-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "jpegoptim",
"purl": "pkg:deb/ubuntu/jpegoptim?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"1.4.7-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-11416.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "jpegoptim",
"binary_version": "1.4.7-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "jpegoptim",
"purl": "pkg:deb/ubuntu/jpegoptim?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"1.4.7-1build1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-11416.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "jpegoptim",
"binary_version": "1.4.7-1build1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "jpegoptim",
"purl": "pkg:deb/ubuntu/jpegoptim?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"1.4.7-1",
"1.4.7-1build1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-11416.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "jpegoptim",
"binary_version": "1.4.7-1build1"
}
]
}
}
],
"modified": "2026-10-17T12:54:40.291151340Z",
"provider": "osv",
"upstream": [
"CVE-2018-11416"
],
"references": [
"https://ubuntu.com/security/CVE-2018-11416",
"https://github.com/tjko/jpegoptim/blob/master/README",
"https://github.com/tjko/jpegoptim/issues/57",
"https://www.cve.org/CVERecord?id=CVE-2018-11416"
]
},
"related_cves": [
{
"value": "CVE-2018-11416",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 353535,
"published_at": "2018-05-24T20:29:00+00:00"
}