{"schemaVersion":3,"id":"CVE-2023-39742","aliases":["ALPINE-CVE-2023-39742","MGASA-2023-0278","UBUNTU-CVE-2023-39742","DEBIAN-CVE-2023-39742"],"status":"published","duplicateOf":null,"title":null,"description":"giflib v5.2.1 was discovered to contain a segmentation fault via the component getarg.c.","dates":{"published":"2023-08-25T00:00:00.000Z","modified":"2024-10-02T16:35:30.415Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.5,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"OSV · Alpine","score":5.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","exploitability":4.6,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":5.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","exploitability":4.6,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":5.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","exploitability":4.6,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00346,"percentile":0.26723,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00346},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00346,"percentile":0.26723}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00346,"percentile":0.26723}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_F705D293FEB1DD6D","name":"Exploit Reference (sourceforge.net)","source":"reference","url":"https://sourceforge.net/p/giflib/bugs/166/","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-120","name":"Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')","description":"The product copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/120.html"}],"affected":[{"vendor":"alpine","product":"giflib","name":"giflib","label":"giflib","ecosystem":"Alpine Linux","cpePart":null,"purl":"pkg:apk/alpine/giflib","purlType":"apk","versions":[{"text":"< 5.2.2-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.2.2-r0","eol":null,"hubHref":null},{"vendor":"debian","product":"giflib","name":"giflib","label":"giflib","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/giflib","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"giflib","name":"giflib","label":"giflib","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/giflib","purlType":"deb","versions":[{"text":"< 5.1.4-0.3~16.04.1+esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 5.1.4-2ubuntu0.1+esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 5.1.9-1ubuntu0.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.1.4-0.3~16.04.1+esm1 | < 5.1.4-2ubuntu0.1+esm1 | < 5.1.9-1ubuntu0.1","eol":null,"hubHref":null},{"vendor":"giflib_project","product":"giflib","name":"giflib","label":"giflib","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"5.2.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"5.2.1","eol":null,"hubHref":"/vendor/giflib_project/giflib"},{"vendor":"mageia","product":"giflib","name":"giflib","label":"giflib","ecosystem":"Mageia","cpePart":null,"purl":"pkg:rpm/mageia/giflib","purlType":"rpm","versions":[{"text":"< 5.2.1-5.2.mga8","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.2.1-5.2.mga8","eol":null,"hubHref":null},{"vendor":"mageia","product":"giflib","name":"giflib","label":"giflib","ecosystem":"Mageia","cpePart":null,"purl":"pkg:rpm/mageia/giflib","purlType":"rpm","versions":[{"text":"< 5.2.1-7.1.mga9","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.2.1-7.1.mga9","eol":null,"hubHref":null}],"affectedCount":6,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://sourceforge.net/p/giflib/bugs/166/","label":"sourceforge.net/p/giflib/bugs/166/","hostname":"sourceforge.net","tags":["Exploit","Issue Tracking"]},{"url":"https://gist.github.com/huanglei3/ec9090096aa92445cf0a8baa8e929084","label":"gist.github.com/huanglei3/ec9090096aa92445cf0a8baa8e929084","hostname":"gist.github.com","tags":["REPORT","Third Party Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/O4RLSFGPBPR3FMIUJCWPGVIYIU35YGQX/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/T5WO6WL2TCGO6T4VKGACDIVSZI74WJAU/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OPNBOB65TEA4ZEPLVENI26BY4LEX7TEF/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory"]},{"url":"https://security.alpinelinux.org/vuln/CVE-2023-39742","label":"security.alpinelinux.org/vuln/CVE-2023-39742","hostname":"security.alpinelinux.org","tags":["Advisory"]},{"url":"https://advisories.mageia.org/MGASA-2023-0278.html","label":"advisories.mageia.org/MGASA-2023-0278.html","hostname":"advisories.mageia.org","tags":["Advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=32303","label":"bugs.mageia.org/show_bug.cgi?id=32303","hostname":"bugs.mageia.org","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-39742","label":"www.cve.org/CVERecord?id=CVE-2023-39742","hostname":"www.cve.org","tags":["Advisory","REPORT"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/O4RLSFGPBPR3FMIUJCWPGVIYIU35YGQX/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["WEB"]},{"url":"https://ubuntu.com/security/CVE-2023-39742","label":"ubuntu.com/security/CVE-2023-39742","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-6824-1","label":"ubuntu.com/security/notices/USN-6824-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2023-39742","label":"security-tracker.debian.org/tracker/CVE-2023-39742","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-39742","label":"nvd.nist.gov/vuln/detail/CVE-2023-39742","hostname":"nvd.nist.gov","tags":["Oval","Advisory"]}],"lineage":{"upstream":[],"downstream":["SUSE-SU-2024:2607-1","SUSE-SU-2026:1005-1","USN-6824-1"],"duplicates":[],"related":["SUSE-SU-2024:2607-1","SUSE-SU-2026:1005-1","USN-6824-1"]},"timeline":[{"kind":"published","date":"2023-08-25T00:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-10-02T16:35:30.415Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":32,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T23:28:12.138Z","stale":false,"partial":false}}