Medium
Security advisory
In sam2p 0.49.4, there are integer overflows (with resultant heap-based buffer overflows) in input-bmp.ci in the function ReadImage, because "width * height" multiplications occur unsafely.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2017-16663
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 09:44 UTC · Revision 1
Source evidence
In sam2p 0.49.4, there are integer overflows (with resultant heap-based buffer overflows) in input-bmp.ci in the function ReadImage, because "width * height" multiplications occur unsafely.
osv:CVE-2017-16663
Complete source record
{
"id": "fcce3c1c566b388dbf923287a1dc1c6b369a6a102e228e0a5f3c27d93b82d459",
"url": "https://osv.dev/vulnerability/CVE-2017-16663",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2017-16663",
"summary": "In sam2p 0.49.4, there are integer overflows (with resultant heap-based buffer overflows) in input-bmp.ci in the function ReadImage, because \"width * height\" multiplications occur unsafely.",
"evidence": "osv:CVE-2017-16663",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2017-16663",
"aliases": [
"CVE-2017-16663"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/pts/sam2p",
"type": "GIT",
"events": [
{
"introduced": "02883208a1b6fab503bd367c1acae43133c5ff42"
},
{
"last_affected": "02883208a1b6fab503bd367c1acae43133c5ff42"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:sam2p_project:sam2p:0.49.4:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0.49.4"
},
{
"last_affected": "0.49.4"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"0.49.4",
"v0.49.4"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-16663.json"
}
}
],
"modified": "2026-10-20T10:47:47.216015257Z",
"provider": "osv",
"references": [
"https://lists.debian.org/debian-lts-announce/2017/11/msg00031.html",
"https://github.com/pts/sam2p/issues/16"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2017-16663",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 379710,
"published_at": "2017-11-08T06:29:00.247+00:00"
}