{"id":153472,"date":"2026-01-09T11:12:29","date_gmt":"2026-01-09T09:12:29","guid":{"rendered":"https:\/\/prohoster.info\/blog\/novosti-interneta\/vosstanovlen-kod-unixv4-pervoj-os-s-yadrom-na-yazyke-c-uyazvimost-v-unixv4"},"modified":"2026-01-09T11:12:29","modified_gmt":"2026-01-09T09:12:29","slug":"vosstanovlen-kod-unixv4-pervoj-os-s-yadrom-na-yazyke-c-uyazvimost-v-unixv4","status":"publish","type":"post","link":"https:\/\/prohoster.info\/en\/blog\/news\/vosstanovlen-kod-unixv4-pervoj-os-s-yadrom-na-yazyke-c-uyazvimost-v-unixv4","title":{"rendered":"The UNIXv4 code, the first OS with a kernel written in C, has been restored. Vulnerability in UNIXv4.","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>At the end of last year, during maintenance at the University of Utah's data center, an archived magnetic tape containing the UNIXv4 operating system code was discovered. This system was developed in 1973 for the PDP-11\/45 and was considered lost. UNIXv4 continued the evolution of the UNIXv3 operating system, released a year earlier, which was the first to implement the C programming language and unnamed pipes. A unique feature of UNIXv4 was the rewriting of the kernel from assembly language to C. The UNIXv4 kernel code was written by Ken Thompson, while the drivers were created by Dennis Ritchie.      <\/p>\n<p>At the end of December 2025, museum staff specializing in the history of computing managed to find the necessary equipment and extract the preserved archive from the tape. The readtape toolkit was used to digitize the recorded analog signal, and efforts developed during the recovery of the Emacs editor archive by James Gosling were employed to decode the archive format.         <\/p>\n<p>In addition to the UNIXv4 code, the tape also contained the source texts of one of the first compilers for the C language and the SNOBOL language interpreter. Later, the UNIXv4 code was tidied up and published on GitHub in a form suitable for building and running in a PDP-11 simulator. The UNIXv4 code comprises 61,000 lines, with 27,000 in C, 33,000 in assembly for the PDP-11, and about 1,000 in header files.     <center><img decoding=\"async\" alt=\"The UNIXv4 code, the first OS with a kernel written in C, has been restored. Vulnerability in UNIXv4.\" src=\"\/wp-content\/uploads\/2026\/01\/f20da03c94b8a3a772fc39a048875f05.png\" style=\"display:block;margin: 0 auto;\" \/><\/center>      <\/p>\n<p>One of the security researchers noted the 'su' utility that was included in UNIXv4. This utility consisted of fewer than 50 lines of code, was installed with the setuid-root flag, and allowed the execution of \/bin\/sh with root privileges upon entering the correct password. The code contained a vulnerability that led to a buffer overflow due to copying the user-input password into a fixed 100-character array without checking the size of the input data.      <\/p>\n<p>The identified issue was commented on by 93-year-old Douglas McIlroy, who was part of the original Unix development team at Bell Labs, suggesting the concept of unnamed pipes and creating utilities such as echo, spell, diff, sort, join, and tr. According to Douglas, before the Morris worm in 1988, very few people paid attention to buffer overflows. Adding checks for the size of manually entered data was seen as adding unnecessary code, and crashing upon overflow was viewed as an awkward form of handling incorrect input. Over time, overflows occurring from processing automatically generated strings began to be fixed, but for manual input, the logic was at the level of 'who would need to manually enter too long strings?'.<br \/>\n<br \/>Source: <a content=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/www.opennet.ru\/opennews\/art.shtml?num=64498\">opennet.ru<\/a> <\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u0412 \u043a\u043e\u043d\u0446\u0435 \u043f\u0440\u043e\u0448\u043b\u043e\u0433\u043e \u0433\u043e\u0434\u0430 \u0432\u043e \u0432\u0440\u0435\u043c\u044f \u0443\u0431\u043e\u0440\u043a\u0438 \u0432 \u0432\u044b\u0447\u0438\u0441\u043b\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u043c \u0446\u0435\u043d\u0442\u0440\u0435 \u0423\u043d\u0438\u0432\u0435\u0440\u0441\u0438\u0442\u0435\u0442\u0430 \u042e\u0442\u044b \u0431\u044b\u043b\u0430 \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0435\u043d\u0430 \u0430\u0440\u0445\u0438\u0432\u043d\u0430\u044f \u043c\u0430\u0433\u043d\u0438\u0442\u043d\u0430\u044f \u043b\u0435\u043d\u0442\u0430 \u0441 \u043a\u043e\u0434\u043e\u043c \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b UNIXv4, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0431\u044b\u043b\u0430 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0430\u043d\u0430 \u0432 1973 \u0433\u043e\u0434\u0443 \u0434\u043b\u044f \u042d\u0412\u041c PDP-11\/45 \u0438 \u0441\u0447\u0438\u0442\u0430\u043b\u0430\u0441\u044c \u0443\u0442\u0435\u0440\u044f\u043d\u043d\u043e\u0439. UNIXv4 \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0430\u043b \u0440\u0430\u0437\u0432\u0438\u0442\u0438\u0435 \u0432\u044b\u043f\u0443\u0449\u0435\u043d\u043d\u043e\u0439 \u0437\u0430 \u0433\u043e\u0434 \u0434\u043e \u044d\u0442\u043e\u0433\u043e \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b UNIXv3, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0432\u043f\u0435\u0440\u0432\u044b\u0435 \u0431\u044b\u043b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d \u044f\u0437\u044b\u043a \u0421\u0438 \u0438 \u043d\u0435\u0438\u043c\u0435\u043d\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u043a\u0430\u043d\u0430\u043b\u044b. [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":153473,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[702],"tags":[],"class_list":["post-153472","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.1.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u0412 \u043a\u043e\u043d\u0446\u0435 \u043f\u0440\u043e\u0448\u043b\u043e\u0433\u043e \u0433\u043e\u0434\u0430 \u0432\u043e \u0432\u0440\u0435\u043c\u044f \u0443\u0431\u043e\u0440\u043a\u0438 \u0432 \u0432\u044b\u0447\u0438\u0441\u043b\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u043c \u0446\u0435\u043d\u0442\u0440\u0435 \u0423\u043d\u0438\u0432\u0435\u0440\u0441\u0438\u0442\u0435\u0442\u0430 \u042e\u0442\u044b \u0431\u044b\u043b\u0430 \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0435\u043d\u0430 \u0430\u0440\u0445\u0438\u0432\u043d\u0430\u044f \u043c\u0430\u0433\u043d\u0438\u0442\u043d\u0430\u044f \u043b\u0435\u043d\u0442\u0430 \u0441 \u043a\u043e\u0434\u043e\u043c \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b UNIXv4, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0431\u044b\u043b\u0430 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0430\u043d\u0430 \u0432 1973 \u0433\u043e\u0434\u0443 \u0434\u043b\u044f \u042d\u0412\u041c PDP-11\/45 \u0438.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Yuri Gagarin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/en\/blog\/news\/vosstanovlen-kod-unixv4-pervoj-os-s-yadrom-na-yazyke-c-uyazvimost-v-unixv4\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.1.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47\u0412\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d \u043a\u043e\u0434 UNIXv4, \u043f\u0435\u0440\u0432\u043e\u0439 \u041e\u0421 \u0441 \u044f\u0434\u0440\u043e\u043c \u043d\u0430 \u044f\u0437\u044b\u043a\u0435 C. \u0423\u044f\u0437\u0432\u0438\u043c\u043e\u0441\u0442\u044c \u0432 UNIXv4 | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u0412 \u043a\u043e\u043d\u0446\u0435 \u043f\u0440\u043e\u0448\u043b\u043e\u0433\u043e \u0433\u043e\u0434\u0430 \u0432\u043e \u0432\u0440\u0435\u043c\u044f \u0443\u0431\u043e\u0440\u043a\u0438 \u0432 \u0432\u044b\u0447\u0438\u0441\u043b\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u043c \u0446\u0435\u043d\u0442\u0440\u0435 \u0423\u043d\u0438\u0432\u0435\u0440\u0441\u0438\u0442\u0435\u0442\u0430 \u042e\u0442\u044b \u0431\u044b\u043b\u0430 \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0435\u043d\u0430 \u0430\u0440\u0445\u0438\u0432\u043d\u0430\u044f \u043c\u0430\u0433\u043d\u0438\u0442\u043d\u0430\u044f \u043b\u0435\u043d\u0442\u0430 \u0441 \u043a\u043e\u0434\u043e\u043c \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b UNIXv4, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0431\u044b\u043b\u0430 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0430\u043d\u0430 \u0432 1973 \u0433\u043e\u0434\u0443 \u0434\u043b\u044f \u042d\u0412\u041c PDP-11\/45 \u0438.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/en\/blog\/news\/vosstanovlen-kod-unixv4-pervoj-os-s-yadrom-na-yazyke-c-uyazvimost-v-unixv4\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2026-01-09T09:12:29+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2026-01-09T09:12:29+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47The code for UNIXv4, the first OS with a kernel written in C, has been restored. Vulnerability in UNIXv4 | ProHoster","description":"At the end of last year, during cleaning at the University of Utah's computing center, an archival magnetic tape containing the code for the UNIXv4 operating system, developed in 1973 for the PDP-11\/45 computer, was discovered.","canonical_url":"https:\/\/prohoster.info\/en\/blog\/news\/vosstanovlen-kod-unixv4-pervoj-os-s-yadrom-na-yazyke-c-uyazvimost-v-unixv4","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"en_US","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47\u0412\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d \u043a\u043e\u0434 UNIXv4, \u043f\u0435\u0440\u0432\u043e\u0439 \u041e\u0421 \u0441 \u044f\u0434\u0440\u043e\u043c \u043d\u0430 \u044f\u0437\u044b\u043a\u0435 C. \u0423\u044f\u0437\u0432\u0438\u043c\u043e\u0441\u0442\u044c \u0432 UNIXv4 | ProHoster","og:description":"\u0412 \u043a\u043e\u043d\u0446\u0435 \u043f\u0440\u043e\u0448\u043b\u043e\u0433\u043e \u0433\u043e\u0434\u0430 \u0432\u043e \u0432\u0440\u0435\u043c\u044f \u0443\u0431\u043e\u0440\u043a\u0438 \u0432 \u0432\u044b\u0447\u0438\u0441\u043b\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u043c \u0446\u0435\u043d\u0442\u0440\u0435 \u0423\u043d\u0438\u0432\u0435\u0440\u0441\u0438\u0442\u0435\u0442\u0430 \u042e\u0442\u044b \u0431\u044b\u043b\u0430 \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0435\u043d\u0430 \u0430\u0440\u0445\u0438\u0432\u043d\u0430\u044f \u043c\u0430\u0433\u043d\u0438\u0442\u043d\u0430\u044f \u043b\u0435\u043d\u0442\u0430 \u0441 \u043a\u043e\u0434\u043e\u043c \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b UNIXv4, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0431\u044b\u043b\u0430 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0430\u043d\u0430 \u0432 1973 \u0433\u043e\u0434\u0443 \u0434\u043b\u044f \u042d\u0412\u041c PDP-11\/45 \u0438.","og:url":"https:\/\/prohoster.info\/en\/blog\/news\/vosstanovlen-kod-unixv4-pervoj-os-s-yadrom-na-yazyke-c-uyazvimost-v-unixv4","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2026-01-09T09:12:29+00:00","article:modified_time":"2026-01-09T09:12:29+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"153472","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"seo_analyzer_scan_date":"2026-01-20 14:07:19","breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"ai":null,"created":"2026-01-20 14:07:19","updated":"2026-01-20 14:07:19","focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/posts\/153472","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/comments?post=153472"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/posts\/153472\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/media\/153473"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/media?parent=153472"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/categories?post=153472"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/tags?post=153472"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}