Keith C. Clark, 58, a retired career intelligence officer for the Central Intelligence Agency and the coauthor of books dealing with national security and the Middle East, died of cancer Saturday at his Washington home.

A CIA veteran of 28 years and a specialist in Middle Eastern affairs, Mr. Clark was stationed in Lebanon and Egypt in the 1950s. He also was national intelligence officer for Western Europe. Before retiring last year and receiving the Distinghished Intelligence Medal, he represented the CIA on the faculty of the Naval War College for two years.

He was the author, with Laurence J. Lagere, of "The President and the Management of National Security," published by Praeger in 1969 under the auspices of the Institute for Defense Analyses. Since retiring, he coauthored "Studies of Saudi Arabia and Libya" for the Department of Energy.

Mr. Clark was born in Eugene, Ore. He earned bachelor's and master's degrees from Yale University. He served in the Army Signal Corps in World War II and was stationed in Japan after the war.

He was an historian and archivist for the Ford Motor Co. in Detroit before beginning his career in intelligence.

He was a yachtsman and a member of the Power Squadron and the Maryland Capital Yacht Club and a member of the Cosmos Club.

Survivors include his wife, Cynthia Landry Clark, of Washington; two sons, Thomas C., of Durham, N.C., and Charles S., of Alexandria; a daughter, Martha Clark Dabney of Albuquerque, N.M.; a sister, Beverley Clark Beairsto of Eugene, and two grandchildren.