{"id":"CVE-2007-1536","aliases":["DEBIAN-CVE-2007-1536","DSA-1274-1","EUVD-2007-1530","GHSA-h28w-vfj4-vh5j","RHSA-2007:0124","openSUSE-SU-2024:10755-1"],"status":"published","title":"Integer underflow in the file_printf function in the \"file\" program before 4.20 allows user...","description":"Integer underflow in the file_printf function in the \"file\" program before 4.20 allows user-assisted attackers to execute arbitrary code via a file that triggers a heap-based buffer overflow.","severity":{"version":"2.0","score":9.3,"vector":"AV:N/AC:M/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.1355,"percentile":0.96483,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"cwes":["CWE-189"],"published":"2007-03-20T20:00:00Z","modified":"2026-10-21T17:47:36Z","exploits":[{"source":"exploitdb","id":"EDB-29753","title":"File(1) 4.13 - Command File_PrintF Integer Underflow","type":"remote","platform":"linux","date":"2007-03-19","verified":true,"url":"https://www.exploit-db.com/exploits/29753"}],"fixes":[{"ecosystem":"Debian:12","package":"file","fixed_in":["4.20-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"file","fixed_in":["4.20-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"file","fixed_in":["4.20-1"],"sources":["osv"]},{"ecosystem":"Debian:3.1","package":"file","fixed_in":["4.12-1sarge1"],"sources":["osv"]},{"ecosystem":"Debian:4.0","package":"file","fixed_in":["4.17-5etch1"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:4::as","package":"file","fixed_in":["0:4.10-3.EL4.5"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:4::as","package":"file-debuginfo","fixed_in":["0:4.10-3.EL4.5"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","package":"file","fixed_in":["0:4.10-3.EL4.5"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","package":"file-debuginfo","fixed_in":["0:4.10-3.EL4.5"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:4::es","package":"file","fixed_in":["0:4.10-3.EL4.5"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:4::es","package":"file-debuginfo","fixed_in":["0:4.10-3.EL4.5"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:4::ws","package":"file","fixed_in":["0:4.10-3.EL4.5"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:4::ws","package":"file-debuginfo","fixed_in":["0:4.10-3.EL4.5"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:5::client","package":"file","fixed_in":["0:4.17-9.el5"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:5::client","package":"file-debuginfo","fixed_in":["0:4.17-9.el5"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:5::server","package":"file","fixed_in":["0:4.17-9.el5"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:5::server","package":"file-debuginfo","fixed_in":["0:4.17-9.el5"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"file","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.20-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"file","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.20-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"file","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.20-1"}]}]},{"source":"osv","ecosystem":"Debian:3.1","package":"file","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.12-1sarge1"}]}],"versions":["4.12-1"]},{"source":"osv","ecosystem":"Debian:4.0","package":"file","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.17-5etch1"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::as","package":"file","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.10-3.EL4.5"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::as","package":"file-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.10-3.EL4.5"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::desktop","package":"file","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.10-3.EL4.5"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::desktop","package":"file-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.10-3.EL4.5"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::es","package":"file","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.10-3.EL4.5"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::es","package":"file-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.10-3.EL4.5"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::ws","package":"file","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.10-3.EL4.5"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::ws","package":"file-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.10-3.EL4.5"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::client","package":"file","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.17-9.el5"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::client","package":"file-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.17-9.el5"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::server","package":"file","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.17-9.el5"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::server","package":"file-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.17-9.el5"}]}]},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"file","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.40-1.14"}]}],"bundled":7}],"products":[{"vendor":"file","product":"file"}],"references":[{"url":"http://secunia.com/advisories/27314","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory"]},{"url":"http://docs.info.apple.com/article.html?artnum=305530","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"http://secunia.com/advisories/25393","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory"]},{"url":"http://secunia.com/advisories/29179","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory"]},{"url":"http://www.vupen.com/english/advisories/2007/1939","tags":["vdb-entry","x_refsource_VUPEN","x_transferred","Vendor Advisory","advisory"]},{"url":"http://www.securityfocus.com/bid/23021","tags":["vdb-entry","x_refsource_BID","x_transferred","web"]},{"url":"http://secunia.com/advisories/24616","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory"]},{"url":"http://www.securitytracker.com/id?1017796","tags":["vdb-entry","x_refsource_SECTRACK","x_transferred","web"]},{"url":"http://openbsd.org/errata40.html#015_file","tags":["vendor-advisory","x_refsource_OPENBSD","x_transferred","web"]},{"url":"http://secunia.com/advisories/27307","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory"]},{"url":"http://mx.gw.com/pipermail/file/2007/000161.html","tags":["mailing-list","x_refsource_MLIST","x_transferred","Patch","fix"]},{"url":"http://www.mandriva.com/security/advisories?name=MDKSA-2007:067","tags":["vendor-advisory","x_refsource_MANDRIVA","x_transferred","advisory"]},{"url":"http://www.securityfocus.com/archive/1/477950/100/0/threaded","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred","web"]},{"url":"http://www.novell.com/linux/security/advisories/2007_5_sr.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","advisory"]},{"url":"http://secunia.com/advisories/24723","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory"]},{"url":"http://secunia.com/advisories/24754","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory"]},{"url":"http://lists.apple.com/archives/security-announce/2007/May/msg00004.html","tags":["vendor-advisory","x_refsource_APPLE","x_transferred","web"]},{"url":"http://secunia.com/advisories/25402","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory"]},{"url":"http://www.redhat.com/support/errata/RHSA-2007-0124.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","Vendor Advisory","advisory"]},{"url":"https://bugs.gentoo.org/show_bug.cgi?id=171452","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"http://secunia.com/advisories/25989","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory"]},{"url":"http://secunia.com/advisories/24604","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10658","tags":["vdb-entry","signature","x_refsource_OVAL","x_transferred","web"]},{"url":"http://www.novell.com/linux/security/advisories/2007_40_file.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","advisory"]},{"url":"http://secunia.com/advisories/25931","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory"]},{"url":"http://www.debian.org/security/2007/dsa-1274","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","advisory"]},{"url":"http://secunia.com/advisories/24617","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/36283","tags":["vdb-entry","x_refsource_XF","x_transferred","web"]},{"url":"http://www.vupen.com/english/advisories/2007/1040","tags":["vdb-entry","x_refsource_VUPEN","x_transferred","Vendor Advisory","advisory"]},{"url":"http://support.avaya.com/elmodocs2/security/ASA-2007-179.htm","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"http://secunia.com/advisories/25133","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory"]},{"url":"http://security.freebsd.org/advisories/FreeBSD-SA-07:04.file.asc","tags":["vendor-advisory","x_refsource_FREEBSD","x_transferred","advisory"]},{"url":"http://www.ubuntu.com/usn/usn-439-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","advisory"]},{"url":"ftp://ftp.netbsd.org/pub/NetBSD/security/advisories/NetBSD-SA2008-001.txt.asc","tags":["vendor-advisory","x_refsource_NETBSD","x_transferred","advisory"]},{"url":"http://www.kb.cert.org/vuls/id/606700","tags":["third-party-advisory","x_refsource_CERT-VN","x_transferred","US Government Resource","web"]},{"url":"http://secunia.com/advisories/24608","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory"]},{"url":"http://www.securityfocus.com/archive/1/477861/100/0/threaded","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred","web"]},{"url":"http://security.gentoo.org/glsa/glsa-200703-26.xml","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","advisory"]},{"url":"http://security.gentoo.org/glsa/glsa-200710-19.xml","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","advisory"]},{"url":"http://secunia.com/advisories/24548","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Patch","Vendor Advisory","advisory","fix"]},{"url":"http://secunia.com/advisories/24592","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory"]},{"url":"https://issues.rpath.com/browse/RPL-1148","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"http://slackware.com/security/viewer.php?l=slackware-security\u0026y=2007\u0026m=slackware-security.512926","tags":["vendor-advisory","x_refsource_SLACKWARE","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2007-1536","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-h28w-vfj4-vh5j"},{"url":"https://security-tracker.debian.org/tracker/CVE-2007-1536","tags":["advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2007:0124","tags":["advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=233337","tags":["report"]},{"url":"https://access.redhat.com/security/updates/classification/#moderate","tags":["article"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=233161","tags":["report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2007/rhsa-2007_0124.json","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2007-1536","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=233164","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2007-1536","tags":["advisory"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2007-1536","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2007-2799","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-1000249","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-10360","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2019-18218","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2019-8904","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2019-8907","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2007-1536","description":"Integer underflow in the file_printf function in the \"file\" program before 4.20 allows user-assisted attackers to execute arbitrary code via a file that triggers a heap-based buffer overflow.","status":"published","published":"2007-03-20T20:00:00Z","modified":"2024-08-07T12:59:08.44Z","updated_at":"2026-11-02T13:33:41.472948Z"}],"euvd":[{"id":"EUVD-2007-1530","description":"Integer underflow in the file_printf function in the \"file\" program before 4.20 allows user-assisted attackers to execute arbitrary code via a file that triggers a heap-based buffer overflow.","status":"published","published":"2007-03-20T20:00:00Z","modified":"2024-08-07T12:59:08Z","updated_at":"2026-11-03T01:38:25.361818Z"}],"ghsa":[{"id":"GHSA-h28w-vfj4-vh5j","title":"Integer underflow in the file_printf function in the \"file\" program before 4.20 allows user...","description":"Integer underflow in the file_printf function in the \"file\" program before 4.20 allows user-assisted attackers to execute arbitrary code via a file that triggers a heap-based buffer overflow.","status":"published","published":"2022-05-03T03:18:06Z","modified":"2023-02-01T05:01:22Z","updated_at":"2026-11-02T14:49:42.752886Z"}],"nvd":[{"id":"CVE-2007-1536","description":"Integer underflow in the file_printf function in the \"file\" program before 4.20 allows user-assisted attackers to execute arbitrary code via a file that triggers a heap-based buffer overflow.","status":"published","published":"2007-03-20T20:19:00Z","modified":"2026-06-16T22:37:46.87Z","cvss":[{"version":"2.0","score":9.3,"vector":"AV:N/AC:M/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary"}],"cwes":["CWE-189"],"updated_at":"2026-11-02T14:01:13.98711Z"}],"osv":[{"id":"CVE-2007-1536","description":"Integer underflow in the file_printf function in the \"file\" program before 4.20 allows user-assisted attackers to execute arbitrary code via a file that triggers a heap-based buffer overflow.","status":"published","published":"2007-03-20T20:19:00Z","modified":"2026-04-10T03:38:45.093344Z","updated_at":"2026-11-02T15:43:56.865964Z"},{"id":"DEBIAN-CVE-2007-1536","description":"Integer underflow in the file_printf function in the \"file\" program before 4.20 allows user-assisted attackers to execute arbitrary code via a file that triggers a heap-based buffer overflow.","status":"published","published":"2007-03-20T20:19:00Z","modified":"2026-10-21T17:47:36.025510506Z","updated_at":"2026-11-02T15:45:23.105674Z"},{"id":"DSA-1274-1","title":"file - buffer overflow","status":"published","published":"2007-04-02T00:00:00Z","modified":"2026-03-09T01:01:11.016079Z","updated_at":"2026-11-02T15:46:14.285228Z"},{"id":"openSUSE-SU-2024:10755-1","title":"file-5.40-1.14 on GA media","description":"These are all security issues fixed in the file-5.40-1.14 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T02:44:55.810237Z","updated_at":"2026-11-02T16:58:34.487567Z"},{"id":"RHSA-2007:0124","title":"Red Hat Security Advisory: file security update","status":"published","published":"2024-09-15T16:37:05Z","modified":"2026-06-26T10:05:53Z","updated_at":"2026-11-02T15:52:59.70892Z"}]}}
